:root {
    --bg-deep: #040815;
    --bg-ocean: #110f1b;
    --bg-violet: #21182c;
    --panel: rgba(9, 13, 24, 0.84);
    --panel-strong: rgba(6, 9, 18, 0.94);
    --panel-soft: rgba(17, 20, 34, 0.78);
    --gold: #c8a061;
    --gold-bright: #f2e4c0;
    --moon: #fbf7f0;
    --moon-blue: #f0ece4;
    --ivory: #f7f0e3;
    --interlude-blue: #8d7aa4;
    --violet-light: #a286bb;
    --text: #f6f1e8;
    --muted: #ddd4c4;
    --border: rgba(225, 214, 194, 0.38);
    --border-soft: rgba(234, 224, 208, 0.24);
    --border-strong: rgba(244, 237, 227, 0.42);
    --border-highlight: rgba(255, 248, 236, 0.18);
    --border-inner: rgba(247, 241, 232, 0.08);
    --unified-type-color: var(--gold-bright);
    --unified-type-shadow: 0 0 18px rgba(216, 180, 108, 0.08);
    --danger-bg: rgba(109, 32, 46, 0.72);
    --danger-border: rgba(255, 146, 164, 0.55);
    --danger-text: #ffd6dc;
    --success-bg: rgba(31, 84, 71, 0.74);
    --success-border: rgba(160, 237, 195, 0.4);
    --success-text: #ddf8e9;
    --shadow: 0 26px 60px rgba(2, 7, 18, 0.48);
    --glow: 0 0 22px rgba(255, 248, 236, 0.08), 0 0 30px rgba(216, 180, 108, 0.08), 0 0 28px rgba(162, 134, 187, 0.08);
    --hero-glow: 0 0 20px rgba(255, 247, 236, 0.2), 0 0 28px rgba(216, 180, 108, 0.18), 0 0 24px rgba(162, 134, 187, 0.14);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --header-max: 100%;
    --page-max: 1120px;
    --frame-pad-x: 8px;
    --page-top-gap: 28px;
    --page-panel-gap: 22px;
    --page-panel-pad-y: 34px;
    --page-panel-pad-x: 38px;
    --page-module-pad-y: 18px;
    --page-module-pad-x: 18px;
    --compact-column-width: 180px;
    --header-pill-width: 128px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    color: var(--text);
    font: 400 16px/1.65 "Segoe UI", Tahoma, sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(224, 212, 181, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 0%, rgba(162, 134, 187, 0.08) 0%, transparent 34%),
        linear-gradient(135deg, #02040a 0%, var(--bg-deep) 34%, var(--bg-ocean) 68%, var(--bg-violet) 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -3;
    min-width: 100vw;
    min-height: 100vh;
    background:
        url("../../../Images/wall2.bmp") center top / cover no-repeat;
    opacity: 1;
    filter: brightness(1.06) saturate(0.9);
}

body.page-index::before {
    background:
        #050608 url("images/bg/game_loop_fullhd_poster.jpg") center 64% / cover no-repeat !important;
}

/*
 * Keep one extra viewport below the landing controls so the animated scene
 * and its characters can be viewed unobstructed.  This is deliberately a
 * minimum rather than a generated feed: the home page has one bounded scroll
 * distance on desktop and mobile, while all other pages keep their normal
 * height and sticky navigation.
 */
body.page-index {
    min-height: 200vh;
    min-height: 200svh;
}

body.page-index .site-header {
    position: relative;
}

body.page-index .site-main {
    padding-top: 12px;
    padding-bottom: 12px;
    background: none;
}

body.page-index .page-shell {
    width: auto;
    max-width: var(--page-max);
    min-height: auto;
    padding-top: 12px;
}

body.page-index .site-footer {
    position: relative;
    z-index: 2;
}

.page-index-video-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    background: #050608 url("images/bg/game_loop_fullhd_poster.jpg") center 64% / cover no-repeat;
}

.page-index-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 64%;
    filter: brightness(0.96) saturate(0.96);
}

body::after {
    z-index: -2;
    min-width: 100vw;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(5, 8, 15, 0.1) 0%, rgba(7, 10, 18, 0.22) 24%, rgba(7, 10, 17, 0.44) 100%);
}

.site-vignette {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 48%, rgba(4, 5, 9, 0.08) 78%, rgba(2, 3, 6, 0.34) 100%);
}

a {
    color: var(--moon-blue);
}

a:hover {
    color: #fff6dd;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(7, 7, 11, 0.88) 0%, rgba(14, 12, 18, 0.82) 62%, rgba(19, 16, 25, 0.68) 100%);
    border-bottom: 1px solid rgba(231, 213, 176, 0.14);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px) saturate(1.02);
    -webkit-backdrop-filter: blur(4px) saturate(1.02);
}

.site-header::before,
.site-header::after {
    content: none;
}

.site-header__inner {
    position: relative;
    max-width: var(--header-max);
    width: 100%;
    margin: 0 auto;
    padding: 10px var(--frame-pad-x);
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header__brand-spacer {
    display: none;
}

.site-header__brand {
    flex: 0 0 var(--compact-column-width);
    justify-self: start;
    align-self: center;
}

.site-header__inner::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 14%, rgba(231, 213, 176, 0.18) 50%, rgba(255, 255, 255, 0.06) 86%, transparent 100%);
    pointer-events: none;
}

.site-header__inner::after {
    content: none;
}

.site-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    justify-self: start;
    align-self: center;
    padding: 4px;
    border-radius: 26px;
    border: 1px solid rgba(226, 214, 193, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(246, 239, 227, 0.04) 18%, rgba(163, 137, 187, 0.03) 54%, rgba(20, 16, 28, 0.08) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.08),
        0 6px 14px rgba(1, 4, 12, 0.04);
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
    text-decoration: none;
    color: var(--text);
}

.site-brand__logo {
    display: block;
    width: clamp(86px, 7.4vw, 104px);
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(180deg, rgba(244, 238, 229, 0.12) 0%, rgba(22, 17, 27, 0.08) 100%),
        url("../../../Images/lineage-logo-ref.png") center / contain no-repeat;
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 14px rgba(255, 250, 241, 0.08),
        0 0 18px rgba(216, 180, 108, 0.06);
}

.page-shell h1,
.page-shell h2,
.page-shell h3 {
    font-family: "BeaufortforLOL", "Times New Roman", serif;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.08em;
}

.site-nav {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--header-nav-count, 8), minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    width: auto;
    margin: 0;
}

.site-nav__brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--compact-column-width);
    height: calc(var(--compact-column-width) * 0.574);
    margin-right: 0;
    padding: 10px 14px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(244, 237, 226, 0.08) 18%, rgba(162, 134, 187, 0.05) 52%, rgba(22, 17, 28, 0.14) 100%);
    box-shadow:
        inset 0 1px 0 var(--border-highlight);
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        filter 0.25s ease;
}

.site-nav__brand:hover,
.site-nav__brand:focus-visible {
    border-color: rgba(246, 240, 231, 0.58);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(247, 240, 229, 0.12) 18%, rgba(179, 151, 199, 0.08) 52%, rgba(22, 17, 28, 0.16) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.22),
        inset 0 0 20px rgba(255, 244, 229, 0.08);
    outline: none;
}

.site-nav__brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(var(--compact-column-width) - 34px);
    height: calc((var(--compact-column-width) - 34px) * 0.532);
    max-width: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.48));
    transition: filter 0.25s ease;
}

.site-nav__brand:hover .site-nav__brand-logo,
.site-nav__brand:focus-visible .site-nav__brand-logo {
    filter:
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.52));
}

/* === SEGA-style shine sweep (local test) — to roll back, delete this block
   and the two matching blocks below marked "sega-shine" === */
.site-nav__brand::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: calc(var(--compact-column-width) - 34px);
    height: calc((var(--compact-column-width) - 34px) * 0.532);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 44%,
        rgba(255, 248, 228, 0.35) 47%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 248, 228, 0.35) 53%,
        rgba(255, 255, 255, 0) 56%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-position: 100% 0;
    -webkit-mask-image: url("../../../Images/l2codex-nav-logo.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("../../../Images/l2codex-nav-logo.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    animation: brand-logo-shine 4.4s linear infinite;
}

@keyframes brand-logo-shine {
    0% {
        background-position: 100% 0;
    }
    22% {
        background-position: 0% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* sega-shine */
    .site-nav__brand::after {
        animation: none;
        opacity: 0;
    }
}

.site-nav__link,
.page-shell button,
.page-shell .button-link,
.page-shell .login-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 194px;
    padding: 0 32px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(244, 237, 226, 0.08) 18%, rgba(162, 134, 187, 0.05) 52%, rgba(22, 17, 28, 0.14) 100%);
    color: var(--ivory);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.86rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(236, 244, 255, 0.1);
    box-shadow:
        inset 0 1px 0 var(--border-highlight);
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        filter 0.25s ease;
}

.site-nav__link::before,
.page-shell button::before,
.page-shell .button-link::before,
.page-shell .login-links a::before {
    content: none;
}

.site-nav__link {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.86rem;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.site-nav__link--cabinet {
    width: 100%;
    min-width: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 1;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.site-nav__link--disabled {
    color: rgba(240, 232, 220, 0.58);
    border-color: rgba(214, 190, 150, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(244, 237, 226, 0.04) 18%, rgba(90, 78, 100, 0.08) 52%, rgba(16, 13, 20, 0.28) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.08);
    filter: brightness(0.82) saturate(0.8);
    cursor: default;
    pointer-events: none;
}

.site-nav__link::after,
.page-shell button::after,
.page-shell .button-link::after,
.page-shell .login-links a::after {
    content: none;
}

.site-nav__link:hover,
.page-shell button:hover,
.page-shell .button-link:hover,
.page-shell .login-links a:hover,
.site-nav__link.is-active {
    color: #fffdf8;
    border-color: var(--border-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(247, 240, 229, 0.12) 18%, rgba(179, 152, 200, 0.08) 54%, rgba(28, 20, 34, 0.16) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.22),
        inset 0 0 20px rgba(255, 244, 229, 0.12),
        inset 0 0 28px rgba(162, 134, 187, 0.08);
    filter: brightness(1.03);
}

.site-nav__link.is-active {
    border-color: rgba(246, 240, 231, 0.56);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(247, 242, 234, 0.22) 22%, rgba(224, 219, 210, 0.18) 54%, rgba(150, 148, 155, 0.14) 76%, rgba(31, 25, 34, 0.24) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.3),
        inset 0 0 0 1px rgba(236, 230, 220, 0.2),
        inset 0 0 22px rgba(244, 237, 227, 0.12),
        inset 0 0 32px rgba(195, 202, 214, 0.1);
}

.site-nav__link:focus-visible,
.page-shell button:focus-visible,
.page-shell .button-link:focus-visible,
.page-shell .login-links a:focus-visible {
    outline: none;
    border-color: var(--border-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.24),
        inset 0 0 18px rgba(244, 237, 227, 0.12);
}

.site-main {
    flex: 1 0 auto;
    padding: 28px 18px 44px;
}

.page-shell {
    max-width: var(--page-max);
    margin: 0 auto;
    padding-top: var(--page-top-gap);
    display: grid;
    gap: var(--page-panel-gap);
}

.page-shell h1,
.page-shell h2,
.page-shell h3 {
    margin-top: 0;
    text-shadow: 0 0 18px rgba(216, 180, 108, 0.08);
}

.page-shell p,
.page-shell li,
.page-shell label,
.page-shell td,
.page-shell th {
    color: var(--muted);
}

.page-shell .welcome-box,
.page-shell .server-info-box,
.page-shell .banner,
.page-shell .content-container,
.page-shell .login-container,
.page-shell .register-container,
.page-shell .account-container,
.page-shell .files-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(11, 15, 28, 0.34) 0%, rgba(8, 10, 18, 0.44) 100%);
    box-shadow: var(--shadow), var(--glow);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.page-shell .welcome-box::before,
.page-shell .server-info-box::before,
.page-shell .banner::before,
.page-shell .content-container::before,
.page-shell .login-container::before,
.page-shell .register-container::before,
.page-shell .account-container::before,
.page-shell .files-container::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-xl) - 1px);
    border: 1px solid var(--border-inner);
    pointer-events: none;
}

.page-shell .welcome-box::after,
.page-shell .banner::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(242, 223, 177, 0.08) 0%, rgba(181, 148, 91, 0.03) 26%, transparent 70%);
    pointer-events: none;
}

.page-shell .welcome-box,
.page-shell .banner {
    max-width: 980px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
    text-align: center;
}

.page-shell .welcome-box h1,
.page-shell .banner h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 14px;
}

.page-shell .welcome-box p,
.page-shell .banner p {
    font-size: 1.03rem;
    max-width: 740px;
    margin: 0 auto;
}

.page-shell .server-info-box {
    max-width: 980px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
    text-align: center;
}

.page-shell .content-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
}

.page-shell .files-container {
    max-width: 620px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
}

.files-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 0;
}

.files-head h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.files-head__eyebrow {
    margin: 0 0 8px;
    color: rgba(227, 216, 191, 0.76);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.files-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.page-shell .file-download-btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        inset 0 0 18px rgba(216, 180, 108, 0.15),
        inset 0 0 28px rgba(122, 96, 148, 0.12);
}

.page-shell .file-download-btn:hover,
.page-shell .file-download-btn:focus-visible {
    border-color: rgba(244, 229, 193, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.26),
        inset 0 0 24px rgba(232, 196, 120, 0.22),
        inset 0 0 36px rgba(122, 96, 148, 0.16);
}

.page-shell .content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.page-shell .content-container h3 {
    margin: 24px 0 12px;
    font-size: 1.18rem;
    color: #ead7a8;
}

.page-shell .content-container ul {
    padding: 0;
    list-style: none;
}

.page-shell .content-container li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.page-shell .content-container li::before {
    content: "";
    position: relative;
    top: 0.62em;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: rgba(216, 180, 108, 0.82);
    box-shadow: 0 0 10px rgba(216, 180, 108, 0.18);
}

.page-shell .content-container li img {
    max-width: 100%;
    min-width: 0;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Animation clips must occupy only the space left by the list marker.
   This keeps the native 1020:694 aspect ratio on desktop while scaling
   down cleanly inside every narrower content panel or phone viewport. */
.page-shell .content-container li .about-loop {
    display: block;
    flex: 1 1 0;
    width: 100%;
    max-width: 1020px;
    min-width: 0;
    height: auto;
    aspect-ratio: 1020 / 694;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 8px;
}

.page-shell .login-container,
.page-shell .register-container {
    max-width: 620px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
}

.page-register .page-shell .register-container,
.page-login .page-shell .login-container {
    background:
        linear-gradient(180deg, rgba(11, 15, 28, 0.24) 0%, rgba(8, 10, 18, 0.34) 100%);
}

.page-shell .account-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
}

.page-shell .login-container h2,
.page-shell .register-container h2,
.page-shell .account-container h2 {
    margin-bottom: 22px;
    font-size: 1.7rem;
}

.page-shell .register-container h2 {
    white-space: nowrap;
}

.page-shell .login-form,
.page-shell .register-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-shell .form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.page-shell .form-field--compact {
    gap: 6px;
}

.page-shell .login-form button,
.page-shell .register-form button {
    width: 100%;
}

.page-shell .login-form .password-toggle,
.page-shell .register-form .password-toggle,
.page-shell .account-form .password-toggle,
.page-shell .account-form-inline .password-toggle {
    width: auto;
    flex: 0 0 auto;
}

.page-shell .account-form {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 200px;
    gap: 12px;
    align-items: start;
    margin-bottom: 22px;
}

.page-shell .account-form-inline {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 200px;
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
}

.page-shell .account-form > .form-field,
.page-shell .account-form-inline > .form-field {
    margin-bottom: 0;
}

.page-shell .account-form .create-btn,
.page-shell .account-form-inline .change-btn,
.page-shell .account-form-inline .forgot-btn {
    width: 100%;
    min-width: 0;
}

.page-shell .account-form .create-btn {
    align-self: start;
}

.page-shell .account-form-inline .change-btn {
    grid-column: 3;
    align-self: start;
}

.page-shell .account-form-inline--action-only {
    margin-top: 3px;
}

.page-shell .account-form-inline--action-only .forgot-btn {
    grid-column: 3;
    align-self: start;
}

.page-shell .login-form label,
.page-shell .register-form label {
    margin-bottom: -4px;
}

.page-shell label {
    text-align: left;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.82);
}

.page-shell .form-label--sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-shell input[type="text"],
.page-shell input[type="password"],
.page-shell input[type="email"],
.page-shell input[type="number"],
.page-shell select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    background:
        linear-gradient(180deg, rgba(9, 14, 27, 0.94) 0%, rgba(11, 18, 33, 0.8) 100%);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.page-shell input:-webkit-autofill,
.page-shell input:-webkit-autofill:hover,
.page-shell input:-webkit-autofill:focus,
.page-shell input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow:
        0 0 0 1000px rgba(10, 16, 29, 0.96) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0 0 1000px rgba(10, 16, 29, 0.96) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background-color 9999s ease-out 0s;
    caret-color: var(--text);
}

.page-shell .field-shell {
    position: relative;
    min-width: 0;
}

.page-shell .field-shell input,
.page-shell .field-shell select {
    margin: 0;
}

.page-shell .password-field input[type="password"],
.page-shell .password-field input[type="text"] {
    padding-right: 108px;
}

.page-shell input::placeholder {
    color: rgba(213, 205, 188, 0.48);
}

.page-shell input:focus,
.page-shell select:focus {
    outline: none;
    border-color: rgba(242, 223, 177, 0.78);
    background:
        linear-gradient(180deg, rgba(14, 18, 28, 0.98) 0%, rgba(24, 21, 30, 0.88) 100%);
    box-shadow:
        0 0 0 1px rgba(233, 224, 209, 0.2),
        0 0 18px rgba(216, 180, 108, 0.14),
        0 0 22px rgba(244, 237, 227, 0.1);
}

.page-shell button {
    min-width: 132px;
    min-height: 48px;
    padding: 0 24px;
}

.page-shell .password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    line-height: 1;
    z-index: 2;
    white-space: nowrap;
}

.page-shell .login-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.page-shell .login-links a {
    width: 100%;
    min-width: 0;
}

.page-shell .login-form-module {
    display: grid;
    gap: 0;
}

.page-shell .button-link {
    text-decoration: none;
}

.page-shell .field-error {
    min-height: 18px;
    padding: 0 2px;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: rgba(255, 207, 214, 0.92);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.page-shell .form-field.has-error .field-error {
    opacity: 1;
    transform: translateY(0);
}

.page-shell .form-field.has-error input,
.page-shell .form-field.has-error select {
    border-color: rgba(255, 173, 187, 0.72);
    box-shadow:
        0 0 0 1px rgba(157, 42, 61, 0.18),
        inset 0 0 18px rgba(109, 32, 46, 0.16);
}

.page-shell .logout-btn {
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        inset 0 0 18px rgba(146, 22, 36, 0.16),
        inset 0 0 28px rgba(93, 10, 20, 0.12);
}

.page-shell .logout-btn:hover,
.page-shell .logout-btn:focus-visible {
    border-color: rgba(255, 204, 210, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 238, 240, 0.24),
        inset 0 0 24px rgba(154, 24, 39, 0.24),
        inset 0 0 36px rgba(93, 10, 20, 0.18);
}

.page-shell .coin-btn {
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        inset 0 0 18px rgba(216, 180, 108, 0.15),
        inset 0 0 28px rgba(184, 143, 70, 0.11);
}

.page-shell .coin-btn:hover,
.page-shell .coin-btn:focus-visible {
    border-color: rgba(244, 229, 193, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.26),
        inset 0 0 24px rgba(232, 196, 120, 0.22),
        inset 0 0 36px rgba(184, 143, 70, 0.16);
}

.page-shell .create-btn {
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        inset 0 0 18px rgba(84, 164, 112, 0.14),
        inset 0 0 28px rgba(34, 106, 61, 0.1);
}

.page-shell .create-btn:hover,
.page-shell .create-btn:focus-visible {
    border-color: rgba(196, 239, 205, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(248, 255, 246, 0.24),
        inset 0 0 22px rgba(98, 184, 126, 0.18),
        inset 0 0 34px rgba(34, 106, 61, 0.14);
}

.page-shell .error-msg,
.page-shell .success-msg {
    padding: 13px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    border: 1px solid;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.page-shell .error-msg {
    background: var(--danger-bg);
    border-color: var(--danger-border);
    color: var(--danger-text);
}

.page-shell .success-msg {
    background: var(--success-bg);
    border-color: var(--success-border);
    color: var(--success-text);
}

.page-shell .error-msg.fade-out,
.page-shell .success-msg.fade-out {
    opacity: 0;
}

.page-shell .account-form-head {
    display: grid;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.page-shell .account-form-head--primary {
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 200px;
}

.page-shell .account-form-head--inline {
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 200px;
}

.page-shell .account-form-head span {
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.7);
}

.page-shell .account-form-head__cell {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    white-space: nowrap;
}

.page-shell .account-form-head__cell strong {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.page-shell .account-form-head__cell small {
    margin-left: auto;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
    text-align: right;
    color: rgba(232, 222, 203, 0.72);
}

.page-shell .account-form-head__spacer {
    visibility: hidden;
}

.page-shell .account-action-group {
    display: grid;
    gap: 6px;
}

.page-shell .account-entry-title {
    margin-bottom: 6px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(226, 214, 193, 0.24);
    background:
        linear-gradient(180deg, rgba(9, 14, 27, 0.54) 0%, rgba(8, 11, 21, 0.68) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.06),
        inset 0 0 24px rgba(162, 134, 187, 0.05);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.88rem;
    line-height: 1.35;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 0 10px rgba(255, 244, 229, 0.08);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-shell .account-entry-title--welcome {
    margin-bottom: 0;
    padding: 14px 18px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-align: center;
}

.page-shell .register-entry-title {
    margin-bottom: 22px;
    white-space: nowrap;
    text-align: center;
}

.page-shell .account-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 18px;
    padding-right: 18px;
}

.page-shell .account-topbar__action,
.page-shell .logout-btn {
    width: 200px;
    min-width: 200px;
    white-space: nowrap;
}

.page-shell .account-topbar__action {
    justify-self: end;
}

.page-shell .account-action-group--primary {
    margin-bottom: 20px;
    padding: var(--page-module-pad-y) var(--page-module-pad-x) 14px;
    border-radius: 20px;
    border: 1px solid rgba(226, 214, 193, 0.24);
    background:
        linear-gradient(180deg, rgba(9, 14, 27, 0.54) 0%, rgba(8, 11, 21, 0.68) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.06),
        inset 0 0 24px rgba(162, 134, 187, 0.05);
}

.page-shell .register-form-module {
    margin-bottom: 0;
}

.page-shell .files-actions-module {
    gap: 14px;
}

.page-shell .verification-note {
    margin: 0 0 14px;
    text-align: center;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    color: rgba(232, 222, 203, 0.82);
}

.page-shell .verification-note strong {
    color: var(--gold-bright);
}

.page-shell .verification-form {
    gap: 14px;
}

.page-shell .verification-links {
    margin-top: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.page-shell .verification-links form {
    margin: 0;
    display: flex;
}

.page-shell .verification-links button,
.page-shell .verification-links a {
    width: auto;
    min-width: 194px;
}

.page-shell .buy-coin-page {
    max-width: 860px;
    margin: 0 auto;
}

.page-shell .buy-coin-module {
    gap: 12px;
}

.page-shell .buy-coin-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 12px;
    align-items: stretch;
}

.page-shell .buy-coin-title {
    margin-bottom: 0;
    text-align: center;
}

.page-shell .buy-coin-back {
    width: 200px;
    min-width: 200px;
    justify-self: end;
    white-space: nowrap;
}

.page-shell .buy-coin-note {
    margin: 0 0 8px;
    text-align: center;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    color: rgba(232, 222, 203, 0.82);
}

.page-shell .buy-coin-form-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 2px;
}

.page-shell .buy-coin-form-head span:last-child {
    padding-left: 4px;
}

.page-shell .buy-coin-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    position: relative;
    z-index: 3;
}

.page-shell .field-shell--custom-select {
    overflow: visible;
}

.page-shell .custom-select {
    position: relative;
}

.page-shell .custom-select.is-open {
    z-index: 4;
}

.page-shell .custom-select__trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0 44px 0 16px;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.96rem;
}

.page-shell .custom-select__trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(242, 228, 192, 0.72);
    border-bottom: 2px solid rgba(242, 228, 192, 0.72);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}

.page-shell .custom-select.is-open .custom-select__trigger::after {
    transform: translateY(-30%) rotate(-135deg);
}

.page-shell .custom-select__label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-shell .custom-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 35;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(226, 214, 193, 0.24);
    background:
        linear-gradient(180deg, rgba(10, 14, 25, 0.96) 0%, rgba(16, 14, 22, 0.96) 100%);
    box-shadow:
        0 18px 34px rgba(1, 4, 10, 0.32),
        inset 0 1px 0 rgba(247, 241, 232, 0.06),
        inset 0 0 20px rgba(162, 134, 187, 0.03);
    backdrop-filter: blur(4px) saturate(1.02);
    -webkit-backdrop-filter: blur(4px) saturate(1.02);
}

.page-shell .custom-select__menu[hidden] {
    display: none !important;
}

.page-shell .custom-select__option,
.page-shell .custom-select__empty {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--text);
    display: flex;
    align-items: center;
}

.page-shell .custom-select__option {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    border: 1px solid rgba(226, 214, 193, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(244, 237, 226, 0.04) 18%, rgba(162, 134, 187, 0.03) 52%, rgba(22, 17, 28, 0.1) 100%);
    text-transform: none;
    cursor: pointer;
}

.page-shell .custom-select__option:hover,
.page-shell .custom-select__option:focus-visible,
.page-shell .custom-select__option.is-selected {
    color: #fffdf8;
    border-color: rgba(244, 237, 227, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.2) 0%, rgba(244, 237, 226, 0.12) 24%, rgba(201, 177, 131, 0.1) 54%, rgba(44, 33, 28, 0.18) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.16),
        inset 0 0 18px rgba(244, 237, 227, 0.08),
        inset 0 0 18px rgba(216, 180, 108, 0.08);
}

.page-shell .custom-select__option:focus-visible {
    outline: none;
}

.page-shell .custom-select__empty {
    justify-content: center;
    color: rgba(227, 216, 191, 0.62);
    text-transform: uppercase;
}

.page-shell .field-shell--select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(242, 228, 192, 0.72);
    border-bottom: 2px solid rgba(242, 228, 192, 0.72);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.page-shell .field-shell--select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    color-scheme: dark;
}

.page-shell .field-shell--select select option {
    background: #0a101b;
    color: var(--text);
}

.page-shell .field-shell--select select option:checked,
.page-shell .field-shell--select select option:hover,
.page-shell .field-shell--select select option:focus {
    background: #2a241d;
    color: var(--gold-bright);
}

.page-shell .field-shell--qty input[type="number"] {
    padding-right: 52px;
    -moz-appearance: textfield;
}

.page-shell .field-shell--qty input[type="number"]::-webkit-outer-spin-button,
.page-shell .field-shell--qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-shell .field-stepper {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: grid;
    gap: 4px;
}

.page-shell .field-stepper__btn {
    min-width: 0;
    width: 26px;
    min-height: 0;
    height: 18px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(226, 214, 193, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(244, 237, 226, 0.08) 30%, rgba(28, 21, 30, 0.22) 100%);
    color: var(--gold-bright);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.74rem;
    line-height: 1;
    letter-spacing: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.14),
        inset 0 0 10px rgba(244, 237, 227, 0.05);
}

.page-shell .field-stepper__btn:hover,
.page-shell .field-stepper__btn:focus-visible {
    color: #fffdf8;
    border-color: rgba(244, 237, 227, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.24) 0%, rgba(244, 237, 226, 0.12) 34%, rgba(52, 38, 29, 0.26) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.18),
        inset 0 0 14px rgba(244, 237, 227, 0.08),
        inset 0 0 14px rgba(216, 180, 108, 0.08);
}

.page-shell .field-stepper__btn:focus-visible {
    outline: none;
}

.page-shell .buy-coin-paypal-shell {
    position: relative;
    z-index: 1;
    padding: 16px 16px 12px;
    border-radius: 18px;
    border: 1px solid rgba(226, 214, 193, 0.2);
    background:
        linear-gradient(180deg, rgba(12, 18, 31, 0.48) 0%, rgba(8, 12, 22, 0.62) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.04),
        inset 0 0 18px rgba(162, 134, 187, 0.04);
    transition: opacity 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.page-shell .buy-coin-paypal-shell.is-disabled {
    opacity: 0.58;
    filter: saturate(0.7);
}

.page-shell .buy-coin-paypal-note {
    margin-bottom: 12px;
    text-align: center;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.7);
}

.page-shell .buy-coin-status[hidden] {
    display: none;
}

#paypal-button-container {
    min-height: 46px;
}

.page-shell .account-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 20px;
    border: 1px solid rgba(226, 214, 193, 0.28);
    background: rgba(9, 14, 27, 0.56);
}

.page-shell .account-table th,
.page-shell .account-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(236, 230, 220, 0.08);
    vertical-align: top;
}

.page-shell .account-table th {
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-bright);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(147, 122, 171, 0.18) 34%, rgba(18, 13, 24, 0.86) 100%);
}

.page-shell .account-table td {
    color: rgba(244, 237, 227, 0.88);
}

.page-shell .account-table tr:last-child td {
    border-bottom: none;
}

.page-shell .logout-form {
    display: flex;
    justify-content: flex-end;
}

.page-shell .account-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    padding-right: 14px;
}

.page-shell strong {
    color: var(--gold-bright);
    font-family: "BeaufortforLOL", Georgia, serif;
    letter-spacing: 0.04em;
}

.page-shell p a {
    text-decoration: none;
    border-bottom: 1px solid rgba(216, 195, 152, 0.28);
}

.page-shell p a:hover {
    border-bottom-color: rgba(242, 223, 177, 0.76);
}

.server-status {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    align-self: center;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(246, 239, 227, 0.1) 18%, rgba(163, 137, 187, 0.06) 54%, rgba(20, 16, 28, 0.18) 100%);
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        0 6px 14px rgba(1, 4, 12, 0.05);
    text-align: center;
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    appearance: none;
}

.server-status:focus-visible {
    outline: 1px solid rgba(227, 216, 191, 0.9);
    outline-offset: 2px;
}

.header-status-tools {
    display: none;
}

.l2top-vote {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
}

.server-status__label {
    display: inline-block;
    margin-bottom: 0;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.68);
}

.server-status__value {
    display: inline-block;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--gold-bright);
    text-shadow: 0 0 12px rgba(255, 245, 229, 0.16);
    min-width: 1ch;
}

.server-status.is-online .server-status__value {
    color: var(--gold-bright);
    text-shadow: 0 0 14px rgba(255, 245, 229, 0.18), 0 0 14px rgba(216, 180, 108, 0.1);
}

.server-status.is-offline .server-status__value {
    color: rgba(233, 223, 205, 0.84);
    text-shadow: 0 0 12px rgba(247, 241, 232, 0.1);
}

.server-status.is-unknown .server-status__value {
    color: rgba(233, 223, 205, 0.84);
}

.site-nav__status-menu {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
}

.site-nav__stats-menu {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
}

.site-nav__leaderboard-menu {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
}

.site-nav__stats-toggle {
    width: 100%;
    min-width: 0;
    appearance: none;
}

.site-nav__leaderboard-toggle {
    width: 100%;
    min-width: 0;
    appearance: none;
}

.header-stats-popover {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 40;
    width: min(var(--header-stats-popover-width, 220px), calc(100vw - 24px));
    transform: translateX(-50%);
}

.header-stats-popover__panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(225, 214, 194, 0.28);
    background:
        linear-gradient(180deg, rgba(12, 16, 30, 0.26) 0%, rgba(8, 10, 19, 0.34) 100%);
    box-shadow:
        0 18px 42px rgba(2, 7, 18, 0.28),
        0 0 18px rgba(255, 248, 236, 0.04),
        0 0 22px rgba(216, 180, 108, 0.04),
        0 0 18px rgba(162, 134, 187, 0.04);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.header-top-players-popover__panel {
    max-height: min(560px, calc(100vh - 160px));
    overflow-y: auto;
}

.header-top-players-list {
    gap: 12px;
}

.header-top-players-list .home-top-players-list__item {
    padding: 12px 14px;
}

.header-stats-popover .home-top-players-list__entry {
    font-size: 0.82rem;
    line-height: 1.28;
}

.site-footer {
    margin-top: auto;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(19, 16, 25, 0.62) 0%, rgba(14, 12, 18, 0.82) 38%, rgba(7, 7, 11, 0.9) 100%);
    border-top: 1px solid rgba(231, 213, 176, 0.12);
    box-shadow:
        0 -10px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-footer p {
    max-width: var(--header-max);
    margin: 0 auto;
    padding: 3px 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: rgba(219, 209, 188, 0.62);
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.68rem;
    line-height: 1;
}

.site-header__inner {
    background:
        none;
    box-shadow:
        none;
}

.site-nav__link,
.page-shell button,
.page-shell .login-links a,
.hero-cta {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(244, 237, 226, 0.12) 18%, rgba(162, 134, 187, 0.1) 52%, rgba(22, 17, 28, 0.34) 100%);
}

.page-index .page-shell {
    max-width: var(--page-max);
}

.page-index .page-shell .server-info-box {
    max-width: var(--page-max);
    margin-bottom: 0;
}

.page-index .landing-stats-box {
    overflow: visible;
    border: none;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}

.page-index .landing-stats-box::before,
.page-index .landing-stats-box::after {
    display: none;
}

.page-index .site-main {
    padding-top: 28px;
    padding-bottom: 28px;
}

.page-forum .page-shell {
    max-width: 1200px;
}

.page-about .page-shell {
    max-width: var(--page-max);
}

.page-about .page-shell .banner,
.page-about .page-shell .content-container {
    max-width: var(--page-max);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, var(--compact-column-width)) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin: 0;
}

.page-index .landing-hero {
    width: calc(100% - var(--home-brand-offset, 0px));
    margin-left: var(--home-brand-offset, 0px);
}

.landing-hero--single {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    align-items: center;
    margin-bottom: 0;
}

.landing-hero--stats-only {
    grid-template-columns: minmax(0, var(--compact-column-width));
    width: min(100%, var(--compact-column-width));
}

.page-index .landing-hero--stats-only {
    width: min(100%, var(--compact-column-width));
}

.landing-stats-box {
    min-height: 0;
    width: min(100%, var(--compact-column-width));
    max-width: var(--compact-column-width);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    gap: 14px;
    background:
        radial-gradient(circle at top left, rgba(242, 223, 177, 0.11), transparent 28%),
        radial-gradient(circle at top right, rgba(205, 220, 255, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(11, 15, 28, 0.38) 0%, rgba(8, 10, 18, 0.52) 100%);
    align-self: start;
}

.page-shell .banner.landing-stats-banner,
.page-shell .content-container.landing-stats-content,
.header-stats-popover__panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-color: rgba(225, 214, 194, 0.28);
    box-shadow:
        0 18px 42px rgba(2, 7, 18, 0.28),
        0 0 18px rgba(255, 248, 236, 0.04),
        0 0 22px rgba(216, 180, 108, 0.04),
        0 0 18px rgba(162, 134, 187, 0.04);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.page-shell .banner.landing-stats-banner {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.landing-stats-banner .page-banner-title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
    text-align: center;
}

.page-shell .content-container.landing-stats-content,
.header-stats-popover__panel {
    padding: 18px 16px;
    background:
        linear-gradient(180deg, rgba(12, 16, 30, 0.26) 0%, rgba(8, 10, 19, 0.34) 100%);
}

.landing-stats-list {
    margin: 0;
    width: 100%;
    padding: 0;
    list-style: none;
}

.header-online-admins {
    margin-top: 12px;
}

.header-online-admins__list:empty {
    display: none;
}

.landing-stats-content ul.landing-stats-list .landing-stats-list__item {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    margin-bottom: 12px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.landing-stats-content ul.landing-stats-list .landing-stats-list__item:last-child {
    margin-bottom: 0;
}

.landing-stats-content ul.landing-stats-list .landing-stats-list__item::before {
    content: none;
}

.landing-stats-list__label,
.page-shell .landing-stats-list__value,
.header-stats-popover .landing-stats-list__value {
    font-family: "BeaufortforLOL", Georgia, serif;
    display: inline;
    font-size: 0.76rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-stats-popover .landing-stats-list__label,
.header-stats-popover .landing-stats-list__value {
    font-size: 0.86rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.landing-stats-list__label {
    flex: 0 0 auto;
    min-width: 0;
    color: var(--ivory);
}

.landing-stats-list__label::after {
    content: none;
}

.landing-stats-list__value {
    flex: 0 0 auto;
    margin-left: 0;
    font-weight: 400;
    color: var(--gold-bright);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px rgba(255, 245, 229, 0.16);
}

.landing-stats-list__item--adena {
    display: grid !important;
    gap: 6px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.landing-stats-list__item--adena .landing-stats-list__label {
    display: block;
}

.landing-stats-list__item--adena .landing-stats-list__value {
    display: block;
    width: 100%;
    margin-left: 0;
    font-size: 0.76rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
}

.header-stats-popover .landing-stats-list__item--adena .landing-stats-list__value {
    font-size: 0.86rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.landing-stats-list__item--stacked {
    display: grid !important;
    gap: 6px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.landing-stats-list__item--stacked .landing-stats-list__label {
    display: block;
}

.landing-stats-list__item--stacked .landing-stats-list__value {
    display: block;
    width: 100%;
    margin-left: 0;
    font-size: 0.76rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
}

.landing-stats-tile {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(226, 214, 193, 0.18);
    background:
        radial-gradient(circle at top left, rgba(242, 223, 177, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(9, 14, 27, 0.48) 0%, rgba(8, 11, 21, 0.64) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.05),
        inset 0 0 22px rgba(162, 134, 187, 0.04);
}

.landing-stats-tile--title {
    background: none;
    box-shadow: none;
}

.landing-stats-box__title {
    margin: 0;
}

.landing-stats-box__title--plate,
.landing-stats-box__section-plate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(226, 214, 193, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(9, 14, 27, 0.54) 0%, rgba(8, 11, 21, 0.68) 100%);
    box-shadow:
        inset 0 1px 0 rgba(247, 241, 232, 0.06),
        inset 0 0 24px rgba(162, 134, 187, 0.05);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.94rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gold-bright);
    text-shadow: 0 0 10px rgba(255, 244, 229, 0.08);
}

.landing-stats-box__title--plate {
    min-height: 72px;
    border-radius: 22px;
}

.landing-stats-tile__body {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.landing-epic-list {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 0;
}

.landing-stat-card {
    display: grid;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    margin-top: 0;
    padding: 16px 14px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
}

.landing-stat-card strong {
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: clamp(1.55rem, 5vw, 2rem);
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--gold-bright);
    white-space: nowrap;
}

.landing-stat-card--adena strong {
    font-size: clamp(1.28rem, 4vw, 1.7rem);
    letter-spacing: 0.04em;
}

.landing-stat-card small {
    display: block;
    color: rgba(227, 216, 191, 0.76);
    font-size: 0.76rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.landing-epic-counter {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 100%;
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(246, 239, 227, 0.1) 18%, rgba(163, 137, 187, 0.06) 54%, rgba(20, 16, 28, 0.18) 100%);
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        0 6px 14px rgba(1, 4, 12, 0.05);
    text-align: center;
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
}

.landing-epic-counter__label {
    display: inline-block;
    min-width: 0;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.68);
}

.landing-epic-counter__value {
    display: inline-block;
    flex: 0 0 auto;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold-bright);
    text-shadow: 0 0 12px rgba(255, 245, 229, 0.16);
    white-space: nowrap;
}

.home-top-players-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-top-players-boards {
    max-height: 720px;
    overflow-y: auto;
    padding-right: 4px;
}

.home-top-players-toggle {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 22px !important;
    font-size: 0.94rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}

.home-top-players-list__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.home-top-players-list__entry,
.home-top-players-list__empty {
    font-family: "BeaufortforLOL", Georgia, serif;
    letter-spacing: 0.08em;
}

.home-top-players-list__entry {
    display: block;
    width: 100%;
    color: var(--gold-bright);
    font-size: 0.76rem;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 0 12px rgba(255, 245, 229, 0.16);
    overflow-wrap: anywhere;
}

.home-top-players-list__empty {
    color: rgba(227, 216, 191, 0.76);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.home-top-players-list__item--empty {
    padding-top: 20px;
    padding-bottom: 20px;
}

.landing-hero__copy.welcome-box {
    max-width: none;
    margin: 0;
    min-height: 560px;
    padding: 54px 58px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(242, 223, 177, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(205, 220, 255, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(12, 16, 30, 0.52) 0%, rgba(8, 11, 21, 0.62) 58%, rgba(13, 13, 24, 0.58) 100%);
}

.landing-hero--single .landing-hero__copy.welcome-box {
    min-height: 0;
    align-self: center;
    padding: var(--page-panel-pad-y) var(--page-panel-pad-x);
    align-items: center;
    text-align: center;
}

.landing-hero__copy.welcome-box::after {
    top: auto;
    bottom: -36px;
    right: -30px;
    width: 280px;
    height: 280px;
    opacity: 1;
}

.landing-hero__eyebrow {
    margin: 0 0 16px;
    font-family: "BeaufortforLOL", Georgia, serif;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(215, 203, 175, 0.72);
}

.landing-hero__copy.welcome-box h1 {
    max-width: 680px;
    margin-bottom: 18px;
}

.landing-hero--single .landing-hero__copy.welcome-box h1 {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
}

.page-shell .landing-hero__title,
.page-shell .page-banner-title {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: 18px;
}

.page-shell .page-banner-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
}

.page-shell .banner.landing-stats-banner .page-banner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(246, 239, 227, 0.1) 18%, rgba(163, 137, 187, 0.06) 54%, rgba(20, 16, 28, 0.18) 100%);
    box-shadow:
        inset 0 1px 0 var(--border-highlight),
        0 6px 14px rgba(1, 4, 12, 0.05);
    backdrop-filter: blur(4px) saturate(1.03);
    -webkit-backdrop-filter: blur(4px) saturate(1.03);
}

.page-shell .content-section-title {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
}

.page-shell .landing-hero__copy.welcome-box h1.landing-hero__title,
.page-shell .banner h1.page-banner-title,
.page-shell .content-container h2.content-section-title {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
}

.page-shell .landing-hero__copy.welcome-box h1.landing-hero__title,
.page-shell .banner h1.page-banner-title {
    margin-bottom: 0;
}

.page-shell .content-container h2.content-section-title {
    margin-bottom: var(--page-panel-gap);
    padding: 14px 18px;
}

.landing-hero__copy.welcome-box p {
    max-width: 640px;
    margin: 0;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.landing-hero--single .landing-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
    margin: var(--page-panel-gap) auto 0;
    padding: var(--page-module-pad-y) var(--page-module-pad-x) 14px;
    justify-content: center;
}

.page-shell .landing-hero__actions-module {
    gap: 14px;
    margin-bottom: 0;
}

.page-index .landing-hero__actions .hero-cta {
    width: 100%;
    min-width: 0;
    min-height: 54px;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 220px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(246, 239, 227, 0.12) 18%, rgba(174, 149, 198, 0.1) 54%, rgba(21, 16, 29, 0.22) 100%);
    color: #f8f3e8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: "BeaufortforLOL", Georgia, serif;
    text-shadow: 0 0 8px rgba(236, 244, 255, 0.14);
    box-shadow:
        inset 0 1px 0 var(--border-highlight);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hero-cta::before,
.hero-cta::after {
    content: none;
}

.hero-cta:hover {
    color: #fffdf8;
    border-color: var(--border-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(248, 241, 230, 0.16) 18%, rgba(189, 165, 210, 0.14) 58%, rgba(26, 19, 34, 0.24) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 236, 0.24),
        inset 0 0 22px rgba(255, 243, 227, 0.12),
        inset 0 0 30px rgba(162, 134, 187, 0.08);
}

.hero-cta--muted {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(239, 231, 219, 0.12) 16%, rgba(132, 111, 150, 0.1) 46%, rgba(15, 12, 22, 0.34) 100%);
}

.landing-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-hero__meta span {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(226, 214, 193, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(244, 237, 226, 0.1) 18%, rgba(147, 122, 171, 0.08) 44%, rgba(16, 13, 24, 0.18) 100%);
    color: rgba(233, 226, 210, 0.9);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 244, 229, 0.08);
}

.landing-hero__art {
    position: relative;
    min-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(226, 214, 193, 0.34);
    background:
        linear-gradient(180deg, rgba(20, 18, 24, 0.34) 0%, rgba(12, 12, 18, 0.48) 100%);
    box-shadow: var(--shadow), var(--glow);
}

.landing-hero__art::before,
.landing-hero__art::after,
.banner__art::before,
.banner__art::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.landing-hero__art::before,
.banner__art::before {
    inset: 18px;
    border-radius: 26px;
    border: 1px solid rgba(244, 238, 229, 0.12);
}

.landing-hero__art::after,
.banner__art::after {
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 18%, transparent 82%, rgba(216, 180, 108, 0.08) 100%);
}

.hero-figure,
.banner__art {
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #0b1629;
}

.hero-figure--moon {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 247, 229, 0.2) 0%, rgba(243, 224, 179, 0.08) 14%, transparent 30%),
        linear-gradient(180deg, rgba(11, 11, 16, 0.08) 0%, rgba(11, 11, 16, 0.22) 100%),
        url("../../../Images/Shot00580.bmp") center 18% / cover no-repeat;
}

.server-info-box--ornate {
    display: grid;
    gap: 10px;
    text-align: center;
}

.page-shell .server-info-box--ornate p {
    margin: 0;
    max-width: 780px;
    justify-self: center;
}

.server-info-box__addition {
    color: rgba(223, 211, 185, 0.84);
}

.banner--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
    gap: 24px;
    align-items: center;
    text-align: left;
}

.banner--solo {
    grid-template-columns: 1fr;
}

.banner__copy {
    position: relative;
    z-index: 1;
}

.banner__copy h1 {
    margin-bottom: 14px;
}

.banner__copy > p {
    max-width: 590px;
}

.banner__note {
    margin-top: 14px;
    color: rgba(223, 211, 185, 0.82);
}

.page-shell .content-container {
    max-width: 1120px;
    background:
        linear-gradient(180deg, rgba(12, 16, 30, 0.48) 0%, rgba(8, 10, 19, 0.6) 100%);
}

.page-shell .content-container h2 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.page-shell .content-container h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 1px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0%, rgba(215, 229, 255, 0.22) 45%, transparent 100%);
}

.page-shell .content-container h2.content-section-title::after {
    content: none;
}

.page-shell .content-container li {
    position: relative;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.page-shell .content-container li::before {
    top: 0.72em;
}

.page-forum::before {
    background:
        linear-gradient(180deg, rgba(8, 10, 18, 0.22) 0%, rgba(7, 8, 14, 0.56) 100%),
        url("../../../Images/hero-knight.jpg") center top / cover no-repeat;
    opacity: 1;
    filter: brightness(0.96) saturate(0.84);
}

.forum-page {
    display: grid;
    gap: var(--page-panel-gap);
}

.forum-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.7);
}

.forum-breadcrumbs a {
    color: rgba(242, 228, 192, 0.86);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.forum-breadcrumbs a:hover {
    border-bottom-color: rgba(242, 228, 192, 0.4);
}

.forum-breadcrumbs span:last-child {
    color: rgba(255, 248, 236, 0.92);
}

.banner.forum-hero {
    align-items: stretch;
    gap: 22px;
    background:
        radial-gradient(circle at top left, rgba(242, 223, 177, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(12, 16, 30, 0.56) 0%, rgba(8, 10, 19, 0.66) 100%);
}

.forum-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.forum-hero__copy h1 {
    margin-bottom: 16px;
}

.forum-hero__copy > p {
    margin: 0;
    max-width: 680px;
    color: rgba(235, 226, 210, 0.88);
}

.forum-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.forum-hero__panel {
    display: grid;
    gap: 16px;
    align-self: stretch;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(226, 214, 193, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(49, 61, 97, 0.08) 24%, rgba(9, 13, 24, 0.74) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 34px rgba(2, 7, 18, 0.2);
}

.forum-hero__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: "BeaufortforLOL", Georgia, serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.forum-hero__panel-head span {
    color: rgba(227, 216, 191, 0.72);
    font-size: 0.78rem;
}

.forum-hero__panel-head strong {
    font-size: 0.88rem;
}

.forum-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.forum-stat-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
}

.forum-stat-card strong {
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.forum-stat-card span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.72);
}

.forum-hero__note {
    padding-top: 2px;
    color: rgba(235, 226, 210, 0.82);
}

.forum-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.44fr) minmax(280px, 0.76fr);
    gap: var(--page-panel-gap);
    align-items: start;
}

.forum-main-column,
.forum-sidebar {
    display: grid;
    gap: var(--page-panel-gap);
}

.forum-group {
    display: grid;
    gap: 22px;
}

.forum-group__header {
    display: grid;
    gap: 14px;
    align-items: start;
    grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
}

.forum-group__header h2 {
    margin-bottom: 0;
}

.forum-group__header p {
    margin: 0;
    align-self: center;
}

.forum-group__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.68);
}

.forum-board-list {
    display: grid;
    gap: 14px;
}

.forum-board {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 148px 240px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.forum-board__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(245, 238, 228, 0.18);
    background:
        radial-gradient(circle at 30% 30%, rgba(243, 224, 179, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(42, 50, 80, 0.18) 32%, rgba(10, 14, 26, 0.82) 100%);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.forum-board__copy h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.forum-board__copy p {
    margin: 0;
    color: rgba(235, 226, 210, 0.8);
}

.forum-board__stats {
    display: grid;
    gap: 10px;
    margin: 0;
}

.forum-board__stats div {
    display: grid;
    gap: 3px;
}

.forum-board__stats dt {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.64);
}

.forum-board__stats dd {
    margin: 0;
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.forum-board__last {
    display: grid;
    gap: 4px;
}

.forum-board__last-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.64);
}

.forum-board__last strong {
    font-size: 0.9rem;
    line-height: 1.35;
}

.forum-board__last span:last-child {
    color: rgba(235, 226, 210, 0.72);
}

.forum-side-card {
    display: grid;
    gap: 18px;
}

.forum-side-card__head h2 {
    margin-bottom: 0;
}

.forum-topic-list,
.forum-online-list,
.forum-shortcuts {
    display: grid;
    gap: 12px;
}

.forum-topic-item,
.forum-online-member {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 180, 108, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(56, 74, 118, 0.08) 22%, rgba(10, 14, 26, 0.66) 100%);
}

.forum-topic-item {
    display: grid;
    gap: 5px;
}

.forum-topic-item__section {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 216, 191, 0.68);
}

.forum-topic-item strong {
    font-size: 0.92rem;
    line-height: 1.35;
}

.forum-topic-item span:last-child {
    color: rgba(235, 226, 210, 0.72);
}

.forum-online-member {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.forum-online-member__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(245, 238, 228, 0.18);
    background:
        radial-gradient(circle at 30% 30%, rgba(243, 224, 179, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(42, 50, 80, 0.18) 32%, rgba(10, 14, 26, 0.82) 100%);
    font-family: "BeaufortforLOL", Georgia, serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.forum-online-member__meta {
    display: grid;
    gap: 3px;
}

.forum-online-member__meta strong {
    font-size: 0.92rem;
}

.forum-online-member__meta span {
    color: rgba(235, 226, 210, 0.72);
}

.forum-shortcuts .button-link {
    width: 100%;
    min-width: 0;
}

.site-header,
.site-header *,
.page-shell,
.page-shell *,
.server-status,
.server-status *,
.site-footer,
.site-footer *,
.hero-cta,
.hero-cta *,
.landing-hero__meta,
.landing-hero__meta *,
.banner__note,
.server-info-box__addition {
    color: var(--unified-type-color) !important;
    text-shadow: var(--unified-type-shadow) !important;
}

.page-shell input,
.page-shell select,
.page-shell textarea {
    color: var(--unified-type-color) !important;
    text-shadow: var(--unified-type-shadow) !important;
    caret-color: var(--unified-type-color);
}

.page-shell input:-webkit-autofill,
.page-shell input:-webkit-autofill:hover,
.page-shell input:-webkit-autofill:focus,
.page-shell input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--unified-type-color) !important;
}

.page-shell input::placeholder,
.page-shell textarea::placeholder {
    color: rgba(242, 228, 192, 0.58) !important;
}

@media (max-width: 1480px) {
    body::before {
        background-position: center top;
        background-size: cover;
    }

    .site-header__inner {
        align-items: flex-start;
        min-height: auto;
        padding-bottom: 14px;
    }

    .site-nav {
        grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
        grid-auto-rows: minmax(46px, auto);
        align-items: stretch;
        align-content: start;
    }

    .site-nav__status-menu,
    .site-nav__stats-menu,
    .site-nav__leaderboard-menu {
        min-width: 0;
    }

    .site-nav__link,
    .site-nav__link--cabinet,
    .server-status,
    .site-nav__stats-toggle,
    .site-nav__leaderboard-toggle,
    .l2top-vote {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .site-nav__link {
        min-height: 48px;
        padding: 10px 14px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.12;
    }
}

@media (max-width: 1080px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        padding: 14px 20px 16px;
    }

    .site-nav {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
        grid-auto-rows: minmax(46px, auto);
    }

    .site-nav__brand {
        margin: 0 auto 4px;
    }

    .site-nav__link {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 0.82rem;
    }

    .site-nav__link--cabinet {
        width: 100%;
        min-width: 0;
    }

    .header-status-tools {
        margin: 0 auto;
        justify-self: center;
    }

    .server-status {
        margin: 0;
        justify-self: auto;
    }
}

@media (max-width: 980px) {
    :root {
        --compact-column-width: 210px;
    }

    .landing-hero,
    .banner--hero,
    .forum-layout,
    .forum-group__header {
        grid-template-columns: 1fr;
    }

    .landing-stats-box {
        width: min(100%, var(--compact-column-width));
        max-width: var(--compact-column-width);
        justify-self: center;
    }

    .page-index .landing-hero {
        width: 100%;
        margin-left: 0;
    }

    .landing-hero--single .landing-hero__copy.welcome-box h1 {
        font-size: 1rem;
        white-space: normal;
    }

    .page-shell .page-banner-title {
        font-size: 1rem;
        white-space: normal;
    }

    .landing-hero__art {
        min-height: 420px;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 14px 20px 16px;
    }

    .site-brand {
        justify-content: center;
        justify-self: center;
    }

    .site-brand__copy {
        align-items: center;
        gap: 2px;
        padding-top: 0;
    }

    .site-nav {
        grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
        grid-auto-rows: minmax(46px, auto);
    }

    .header-status-tools {
        margin: 0 auto;
        justify-self: center;
    }

    .server-status {
        margin: 0;
        justify-self: auto;
    }

    .page-shell .account-form {
        grid-template-columns: 1fr;
    }

    .page-shell .account-form-inline {
        grid-template-columns: 1fr;
    }

    .page-shell .account-form,
    .page-shell .account-form-inline,
    .page-shell .buy-coin-form {
        gap: 14px;
    }

    .page-shell .register-form,
    .page-shell .account-form-head--register {
        grid-template-columns: 1fr;
    }

    .page-shell .account-form-head,
    .page-shell .buy-coin-form-head {
        display: none;
    }

    .page-shell .account-topbar,
    .page-shell .buy-coin-head,
    .page-shell .buy-coin-form,
    .files-actions {
        grid-template-columns: 1fr;
    }

    .page-shell .account-topbar,
    .page-shell .buy-coin-head,
    .page-shell .account-footer-actions {
        padding-right: 0;
    }

    .page-shell .account-entry-title--welcome {
        text-align: left;
        font-size: 0.92rem;
        letter-spacing: 0.08em;
    }

    .page-shell .account-form-inline .change-btn,
    .page-shell .account-form-inline--action-only .forgot-btn {
        grid-column: auto;
        align-self: stretch;
    }

    .page-shell .account-form-inline--action-only {
        margin-top: 0;
    }

    .page-shell .account-topbar__action,
    .page-shell .logout-btn,
    .page-shell .buy-coin-back {
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .page-shell .logout-form,
    .page-shell .account-footer-actions {
        justify-content: stretch;
    }

    .page-shell .account-table {
        display: block;
        overflow-x: auto;
    }

    .page-shell .account-table tbody,
    .page-shell .account-table tr,
    .page-shell .account-table td {
        display: block;
        width: 100%;
    }

    .page-shell .account-table td {
        padding: 16px 12px;
    }

    .forum-board {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .forum-board__stats {
        grid-column: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .forum-board__last {
        grid-column: 1 / -1;
        padding-top: 4px;
    }

    .forum-hero__panel {
        padding: 18px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding-top: 18px;
        gap: 18px;
    }

    .landing-stats-box,
    .landing-hero__copy.welcome-box {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .page-index .landing-hero__copy.welcome-box h1.landing-hero__title {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem;
        line-height: 1.35;
        letter-spacing: 0.08em;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .landing-stats-box {
        width: min(100%, 210px);
        max-width: 210px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .landing-hero--single .landing-hero__copy.welcome-box h1 {
        white-space: normal;
    }

    .landing-hero--single {
        min-height: auto;
        margin-top: 24px;
    }

    .landing-hero--single .landing-hero__copy.welcome-box {
        padding: 24px 18px;
    }

    .landing-stat-card {
        min-height: 160px;
    }

    .landing-hero__art {
        min-height: 320px;
    }

    .hero-cta {
        width: 100%;
        min-width: 0;
    }

    body::before {
        background-position: center top;
        background-size: cover;
        opacity: 1;
    }

    .site-header {
        padding: 0;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
        align-items: start;
        gap: 12px;
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 18px;
        min-height: auto;
    }

    .site-header__brand,
    .site-nav__brand {
        justify-self: center;
    }

    .site-brand__logo {
        width: 76px;
        height: 76px;
    }

    .site-nav__link,
    .page-shell button,
    .page-shell .login-links a {
        width: 100%;
        min-width: 0;
    }

    .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(46px, auto);
        gap: 10px;
        align-items: stretch;
    }

    .site-nav__brand {
        margin: 0 auto 4px;
    }

    .site-nav__brand-logo {
        width: calc(var(--compact-column-width) - 36px);
        height: calc((var(--compact-column-width) - 36px) * 0.53);
    }

    /* sega-shine: keep sweep aligned with resized logo */
    .site-nav__brand::after {
        width: calc(var(--compact-column-width) - 36px);
        height: calc((var(--compact-column-width) - 36px) * 0.53);
    }

    .site-nav__link {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 10px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.15;
    }

    .site-nav__link--cabinet,
    .site-nav__stats-menu,
    .site-nav__stats-toggle,
    .site-nav__leaderboard-menu,
    .site-nav__leaderboard-toggle,
    .l2top-vote {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .site-nav__status-menu,
    .site-nav__stats-menu,
    .site-nav__leaderboard-menu {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-main {
        padding: 18px 12px 32px;
    }

    .page-shell .welcome-box,
    .page-shell .banner,
    .page-shell .server-info-box,
    .page-shell .content-container,
    .page-shell .login-container,
    .page-shell .register-container,
    .page-shell .account-container,
    .page-shell .files-container {
        padding-top: 24px;
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 24px;
        border-radius: 22px;
    }

    .page-shell .welcome-box,
    .page-shell .banner {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .page-shell .content-container {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .server-status {
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 48px;
        padding: 8px 10px;
        gap: 4px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .server-status__label,
    .server-status__value {
        line-height: 1.1;
        white-space: normal;
    }

    .header-status-tools {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .l2top-vote {
        display: inline-flex;
    }

    .header-stats-popover {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin-top: 10px;
        z-index: auto;
    }

    .header-stats-popover__panel {
        width: 100%;
        margin: 0;
    }

    .site-footer {
        margin-top: auto;
    }

    .forum-breadcrumbs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .forum-hero__actions,
    .forum-stats-grid {
        grid-template-columns: 1fr;
    }

    .forum-hero__actions {
        display: grid;
    }

    .forum-group__header {
        gap: 10px;
    }

    .forum-board {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: left;
    }

    .forum-board__badge {
        width: 54px;
        height: 54px;
    }

    .forum-board__stats,
    .forum-board__last {
        grid-column: auto;
    }

    .forum-online-member {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .forum-online-member__avatar {
        width: 46px;
        height: 46px;
    }
}
