html {
    background: #09090b;
}

:root {
    --site-bg: #090a0d;
    --site-panel: #111317;
    --site-panel-2: #181a21;
    --site-gold: #e5a93c;
    --site-gold-soft: #f5d58f;
    --site-gold-deep: #be842a;
    --site-bronze: #c39e67;
    --site-gold-line: rgba(195, 158, 103, 0.2);
    --site-gold-line-strong: rgba(229, 169, 60, 0.38);
    --site-gold-glow: rgba(229, 169, 60, 0.12);
    --site-gold-glow-soft: rgba(229, 169, 60, 0.07);
    --site-panel-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 169, 60, 0.055), transparent 30%),
        linear-gradient(180deg, rgba(9, 10, 13, 0.96) 0%, rgba(9, 10, 13, 0.92) 46%, rgba(5, 6, 8, 0.98) 100%);
    background-attachment: fixed;
}

* {
    box-sizing: border-box;
}

.font-\[Cinzel\] {
    font-family: "Cinzel", serif;
}

.site-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 115vh;
    max-height: 1180px;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 22%, rgba(229, 169, 60, 0.16) 0%, rgba(229, 169, 60, 0.04) 24%, transparent 46%),
        linear-gradient(180deg, rgba(8, 9, 12, 0.45) 0%, rgba(8, 9, 12, 0.28) 28%, rgba(8, 9, 12, 0.65) 75%, rgba(8, 9, 12, 0.95) 100%),
        linear-gradient(90deg, rgba(8, 9, 12, 0.80) 0%, rgba(8, 9, 12, 0.34) 26%, rgba(8, 9, 12, 0.12) 50%, rgba(8, 9, 12, 0.36) 74%, rgba(8, 9, 12, 0.80) 100%),
        url("/assets/images/site-dark-bg.png") no-repeat center top / cover;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    pointer-events: none;
    will-change: transform;
}

.site-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 92vh;
    max-height: 960px;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 62%, rgba(229, 169, 60, 0.10) 0%, transparent 48%),
        linear-gradient(180deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.50) 38%, rgba(8, 9, 12, 0.34) 68%, rgba(8, 9, 12, 0.82) 100%),
        linear-gradient(90deg, rgba(8, 9, 12, 0.80) 0%, rgba(8, 9, 12, 0.28) 28%, rgba(8, 9, 12, 0.14) 50%, rgba(8, 9, 12, 0.30) 72%, rgba(8, 9, 12, 0.80) 100%),
        url("/assets/images/backgrounds/l2nexus-throne-battlefield-2k.jpg") no-repeat center bottom / cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
    pointer-events: none;
}

.l2-gold-frame {
    border: 1px solid var(--site-gold-line);
    background-color: rgba(17, 19, 23, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        inset 0 0 0 1px rgba(195, 158, 103, 0.025),
        0 0 0 1px rgba(195, 158, 103, 0.04),
        var(--site-panel-shadow);
}

.hero-wide {
    margin-top: 2rem;
    padding-top: 0.75rem;
    padding-bottom: 2.25rem;
}

.hero-brand__logo {
    width: min(100%, 620px);
    filter:
        drop-shadow(0 0 10px rgba(242, 222, 174, 0.12))
        drop-shadow(0 0 22px rgba(216, 190, 130, 0.09))
        drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

header {
    box-shadow: none;
}

header nav a,
header button,
main a,
main button {
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

header nav a:hover,
header nav a:focus-visible,
header button:hover,
main a:hover,
main button:hover {
    color: var(--site-gold-soft);
    text-shadow: 0 0 10px rgba(216, 190, 130, 0.2);
}

header nav,
header nav > div {
    background: transparent !important;
    box-shadow: none !important;
}

header nav a,
header nav a:hover,
header nav a:focus-visible {
    box-shadow: none !important;
    text-shadow: none !important;
}

.vote-tile {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 64px;
    border: 1px solid rgba(15, 23, 42, 0.9);
    border-radius: 0.75rem;
    box-shadow: none;
    transform: translateZ(0);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.vote-tile__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vote-tile__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 10, 13, 0.94) 0%, rgba(17, 19, 23, 0.58) 60%, rgba(17, 19, 23, 0.32) 100%),
        linear-gradient(180deg, rgba(17, 19, 23, 0.14) 0%, rgba(9, 10, 13, 0.74) 100%);
}

.vote-tile__label {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 64px;
    align-items: center;
    padding: 0 0.9rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f8fafc;
}

.vote-tile:hover {
    border-color: rgba(195, 158, 103, 0.3);
    box-shadow: none;
    transform: scale(1.02);
}

.sidebar-vote-panel {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.sidebar-widget-kicker {
    margin: 0;
    color: #e5a93c;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    line-height: 1.2;
    text-transform: uppercase;
}

.sidebar-widget-title {
    margin-top: 0.5rem;
    color: #fff7df;
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.sidebar-siege-panel {
    background: rgba(17, 19, 23, 0.5);
    border: 1px solid rgba(195, 158, 103, 0.2);
    border-radius: 1rem;
    box-shadow: none;
    padding: 1.1rem;
}

.sidebar-siege-panel__header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.sidebar-siege-panel .sidebar-widget-title {
    font-size: 1.15rem;
    margin-top: 0.35rem;
}

.sidebar-siege-panel__mark {
    border: 1px solid rgba(125, 211, 167, 0.35);
    border-radius: 0.45rem;
    color: #7dd3a7;
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    padding: 0.3rem 0.42rem;
}

.sidebar-siege-panel__list {
    border-bottom: 1px solid rgba(195, 158, 103, 0.14);
    border-top: 1px solid rgba(195, 158, 103, 0.14);
    display: grid;
    gap: 0.35rem;
    margin-top: 0.9rem;
    padding: 0.65rem 0;
}

.sidebar-siege-panel__item {
    align-items: center;
    background: rgba(5, 6, 8, 0.72);
    border: 1px solid rgba(31, 34, 46, 0.9);
    border-radius: 0.55rem;
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0.6rem;
    transition: border-color 180ms ease, transform 180ms ease;
}

.sidebar-siege-panel__item:hover {
    border-color: rgba(229, 169, 60, 0.45);
    transform: translateX(2px);
}

.sidebar-siege-panel__item span { display: grid; gap: 0.15rem; }
.sidebar-siege-panel__item strong {
    color: #cbd5e1;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-siege-panel__item small,
.sidebar-siege-panel__empty {
    color: #64748b;
    font-size: 0.55rem;
}

.sidebar-siege-panel__item b {
    color: #d4a342;
    font-size: 0.56rem;
    font-weight: 800;
    max-width: 5rem;
    text-align: right;
}

.sidebar-siege-panel__empty { line-height: 1.55; margin: 0.9rem 0 0; }
.sidebar-siege-panel__footer {
    color: #cbd5e1;
    display: flex;
    font-size: 0.6rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.08em;
    margin-top: 0.8rem;
    text-transform: uppercase;
}

.sidebar-siege-panel__footer:hover { color: #e5a93c; }
.sidebar-siege-panel__footer span { color: #d4a342; font-size: 0.8rem; }

.acm-side-login {
    overflow: hidden;
    border-radius: 1.7rem;
    background: linear-gradient(180deg, rgba(17, 19, 23, 0.86) 0%, rgba(9, 10, 13, 0.78) 100%);
    padding: 1.35rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 224, 0.04),
        0 22px 48px rgba(0, 0, 0, 0.34);
}

.acm-side-login__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.acm-side-login__logo {
    width: min(100%, 210px);
    height: auto;
    filter:
        drop-shadow(0 0 10px rgba(216, 190, 130, 0.12))
        drop-shadow(0 0 18px rgba(216, 190, 130, 0.08));
}

.acm-side-login__copy {
    text-align: center;
}

.acm-side-login__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.95rem;
}

.acm-side-login__meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0 0.7rem;
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 999px;
    background: rgba(8, 9, 11, 0.88);
    color: #d8c59d;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.acm-side-login__form {
    margin-top: 1.15rem;
}

.acm-side-login__fields {
    display: grid;
    gap: 0.8rem;
}

.acm-side-login__field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.75rem;
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-radius: 0.75rem;
    background: rgba(13, 15, 18, 0.9);
    padding: 0 1rem;
    color: #e2e8f0;
    font-size: 0.75rem;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.acm-side-login__field:focus-within {
    border-color: rgba(229, 169, 60, 0.5);
}

.acm-side-login__field--input {
    position: relative;
    gap: 0.7rem;
    cursor: text;
}

.acm-side-login__field--input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: #08090b;
    color: #f1f5f9;
    font-size: 0.75rem;
}

.acm-side-login__field--input input::placeholder {
    color: #64748b;
}

.acm-side-login__field em {
    color: var(--site-gold-soft);
    font-style: normal;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.acm-side-login__toggle {
    border: 0;
    background: transparent;
    color: #e5a93c;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.acm-side-login__toggle:hover,
.acm-side-login__toggle:focus-visible {
    color: #fff;
}

.acm-side-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
    color: #b8c3d1;
    font-size: 0.82rem;
}

.acm-side-login__remember input {
    accent-color: #d0ad56;
}

.acm-side-login__captcha {
    margin-top: 0.95rem;
    display: flex;
    justify-content: center;
}

.site-acm-turnstile {
    width: 100%;
    border: 1px solid rgba(216, 190, 130, 0.14);
    border-radius: 1rem;
    background: rgba(255,255,255,.03);
    padding: .85rem .95rem;
}

.site-acm-turnstile__title {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--site-gold-soft);
    margin-bottom: .35rem;
}

.site-acm-turnstile__copy {
    font-size: .8rem;
    line-height: 1.45;
    color: #aeb8c7;
    margin-bottom: .7rem;
}

.acm-side-login__captcha--panel {
    width: 100%;
}

.site-acm-captcha {
    width: 100%;
    border: 1px solid rgba(216, 190, 130, 0.16);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(15, 18, 26, 0.78) 0%, rgba(10, 13, 20, 0.92) 100%);
    padding: 0.95rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 224, 0.03),
        0 12px 28px rgba(0, 0, 0, 0.24);
}

.site-acm-captcha__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.site-acm-captcha__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(216, 190, 130, 0.18);
    border-radius: 999px;
    background: rgba(216, 190, 130, 0.08);
    padding: 0.42rem 0.72rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--site-gold-soft);
}

.site-acm-captcha__refresh {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8d2de;
    cursor: pointer;
}

.site-acm-captcha__refresh:hover {
    color: var(--site-gold-soft);
}

.site-acm-captcha__prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.2rem;
    border: 1px solid rgba(216, 190, 130, 0.14);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.86), rgba(12, 15, 22, 0.94));
    padding: 0.7rem 0.9rem;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 248, 224, 0.02);
}

.site-acm-captcha__prompt span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    border-radius: 0.7rem;
    padding: 0.32rem 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #f8fafc;
    background: rgba(216, 190, 130, 0.08);
}

.site-acm-captcha__prompt--math span {
    min-width: 1.5rem;
    background: transparent;
    color: var(--site-gold-soft);
    padding: 0.15rem 0.1rem;
}

.site-acm-captcha__hint {
    margin-top: 0.7rem;
    color: #aeb8c7;
    font-size: 0.8rem;
    line-height: 1.5;
}

.site-acm-captcha__answer {
    margin-top: 0.8rem;
}

.site-acm-captcha__expiry {
    margin-top: 0.55rem;
    color: #7f8c9e;
    font-size: 0.72rem;
    line-height: 1.4;
}

.acm-side-login__status {
    margin-top: 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(216, 190, 130, 0.14);
    background: rgba(13, 16, 21, 0.48);
    padding: 0.85rem 0.95rem;
    font-size: 0.82rem;
    line-height: 1.55;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.acm-side-login__status.is-success {
    color: #b6e7c7;
    border-color: rgba(110, 231, 183, 0.24);
}

.acm-side-login__status.is-error {
    color: #f0d7d2;
    border-color: rgba(239, 155, 150, 0.24);
}

.acm-side-login__actions {
    margin-top: 1rem;
}

.acm-side-login__primary {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 1px solid rgba(229, 169, 60, 0.38);
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #e5a93c 0%, #be842a 100%);
    color: #111317;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.acm-side-login__primary:hover {
    color: #100a01;
    text-decoration: none;
    opacity: 0.95;
    transform: none;
    box-shadow: none;
}

.acm-side-login__primary:active {
    transform: scale(0.99);
}

.acm-side-login__links {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.acm-side-login__links a {
    flex: 1 1 0;
    text-align: center;
    color: #cfd7e2;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.acm-side-login__links a:hover {
    color: var(--site-gold-soft);
}

.acm-side-login__links--stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(229, 169, 60, 0.1);
}

.acm-side-login__links--stacked a {
    flex: none;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.site-acm-modal-open {
    overflow: hidden;
}

.site-acm-captcha-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(5, 6, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.site-acm-captcha-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.site-acm-captcha-modal {
    position: relative;
    width: min(100%, 31rem);
    border: 1px solid rgba(229, 169, 60, 0.22);
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(17, 19, 23, 0.97) 0%, rgba(8, 9, 11, 0.98) 100%);
    padding: 1.5rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 247, 223, 0.03),
        0 24px 48px rgba(0, 0, 0, 0.46);
}

.site-acm-captcha-modal__kicker {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--site-gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-acm-captcha-modal__title {
    margin: 0;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(195, 158, 103, 0.18);
    color: transparent;
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(90deg, #fff7df 0%, #f2ddab 48%, #cf9d43 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-acm-captcha-modal__copy {
    margin: 0.95rem 0 1rem;
    color: #aab3c2;
    font-size: 0.82rem;
    line-height: 1.55;
}

.site-acm-captcha-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 0.8rem;
    background: rgba(5, 6, 8, 0.9);
    color: #9aa6b6;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.site-acm-captcha-close:hover {
    border-color: rgba(229, 169, 60, 0.36);
    color: var(--site-gold-soft);
}

.site-acm-captcha-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.95), rgba(13, 16, 21, 0.9));
    margin-bottom: 0.95rem;
    padding: 1rem;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

.site-acm-captcha-display.is-loading {
    color: #9aa6b6;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-acm-captcha-display span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    margin: 0 0.12rem;
    color: #fff7df;
}

.site-acm-captcha-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--site-gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-acm-captcha-input {
    width: 100%;
    border: 1px solid rgba(71, 85, 105, 0.82);
    border-radius: 0.85rem;
    background: #08090b;
    color: #f1f5f9;
    padding: 0.9rem 1rem;
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.site-acm-captcha-input::placeholder {
    color: #64748b;
}

.site-acm-captcha-input:focus {
    border-color: rgba(229, 169, 60, 0.5);
}

.site-acm-captcha-status {
    margin-top: 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(195, 158, 103, 0.12);
    background: rgba(13, 16, 21, 0.72);
    padding: 0.8rem 0.95rem;
    font-size: 0.78rem;
    line-height: 1.5;
}

.site-acm-captcha-status.is-success {
    color: #b6e7c7;
    border-color: rgba(110, 231, 183, 0.24);
}

.site-acm-captcha-status.is-error {
    color: #f1cbc4;
    border-color: rgba(251, 146, 60, 0.26);
}

.site-acm-captcha-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(195, 158, 103, 0.14);
}

.site-acm-captcha-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-acm-captcha-secondary,
.site-acm-captcha-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.site-acm-captcha-secondary {
    border: 1px solid rgba(71, 85, 105, 0.8);
    background: #08090b;
    color: #d6dde8;
    padding: 0 1rem;
}

.site-acm-captcha-secondary:hover {
    border-color: rgba(229, 169, 60, 0.34);
    color: #fff7df;
}

.site-acm-captcha-primary {
    border: 1px solid rgba(229, 169, 60, 0.36);
    background: linear-gradient(90deg, #e5a93c 0%, #be842a 100%);
    color: #111317;
    padding: 0 1.15rem;
}

.site-acm-captcha-primary:hover {
    opacity: 0.95;
}

.news-title-spacer {
    width: min(100%, 420px);
    height: 1px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(195, 158, 103, 0) 0%, rgba(195, 158, 103, 0.32) 18%, rgba(229, 169, 60, 0.76) 50%, rgba(195, 158, 103, 0.32) 82%, rgba(195, 158, 103, 0) 100%);
    box-shadow: none;
    opacity: 0.9;
}

.status-tile {
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(24, 26, 33, 0.78), rgba(17, 19, 23, 0.94));
    padding: 0.95rem 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 224, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.18);
}

.status-tile__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9da8b7;
}

.status-tile__value {
    color: #f8fafc;
    font-size: 1.02rem;
    font-weight: 600;
}

.status-tile__value--online {
    color: #7dd3a7;
}

.status-tile__value--accent {
    color: var(--site-gold);
}

.top-overview-panel {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 1fr;
    align-items: start;
}

.top-overview-panel__intro {
    min-width: 0;
}

.top-overview-panel__highlights {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0.1rem;
}

.overview-highlight {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(216, 190, 130, 0.12);
    border-radius: 1rem;
    background: rgba(21, 24, 30, 0.66);
    padding: 0.95rem 1rem;
    color: #d6dde8;
    font-size: 0.92rem;
    line-height: 1.55;
}

.overview-highlight__mark {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--site-gold-soft), var(--site-gold-deep));
    box-shadow: none;
}

.top-monitor-grid {
    display: grid;
    gap: 1rem;
}

.status-shell--realm {
    background: rgba(17, 19, 23, 0.4) !important;
    border-color: rgba(195, 158, 103, 0.20) !important;
    box-shadow: none !important;
}

.status-shell--realm .top-overview-panel {
    gap: 1.2rem;
}

.monitor-card--diagnostic {
    background: rgba(13, 15, 18, 0.6) !important;
    border-color: rgba(30, 41, 59, 0.8) !important;
    box-shadow: none !important;
    padding: 1rem !important;
}

.monitor-card--diagnostic .monitor-card__section {
    min-width: 0;
}

.monitor-card--diagnostic .monitor-card__section--border {
    border-right: 1px solid rgba(30, 41, 59, 0.72);
    padding-right: 1rem;
}

.monitor-card--diagnostic .monitor-card__title {
    color: #f8fafc !important;
    text-shadow: none !important;
}

.monitor-node--obsidian {
    background: rgba(13, 15, 18, 0.6) !important;
    border-color: rgba(15, 23, 42, 0.95) !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    gap: 0.7rem !important;
    box-shadow: none !important;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.monitor-node--obsidian:hover {
    border-color: rgba(51, 65, 85, 0.8) !important;
    transform: translateY(-1px);
}

.monitor-node--obsidian .monitor-node__label {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: #cbd5e1 !important;
}

.monitor-node--shield .monitor-node__label {
    color: #91c7ef !important;
}

.monitor-node--obsidian .monitor-node__dot {
    width: 0.5rem;
    height: 0.5rem;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.monitor-node--obsidian .monitor-node__dot--shield {
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.7);
}

.monitor-region-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.5);
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.monitor-card {
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(17, 19, 23, 0.82), rgba(9, 10, 13, 0.74));
    padding: 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 224, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.1);
}

.monitor-card--split {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.monitor-card__section {
    min-width: 0;
}

.monitor-card__section--border {
    border-right: 1px solid rgba(216, 190, 130, 0.1);
    padding-right: 1rem;
}

.monitor-card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    font-family: "Cinzel", serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ece2c3;
    text-shadow: 0 0 14px rgba(216, 190, 130, 0.12);
    text-align: center;
}

.monitor-node-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.monitor-node {
    display: flex;
    min-height: 84px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px solid rgba(216, 190, 130, 0.12);
    border-radius: 0.95rem;
    background:
        linear-gradient(90deg, rgba(16, 12, 9, 0.42) 0%, rgba(16, 12, 9, 0.18) 60%, rgba(16, 12, 9, 0.08) 100%),
        linear-gradient(180deg, rgba(16, 20, 27, 0.3), rgba(12, 15, 20, 0.34));
}

.monitor-node--shield {
    border-color: rgba(110, 162, 214, 0.28);
}

.monitor-node__label {
    font-family: "Cinzel", serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e7e5e4;
}

.monitor-node--shield .monitor-node__label {
    color: #91b8de;
}

.monitor-node__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow:
        0 0 10px rgba(74, 222, 128, 0.88),
        0 0 18px rgba(74, 222, 128, 0.44);
    animation: statusPulse 1.8s ease-in-out infinite;
}

.monitor-node__dot--shield {
    background: #38bdf8;
    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.8),
        0 0 18px rgba(56, 189, 248, 0.34);
}

.monitor-region-pill {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #64748b;
    text-transform: uppercase;
}

.monitor-region-pill i {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
    vertical-align: middle;
}

.monitor-population-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 96px;
}

.monitor-online-box,
.monitor-chart-box {
    border: 1px solid rgba(123, 138, 160, 0.14);
    border-radius: 0.95rem;
    background:
        linear-gradient(90deg, rgba(16, 12, 9, 0.42) 0%, rgba(16, 12, 9, 0.18) 60%, rgba(16, 12, 9, 0.08) 100%),
        linear-gradient(180deg, rgba(16, 20, 27, 0.3), rgba(12, 15, 20, 0.34));
}

.monitor-online-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
}

.monitor-online-box__label {
    margin-bottom: 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8da0b7;
}

.monitor-online-box__value {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: #e5a93c;
    text-shadow: 0 0 10px rgba(229, 169, 60, 0.1);
}

.monitor-chart-box {
    position: relative;
    min-height: 96px;
    padding: 0.75rem;
    background: rgba(13, 15, 18, 0.4);
    border-color: rgba(15, 23, 42, 0.6);
    overflow: hidden;
}

.status-shell--realm .monitor-chart-box {
    display: flex;
    align-items: end;
    gap: 0.25rem;
}

.monitor-chart-box canvas {
    width: 100% !important;
    height: 100% !important;
}

.monitor-network-line {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8da0b7;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.monitor-network-line__label {
    color: #64748b;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.monitor-network-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.375rem;
    background: rgba(6, 46, 33, 0.6);
    padding: 0.125rem 0.625rem;
    color: #4ade80;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.monitor-network-badge__dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
    animation: statusPulse 1.8s ease-in-out infinite;
}

.monitor-network-badge__text {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.18);
}

.news-status-theme {
    background: rgba(17, 19, 23, 0.5) !important;
    border-color: rgba(30, 41, 59, 0.8) !important;
    box-shadow: none !important;
}

.news-status-theme .news-title-spacer {
    background:
        linear-gradient(90deg, rgba(216, 190, 130, 0) 0%, rgba(216, 190, 130, 0.3) 18%, rgba(242, 222, 174, 0.62) 50%, rgba(216, 190, 130, 0.3) 82%, rgba(216, 190, 130, 0) 100%);
    box-shadow: none;
}

.news-status-theme .cn-news-entry {
    border-color: rgba(30, 41, 59, 0.9) !important;
    background: rgba(8, 9, 11, 0.7) !important;
    box-shadow: none !important;
}

.news-status-theme > div > h2,
.news-status-theme h2.font-\[Cinzel\] {
    text-shadow:
        0 0 12px rgba(216, 190, 130, 0.1),
        0 0 24px rgba(216, 190, 130, 0.05);
}

.news-status-theme .cn-news-pagination__link,
.news-status-theme .cn-news-pagination__pages a,
.news-status-theme .cn-news-pagination__pages span {
    border-color: rgba(30, 41, 59, 1);
    background: #111317;
}

.news-status-theme .cn-news-pagination__link:hover,
.news-status-theme .cn-news-pagination__pages a:hover {
    border-color: rgba(229, 169, 60, 0.4);
    background: #111317;
}

.cn-news-shell {
    display: grid;
    gap: 1.5rem;
}

.cn-news-entry {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 41, 59, 0.9);
    border-radius: 1rem;
    background: rgba(8, 9, 11, 0.7);
    padding: 1.5rem;
    box-shadow: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cn-news-entry:hover {
    border-color: rgba(229, 169, 60, 0.4) !important;
    background: rgba(8, 9, 11, 0.78);
}

.cn-news-entry__accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    opacity: 0;
    background: linear-gradient(180deg, #e5a93c, #be842a);
    transition: opacity 0.3s ease;
}

.cn-news-entry:hover .cn-news-entry__accent {
    opacity: 1;
}

.cn-news-entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b8c2cf;
}

.cn-news-entry__date,
.cn-news-entry__author {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    border-radius: 0.375rem;
    padding: 0.25rem 0.7rem;
}

.cn-news-entry__date {
    gap: 0.375rem;
    border: 1px solid rgba(30, 41, 59, 1);
    background: rgba(2, 6, 23, 0.6);
    color: #e5a93c;
    box-shadow: none;
}

.cn-news-entry__author {
    background: rgba(15, 23, 42, 0.4);
    color: #94a3b8;
    box-shadow: none;
}

.cn-news-entry__pulse {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 999px;
    background: #f59e0b;
    animation: statusPulse 1.8s ease-in-out infinite;
}

.cn-news-entry__author strong {
    margin-left: 0.32rem;
    color: #cbd5e1;
    text-shadow: none;
    font-weight: 700;
}

.cn-news-entry__title {
    margin: 0 0 1rem;
    font-family: Inter, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.2;
    color: #f1f5f9;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-shadow: none;
    transition: color 0.2s ease;
}

.cn-news-entry:hover .cn-news-entry__title {
    color: #e5a93c !important;
}

.cn-news-entry__title a {
    color: inherit;
    text-decoration: none;
}

.cn-news-entry__body {
    margin-top: 0;
    max-width: 56rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.8;
}

.cn-news-paragraph,
.cn-news-entry__body p {
    margin-bottom: 1rem;
}

.cn-news-entry__body h2,
.cn-news-entry__body h3,
.cn-news-entry__body h4 {
    display: block;
    margin: 1.5rem 0 0.5rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.6);
    padding-bottom: 0.375rem;
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cn-news-tag {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
    vertical-align: 0.12em;
}

.cn-news-tag--new {
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(2, 44, 34, 0.6);
    color: #34d399;
}

.cn-news-tag--fix {
    border: 1px solid rgba(244, 63, 94, 0.3);
    background: rgba(76, 5, 25, 0.6);
    color: #fb7185;
}

.cn-news-tag--event {
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: rgba(69, 26, 3, 0.6);
    color: #f59e0b;
}

.cn-news-list {
    display: grid;
    gap: 0.5rem;
    margin: 0.85rem 0 1rem;
    padding-left: 0.5rem;
    list-style: none;
}

.cn-news-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.cn-news-list__mark {
    margin-top: 0.08rem;
    color: #e5a93c;
    font-size: 0.72rem;
    line-height: 1.6;
}

.cn-news-callout {
    margin: 1rem 0;
    border-left: 2px solid rgba(229, 169, 60, 0.6);
    border-radius: 0 0.75rem 0.75rem 0;
    background: rgba(2, 6, 23, 0.4);
    padding: 1rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-style: italic;
    line-height: 1.75;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.cn-news-entry__body strong,
.cn-news-entry__body b {
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
    padding-bottom: 0.125rem;
    color: #e2e8f0;
    font-weight: 650;
}

.cn-news-entry__body p:first-child {
    margin-top: 0;
}

.cn-news-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 1);
    padding-top: 1.5rem;
}

.cn-news-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(30, 41, 59, 1);
    border-radius: 0.75rem;
    background: #111317;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cn-news-pagination__link:hover {
    border-color: rgba(229, 169, 60, 0.4);
    color: #e5a93c;
}

.cn-news-pagination__link.is-disabled {
    border-color: rgba(15, 23, 42, 1);
    color: #475569;
    cursor: not-allowed;
    opacity: 0.3;
    pointer-events: none;
}

.cn-news-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
}

.cn-news-pagination__pages strong {
    color: #e5a93c;
    font-weight: 950;
}

.cn-news-pagination__arrow {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cn-news-pagination__link:hover .cn-news-pagination__arrow--prev {
    transform: translateX(-0.25rem);
}

.cn-news-pagination__link:hover .cn-news-pagination__arrow--next {
    transform: translateX(0.25rem);
}

.site-footer {
    position: relative;
    background: rgba(8, 10, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    width: min(820px, 74vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(229, 169, 60, 0.34), transparent);
    box-shadow: none;
    pointer-events: none;
}

.site-footer__inner {
    position: relative;
}

.site-footer__nav {
    position: relative;
}

.site-footer__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 0.75rem;
    background: rgba(4, 5, 7, 0.6);
    color: #cbd5e1;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.site-footer__chip:hover {
    border-color: rgba(229, 169, 60, 0.5);
    color: #e5a93c;
    background: rgba(8, 10, 13, 0.92);
    transform: translateY(-1px);
}

.site-footer__chip-icon {
    width: 0.875rem;
    height: 0.875rem;
    color: #e5a93c;
    flex-shrink: 0;
}

.legal-modal-open {
    overflow: hidden;
}

.legal-modal.hidden {
    display: none !important;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 1.25rem;
}

.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 22%, rgba(216, 190, 130, 0.08), transparent 42%),
        rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(7px);
}

.legal-modal__panel {
    position: relative;
    width: min(720px, 100%);
    max-height: min(760px, 86vh);
    overflow: auto;
    border: 1px solid rgba(216, 190, 130, 0.22);
    border-radius: 1.6rem;
    background:
        linear-gradient(145deg, rgba(17, 19, 23, 0.96), rgba(9, 10, 13, 0.98)),
        rgba(17, 19, 23, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 28px 90px rgba(0, 0, 0, 0.58);
    padding: clamp(1.25rem, 4vw, 2.25rem);
}

.legal-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(216, 190, 130, 0.2);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.82);
    color: #d6d3d1;
    font-size: 1.45rem;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.legal-modal__close:hover {
    border-color: rgba(216, 190, 130, 0.42);
    color: #f8fafc;
    transform: rotate(90deg);
}

.legal-modal__content {
    padding-right: 2.25rem;
}

.legal-modal__content h2 {
    margin: 0.25rem 0 1rem;
    font-family: Cinzel, serif;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.legal-modal__content p {
    margin: 0 0 1rem;
    color: #b8b0a6;
    font-size: 0.96rem;
    line-height: 1.85;
}

.legal-modal__content strong,
.legal-modal__content a {
    color: var(--site-gold-soft);
}

.legal-modal__eyebrow {
    margin: 0 !important;
    color: var(--site-gold) !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.legal-modal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    border: 1px solid rgba(216, 190, 130, 0.26);
    border-radius: 999px;
    background: linear-gradient(135deg, #e5a93c, #be842a);
    color: #111317 !important;
    padding: 0.8rem 1.15rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(195, 158, 103, 0.55) rgba(15, 23, 42, 0.45);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(229, 169, 60, 0.72), rgba(120, 83, 31, 0.72));
}

.cn-news-comment {
    margin-top: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1rem;
    background: rgba(20, 19, 20, 0.82);
    padding: 1rem 1.1rem;
}

.cn-news-comment__meta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
}

.cn-news-comment__body {
    margin-top: 0.8rem;
    color: #d6d3d1;
    line-height: 1.8;
}

.cn-news-form {
    margin-top: 1.25rem;
}

.cn-news-form__row {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.cn-news-form input,
.cn-news-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 1rem;
    background: rgba(20, 19, 20, 0.82);
    color: #f8fafc;
    padding: 0.95rem 1rem;
}

.cn-news-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.cn-news-form__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.cn-news-form__actions input[type="submit"] {
    width: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-wide {
        margin-top: 1.25rem;
    }

    .top-overview-panel,
    .monitor-card--split,
    .monitor-population-row,
    .top-overview-panel__highlights {
        grid-template-columns: 1fr;
    }

    .monitor-node-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monitor-card__section--border {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(123, 138, 160, 0.12);
        padding-bottom: 1rem;
    }

    .monitor-online-box__value {
        font-size: 1.9rem;
    }

    .cn-news-entry {
        padding: 1.2rem;
    }

    .cn-news-entry__title {
        font-size: 1.6rem;
    }

    .vote-tile,
    .vote-tile__label {
        min-height: 58px;
    }

    .acm-side-login__captcha {
        overflow: hidden;
    }
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.78; }
    100% { transform: scale(1); opacity: 1; }
}

/* L2Nexus website/account-panel color unification. Keep this last so Tailwind utility colors do not drift. */
body {
    color: #d9dde5;
}

header {
    background: rgba(13, 15, 18, 0.70) !important;
    border-color: rgba(195, 158, 103, 0.10) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0.35rem 0 0.45rem;
    color: #cbd5e1 !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: #e5a93c !important;
    outline: none;
}

.site-nav-link.is-active {
    color: #e5a93c !important;
}

.site-nav-link__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.site-nav-link:hover .site-nav-link__icon,
.site-nav-link:focus-visible .site-nav-link__icon {
    color: #e5a93c;
}

.site-nav-link.is-active .site-nav-link__icon,
.site-nav-link--discord .site-nav-link__icon {
    color: #e5a93c;
}

.site-nav-link__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: #e5a93c;
    transition: transform 0.3s ease;
}

.site-nav-link:hover .site-nav-link__line,
.site-nav-link:focus-visible .site-nav-link__line,
.site-nav-link.is-active .site-nav-link__line {
    transform: scaleX(1);
}

.site-nav-link--discord {
    color: #e5a93c !important;
}

.site-nav-link--discord:hover,
.site-nav-link--discord:focus-visible {
    color: #ffffff !important;
}

.l2-gold-frame,
.acm-side-login,
.news-status-theme,
.status-shell,
aside > section {
    background: linear-gradient(180deg, rgba(17, 19, 23, 0.80), rgba(9, 10, 13, 0.74)) !important;
    border-color: rgba(195, 158, 103, 0.20) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 18px 42px rgba(0, 0, 0, 0.34) !important;
}

.acm-side-login,
.sidebar-vote-panel {
    background: rgba(17, 19, 23, 0.5) !important;
    border-color: rgba(195, 158, 103, 0.20) !important;
    box-shadow: none !important;
}

.news-status-theme {
    background: rgba(17, 19, 23, 0.5) !important;
    border-color: rgba(195, 158, 103, 0.20) !important;
    box-shadow: none !important;
}

.status-shell--realm {
    background: rgba(17, 19, 23, 0.5) !important;
    border-color: rgba(195, 158, 103, 0.20) !important;
    box-shadow: none !important;
}

.acm-side-login__field,
.site-acm-captcha,
.site-acm-turnstile,
.status-tile,
.monitor-card,
.monitor-node,
.monitor-online-box,
.monitor-chart-box,
.cn-news-comment,
.cn-news-form input,
.cn-news-form textarea {
    background: linear-gradient(180deg, rgba(24, 26, 33, 0.76), rgba(17, 19, 23, 0.88)) !important;
    border-color: rgba(195, 158, 103, 0.16) !important;
}

.status-shell--realm .monitor-card--diagnostic {
    background: rgba(8, 9, 11, 0.8) !important;
    border-color: rgba(30, 41, 59, 0.8) !important;
    box-shadow: none !important;
    padding: 1.25rem !important;
}

.status-shell--realm .monitor-card__section--border {
    border-right: 0 !important;
    padding-right: 0 !important;
}

.status-shell--realm .monitor-card__section {
    min-width: 0 !important;
}

.status-shell--realm .monitor-node--obsidian {
    background: rgba(8, 9, 11, 1) !important;
    border-color: rgba(51, 65, 85, 0.8) !important;
    border-radius: 0.5rem !important;
    min-height: 75px !important;
    padding: 0.875rem !important;
    gap: 0.75rem !important;
    box-shadow: none !important;
}

.status-shell--realm .monitor-node--obsidian:hover {
    border-color: rgba(51, 65, 85, 0.8) !important;
    transform: translateY(-1px);
}

.status-shell--realm .monitor-node--obsidian .monitor-node__label {
    color: #cbd5e1 !important;
    font-size: 0.6875rem !important;
    line-height: 1 !important;
}

.status-shell--realm .monitor-node--shield .monitor-node__label {
    color: #91c7ef !important;
}

.status-shell--realm .monitor-node--obsidian .monitor-node__dot {
    width: 0.625rem !important;
    height: 0.625rem !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7) !important;
}

.status-shell--realm .monitor-node--obsidian .monitor-node__dot--shield {
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.7) !important;
}

.status-shell--realm .monitor-region-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    color: #64748b !important;
    font-size: 0.625rem !important;
    letter-spacing: 0.2em !important;
}

.status-shell--realm .monitor-region-pill {
    color: #64748b !important;
    font-size: 0.5625rem !important;
    letter-spacing: 0.2em !important;
}

.status-shell--realm .monitor-region-pill i {
    width: 4px !important;
    height: 4px !important;
    margin-left: 0.35rem !important;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.7) !important;
}

.status-shell--realm .monitor-population-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    min-height: 0 !important;
    grid-template-columns: none !important;
}

.status-shell--realm .monitor-online-box,
.status-shell--realm .monitor-chart-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.status-shell--realm .monitor-online-box__value {
    font-size: 1.875rem !important;
    font-weight: 900 !important;
    color: #e5a93c !important;
    text-shadow: none !important;
}

.status-shell--realm .monitor-chart-box {
    display: flex;
    align-items: end;
    gap: 0.25rem;
    overflow: hidden;
    height: 3rem !important;
    padding: 0 !important;
}

.status-shell--realm .monitor-network-line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
    border-top: 1px solid rgba(195, 158, 103, 0.20) !important;
    color: #8da0b7 !important;
    font-size: 0.625rem !important;
    letter-spacing: 0.2em !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.status-shell--realm .monitor-network-badge {
    background: rgba(6, 46, 33, 0.8) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #4ade80 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
    padding: 0.125rem 0.625rem !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.status-shell--realm .monitor-network-badge__dot {
    width: 0.375rem !important;
    height: 0.375rem !important;
    background: #4ade80 !important;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.65) !important;
}

.status-shell--realm .monitor-network-badge__text {
    color: #4ade80 !important;
    font-size: 0.625rem !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.18) !important;
}

.acm-side-login__field {
    background: rgba(13, 15, 18, 0.96) !important;
    border-color: rgba(51, 65, 85, 0.95) !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
}

.acm-side-login__field:focus-within {
    border-color: rgba(229, 169, 60, 0.5) !important;
}

.cn-news-entry {
    background: rgba(17, 19, 23, 0.4) !important;
    border-color: rgba(30, 41, 59, 0.8) !important;
}

.acm-side-login__field--input input,
.cn-news-form input,
.cn-news-form textarea {
    color: #f1f5f9 !important;
}

.acm-side-login__field--input input {
    background: transparent !important;
    border: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
}

.acm-side-login__field--input input::placeholder {
    color: #94a3b8 !important;
}

.acm-side-login__field--input input:focus::placeholder {
    color: transparent !important;
}

.acm-side-login__field--input input:-webkit-autofill,
.acm-side-login__field--input input:-webkit-autofill:hover,
.acm-side-login__field--input input:-webkit-autofill:focus,
.acm-side-login__field--input input:-webkit-autofill:active {
    -webkit-text-fill-color: #f1f5f9 !important;
    caret-color: #f1f5f9 !important;
    box-shadow: 0 0 0px 1000px #08090b inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #08090b inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.acm-side-login__primary,
.cn-news-form__actions input[type="submit"] {
    background: linear-gradient(90deg, #e5a93c, #be842a) !important;
    border-color: rgba(229, 169, 60, 0.40) !important;
    color: #111317 !important;
    box-shadow: none !important;
}

.text-yellow-400\/90,
.cn-news-entry__date,
.site-acm-captcha__badge,
.site-acm-turnstile__title,
.acm-side-login__toggle,
.monitor-online-box__value,
.status-tile__value--accent {
    color: #e5a93c !important;
}

.text-slate-50,
.monitor-card__title {
    color: #fff7df !important;
}

.text-slate-400,
.text-stone-400,
.cn-news-entry__body,
.site-acm-captcha__hint,
.site-acm-turnstile__copy {
    color: #aab3c2 !important;
}

.news-title-spacer {
    background: linear-gradient(90deg, transparent, rgba(195, 158, 103, 0.34), rgba(229, 169, 60, 0.78), rgba(195, 158, 103, 0.34), transparent) !important;
}

.stats-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 1.7rem;
    padding: 1.6rem;
    background: linear-gradient(180deg, rgba(17, 19, 23, 0.86), rgba(9, 10, 13, 0.78));
}

.stats-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(229, 169, 60, 0.9);
}

.stats-title {
    margin-top: 0.55rem;
    font-family: "Cinzel", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    color: #fff7df;
}

.stats-copy {
    margin-top: 0.8rem;
    max-width: 48rem;
    color: #aab3c2;
    line-height: 1.7;
}

.stats-hero__badge {
    min-width: 10rem;
    border: 1px solid rgba(195, 158, 103, 0.18);
    border-radius: 1.4rem;
    background: rgba(9, 10, 13, 0.62);
    padding: 1rem;
    text-align: center;
}

.stats-hero__badge span {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 2rem;
    color: #f5d58f;
}

.stats-hero__badge small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8792a2;
}

.stats-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.25rem 0;
}

.stats-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 999px;
    background: rgba(17, 19, 23, 0.58);
    padding: 0.72rem 1rem;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stats-tabs a:hover,
.stats-tabs a.is-active {
    border-color: rgba(229, 169, 60, 0.38);
    background: rgba(24, 26, 33, 0.82);
    color: #f5d58f;
    box-shadow: none;
}

.stats-empty {
    border-radius: 1.7rem;
    padding: 2rem;
    text-align: center;
}

.stats-empty h2 {
    margin-top: 0.65rem;
    font-family: "Cinzel", serif;
    font-size: 1.65rem;
    color: #fff7df;
}

.stats-empty p:last-child {
    margin: 0.8rem auto 0;
    max-width: 42rem;
    color: #aab3c2;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.stats-grid--summary {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.stats-summary-card,
.stats-card {
    overflow: hidden;
    border-radius: 1.45rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.stats-summary-card:hover,
.stats-card:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 169, 60, 0.34) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 20px 44px rgba(0, 0, 0, 0.38) !important;
}

.stats-summary-card {
    position: relative;
    padding: 1.25rem;
}

.stats-summary-card p {
    color: #8994a4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stats-summary-card strong {
    display: block;
    margin-top: 0.65rem;
    font-family: "Cinzel", serif;
    font-size: 2rem;
    color: #fff7df;
}

.stats-status-dot {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #94a3b8;
}

.stats-status-dot--online {
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.48);
}

.stats-card__media {
    position: relative;
    min-height: 9.5rem;
    background:
        radial-gradient(circle at center, rgba(229, 169, 60, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(24, 26, 33, 0.96), rgba(9, 10, 13, 0.96));
}

.stats-card__media img {
    width: 100%;
    height: 100%;
    min-height: 9.5rem;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.stats-card:hover .stats-card__media img {
    transform: scale(1.045);
    opacity: 0.9;
}

.stats-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(9, 10, 13, 0.88) 100%);
}

.stats-card__level {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    z-index: 1;
    border: 1px solid rgba(229, 169, 60, 0.26);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.78);
    padding: 0.35rem 0.65rem;
    color: #f5d58f;
    font-size: 0.72rem;
    font-weight: 800;
}

.stats-card__body {
    padding: 1.05rem;
}

.stats-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.stats-card__top h2 {
    font-family: "Cinzel", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff7df;
}

.stats-card__top > span:not(.stats-pill) {
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.52);
    padding: 0.28rem 0.55rem;
    color: #f5d58f;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.stats-card__facts {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.stats-card__facts div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    padding-top: 0.6rem;
}

.stats-card__facts dt {
    color: #7f8a9a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stats-card__facts dd {
    color: #e5e7eb;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
}

.stats-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 999px;
    background: rgba(9, 10, 13, 0.58);
    padding: 0.32rem 0.58rem;
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.stats-pill--alive {
    border-color: rgba(74, 222, 128, 0.28);
    color: #86efac;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.08);
}

.stats-table {
    overflow: hidden;
    border-radius: 1.45rem;
}

.stats-row {
    display: grid;
    grid-template-columns: 3rem minmax(160px, 1.4fr) minmax(140px, 1fr) repeat(4, minmax(76px, 0.55fr));
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    padding: 0.95rem 1.1rem;
    color: #aeb8c6;
    font-size: 0.86rem;
}

.stats-row--oly {
    grid-template-columns: 3rem minmax(150px, 1.3fr) minmax(140px, 1fr) repeat(5, minmax(76px, 0.55fr));
}

.stats-row:last-child {
    border-bottom: 0;
}

.stats-row strong {
    color: #fff7df;
}

.stats-row--head {
    background: rgba(24, 26, 33, 0.5);
    color: #f5d58f;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stats-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.stats-pagination a,
.stats-pagination span,
.stats-pagination strong {
    border: 1px solid rgba(195, 158, 103, 0.16);
    border-radius: 999px;
    background: rgba(17, 19, 23, 0.62);
    padding: 0.65rem 0.95rem;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 800;
}

.stats-pagination a:hover,
.stats-pagination strong {
    border-color: rgba(229, 169, 60, 0.38);
    color: #f5d58f;
}

/* Castle siege roster cards */
.castle-siege-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.castle-siege-card {
    overflow: hidden;
    border: 1px solid rgba(195, 158, 103, 0.18);
    border-radius: 1.25rem;
    background: rgba(13, 15, 18, 0.78);
    transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.castle-siege-card:hover {
    border-color: rgba(229, 169, 60, 0.48);
    background: rgba(13, 15, 18, 0.92);
    transform: translateY(-2px);
}

.castle-siege-card__media {
    position: relative;
    min-height: 9.75rem;
    overflow: hidden;
    background: #080a0d;
}

.castle-siege-card__media img {
    width: 100%;
    height: 9.75rem;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.castle-siege-card:hover .castle-siege-card__media img {
    transform: scale(1.045);
    opacity: 0.94;
}

.castle-siege-card__media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.08) 15%, rgba(5, 6, 8, 0.92) 100%);
}

.castle-siege-card__title {
    position: absolute;
    right: 1rem;
    bottom: 0.85rem;
    left: 1rem;
}

.castle-siege-card__title span,
.castle-siege-card__label {
    display: block;
    color: #9ba4b2;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.castle-siege-card__title h2 {
    margin-top: 0.25rem;
    color: #fff7df;
    font-family: "Cinzel", serif;
    font-size: 1.18rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.castle-siege-card__body {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.castle-siege-card__owner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(195, 158, 103, 0.14);
}

.castle-siege-card__crest {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(229, 169, 60, 0.28);
    border-radius: 0.65rem;
    background: #050608;
    object-fit: contain;
}

.castle-siege-card__crest--empty {
    color: rgba(229, 169, 60, 0.72);
    font-size: 0.9rem;
}

.castle-siege-card__owner strong,
.castle-siege-card__schedule strong {
    display: block;
    margin-top: 0.2rem;
    overflow: hidden;
    color: #d8dee8;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.castle-siege-card__tax {
    margin-left: auto;
    color: #d4a342;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.castle-siege-card__schedule {
    position: relative;
    padding: 0.85rem;
    border: 1px solid rgba(229, 169, 60, 0.16);
    border-radius: 0.8rem;
    background: rgba(17, 19, 23, 0.58);
}

.castle-siege-card__schedule strong {
    color: #f5d58f;
    font-size: 0.88rem;
}

.castle-siege-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.castle-siege-card__metrics div {
    min-width: 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.65rem;
    background: rgba(5, 6, 8, 0.48);
}

.castle-siege-card__metrics dt {
    color: #7f8a9a;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.castle-siege-card__metrics dd {
    margin-top: 0.3rem;
    overflow: hidden;
    color: #d8dee8;
    font-size: 0.72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.castle-siege-card__status {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    color: #9ba4b2;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.castle-siege-card__status.is-scheduled {
    color: #7dd3a7;
}

.castle-siege-card__rosters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.castle-siege-card__rosters > div {
    min-width: 0;
    padding: 0.7rem;
    border-radius: 0.7rem;
    background: rgba(5, 6, 8, 0.72);
}

.castle-siege-card__rosters ul,
.castle-siege-card__rosters p {
    margin: 0.45rem 0 0;
    color: #aab3c2;
    font-size: 0.7rem;
    line-height: 1.45;
}

.castle-siege-card__rosters ul {
    padding-left: 0;
    list-style: none;
}

.castle-siege-card__rosters li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.castle-siege-card__rosters li::before {
    margin-right: 0.35rem;
    color: #d4a342;
    content: "•";
}

@media (max-width: 1100px) {
    .castle-siege-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .castle-siege-grid {
        grid-template-columns: 1fr;
    }
}

/* Tournament-board presentation for the full castle dossiers */
.castle-siege-card {
    background: #0d0e14;
    border-color: #1b1e26;
    border-radius: 1rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.castle-siege-card:hover {
    border-color: rgba(212, 163, 66, 0.42);
}

.castle-siege-card__media {
    min-height: 14rem;
    height: 14rem;
}

.castle-siege-card__media img {
    height: 14rem;
}

.castle-siege-card__media-shade {
    background: linear-gradient(180deg, rgba(13, 14, 20, 0.08), rgba(13, 14, 20, 0.5) 45%, #0d0e14 100%);
}

.castle-siege-card__title span,
.castle-siege-card__label {
    color: #8f96a3;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
}

.castle-siege-card__title span {
    color: #d4a342;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.castle-siege-card__title h2 {
    color: #e2e6ec;
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.castle-siege-card__media > .castle-siege-card__tax {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
    padding: 0.4rem 0.7rem;
    border: 1px solid #1b1e26;
    border-radius: 0.6rem;
    background: rgba(5, 6, 8, 0.82);
    color: #d4a342;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.castle-siege-card__body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.15rem;
    background: #0d0e14;
}

.castle-siege-card__module {
    display: flex;
    min-width: 0;
    min-height: 5.25rem;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.9rem;
    border: 1px solid #1b1e26;
    border-radius: 0.75rem;
    background: rgba(5, 6, 8, 0.7);
}

.castle-siege-card__module--owner,
.castle-siege-card__module--schedule {
    border-color: rgba(212, 163, 66, 0.2);
}

.castle-siege-card__module strong {
    color: #d8dee8;
    font-size: 0.82rem;
    font-weight: 800;
}

.castle-siege-card__module small {
    color: #8f96a3;
    font-size: 0.68rem;
    line-height: 1.4;
}

.castle-siege-card__owner {
    padding: 0;
    border-bottom: 0;
}

.castle-siege-card__schedule {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
}

.castle-siege-card__schedule strong {
    color: #f3c669;
}

.castle-siege-card__status {
    position: static;
    align-self: flex-start;
    padding: 0.25rem 0.45rem;
    border-radius: 0.3rem;
    background: #1b1e26;
    color: #d4a342;
    font-size: 0.58rem;
}

.castle-siege-card__status.is-scheduled {
    color: #f3c669;
}

.castle-siege-card__rosters {
    display: contents;
}

.castle-siege-card__module--roster {
    min-height: 6rem;
}

.castle-siege-card__rosters ul,
.castle-siege-card__rosters p {
    margin-top: 0.1rem;
}

/* Keep castle dossiers readable: a shallow banner and a responsive 2/3-column data grid. */
.castle-siege-card__media,
.castle-siege-card__media img {
    height: 180px;
    min-height: 180px;
}

.castle-siege-card__media-shade {
    top: 25%;
    background: linear-gradient(to top, #0d0e14 0%, rgba(13, 14, 20, 0.9) 55%, transparent 100%);
}

.castle-siege-card__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem;
    background: #0d0e14;
}

@media (min-width: 768px) {
    .castle-siege-card__body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .castle-siege-card__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .castle-siege-card__media,
    .castle-siege-card__media img {
        height: 11rem;
        min-height: 11rem;
    }

    .castle-siege-card__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .stats-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-hero__badge {
        width: 100%;
    }

    .stats-table {
        overflow-x: auto;
    }

    .stats-row {
        min-width: 780px;
    }
}

@media (max-width: 640px) {
    .castle-siege-card__media,
    .castle-siege-card__media img {
        height: 180px;
        min-height: 180px;
    }
}


/* ==========================================================================
   ACM Luxury Typography, 3-Card Realm Showcase & Filigree Shortcut Bar
   ========================================================================== */

.cn-news-entry__title,
.l2-gold-frame h2,
.l2-gold-frame h3,
.portal-section-title {
    font-family: 'Cinzel', 'Noto Serif', Georgia, serif;
    color: #f6eedc;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.cn-news-entry__body {
    font-family: 'Noto Serif', 'Inter', Georgia, serif;
    color: #d6cfbf;
    line-height: 1.7;
}

.cn-news-entry__date,
.l2-gold-accent {
    color: #e5a93c;
}

/* 3-Card Realm Showcase */
.nc-acm-cards-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.nc-acm-event-card {
    position: relative;
    height: 320px;
    background: #0a1024;
    border: 1px solid rgba(195, 158, 103, 0.20);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nc-acm-event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 169, 60, 0.55);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.nc-acm-event-link {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.nc-acm-event-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../ncsoft/event_banner_mask_pc.png') center top / 100% auto no-repeat;
    pointer-events: none;
    z-index: 3;
}

.nc-acm-event-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 28px;
    background: url('../ncsoft/event_banner_deco_pc.png') center top / auto 100% no-repeat;
    pointer-events: none;
    z-index: 4;
}

.nc-acm-event-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nc-acm-event-tag {
    display: inline-block;
    padding: 3px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #f6eedc;
    background: rgba(8, 11, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.nc-acm-event-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.45s ease;
}

.nc-acm-event-card:hover .nc-acm-event-img {
    transform: scale(1.04);
}

.nc-acm-event-plaque {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.nc-acm-event-plaque--blue {
    background: radial-gradient(circle at 50% 0%, rgba(28, 66, 130, 0.45), rgba(8, 13, 28, 0.96) 72%);
    border-top: 1px solid rgba(90, 145, 235, 0.35);
}

.nc-acm-event-plaque--purple {
    background: radial-gradient(circle at 50% 0%, rgba(108, 42, 138, 0.45), rgba(14, 9, 26, 0.96) 72%);
    border-top: 1px solid rgba(180, 95, 215, 0.35);
}

.nc-acm-event-plaque--green {
    background: radial-gradient(circle at 50% 0%, rgba(30, 102, 78, 0.45), rgba(8, 18, 15, 0.96) 72%);
    border-top: 1px solid rgba(72, 185, 140, 0.35);
}

.nc-acm-event-sub {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cfa968;
    margin-bottom: 4px;
}

.nc-acm-event-main {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f6eedc;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.nc-acm-event-bottom {
    position: relative;
    z-index: 4;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: url('../ncsoft/event_banner_title_bg_pc.png') center / 100% 100% no-repeat;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    color: #e8dcc4;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Golden-Bronze Filigree Shortcut Bar */
.nc-acm-shortcut-wrap {
    max-width: 820px;
    margin: 0 auto 24px;
    padding: 0 12px;
}

.nc-acm-shortcut-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 24px;
    background: url('../ncsoft/news_shortcut_bg_pc.png') center / 100% 100% no-repeat;
}

.nc-acm-shortcut-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: 'Noto Serif', 'Cinzel', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    color: #f6eedc;
    text-decoration: none;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nc-acm-shortcut-item:hover {
    color: #f3c669;
    text-shadow: 0 0 10px rgba(243, 198, 105, 0.45);
}

.nc-acm-shortcut-item:not(:first-child)::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 14px;
    margin-left: -10px;
    background: url('../ncsoft/news_shortcut_dot_pc.png') center / contain no-repeat;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .nc-acm-cards-row {
        grid-template-columns: 1fr;
    }

    .nc-acm-shortcut-bar {
        background-size: cover;
        padding: 12px 14px;
        gap: 4px 0;
    }
}


/* NCSoft Top-Center Golden Filigree Crest on Portal Panels */
.l2-gold-frame,
.acm-side-login,
.news-status-theme,
.status-shell,
aside > section {
    position: relative;
    border-top-color: rgba(229, 169, 60, 0.42) !important;
}

.l2-gold-frame::before,
.acm-side-login::before,
.news-status-theme::before,
.status-shell::before,
aside > section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 26px;
    background: url('../ncsoft/event_banner_deco_pc.png') no-repeat center top;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 6;
}


/* ==========================================================================
   NCSoft Navbar Download CTA, Diamond Bullets, Filigree Buttons & News Polish
   ========================================================================== */

.nc-portal-download-btn {
    display: inline-block;
    width: 132px;
    height: 38px;
    background: url('../ncsoft/btn-download-en.png') center / contain no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    flex-shrink: 0;
    transition: background-image 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.nc-portal-download-btn:hover {
    background-image: url('../ncsoft/btn-download-hover-en.png');
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 12px rgba(229, 169, 60, 0.28));
}

.nc-section-deco-line {
    width: 150px;
    height: 18px;
    margin-top: -10px;
    margin-bottom: 18px;
    background: url('../ncsoft/decoration-bar_pc.webp') left center / contain no-repeat;
    opacity: 0.9;
}

.portal-nav-dropdown-item,
.acm-side-login__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-nav-dropdown-item::before,
.acm-side-login__links a::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: url('../ncsoft/nav_blt.webp') center / contain no-repeat;
    opacity: 0.88;
}

.acm-side-login__primary {
    background: url('../ncsoft/btn_filigree_blank.png') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #f6eedc !important;
    font-family: 'Cinzel', 'Noto Serif', serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.acm-side-login__primary:hover {
    filter: brightness(1.18) drop-shadow(0 4px 14px rgba(229, 169, 60, 0.3));
    color: #f3c669 !important;
    transform: translateY(-1px);
}

.nc-news-badge-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.nc-news-page-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nc-news-page-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('../ncsoft/pagination_blt.webp') center / contain no-repeat;
    opacity: 0.78;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nc-news-page-dot:hover {
    opacity: 1;
    transform: scale(1.15);
}

.nc-news-page-dot.is-active {
    background-image: url('../ncsoft/pagination_blt_on.webp');
    opacity: 1;
    transform: scale(1.2);
}

.nc-news-arrow-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.nc-news-arrow-img--prev {
    transform: none;
}

.nc-news-arrow-img--next {
    transform: rotate(180deg);
}

.cn-news-pagination__link.is-disabled {
    color: #7e8799 !important;
    opacity: 0.72;
}

.nc-navbar-filigree-btn {
    background: url('../ncsoft/btn_filigree_blank.png') center / 100% 100% no-repeat;
    color: #f6eedc;
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    min-height: 38px;
    padding: 0 18px;
    border: 0;
    transition: filter 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nc-navbar-filigree-btn:hover {
    filter: brightness(1.18) drop-shadow(0 4px 12px rgba(229, 169, 60, 0.28));
    color: #f3c669;
    transform: translateY(-1px);
}

/* Official NCSoft 43x43 Golden Spearhead Scroll-to-Top Button */
.nchome-btn-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 8500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nchome-btn-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nchome-btn-top .btn-top {
    display: block;
    width: 43px;
    height: 43px;
    background: url('../ncsoft/btn_top.png') no-repeat 50% 0 / cover;
    text-indent: -9999px;
    overflow: hidden;
    border: 0;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.nchome-btn-top .btn-top:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}


/* ==========================================================================
   Realm Features Strip, How-to-Start Steps & Discord Community Callout
   ========================================================================== */

.nc-realm-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nc-pillar-card {
    padding: 20px 18px 18px;
    border-radius: 14px;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.nc-pillar-card:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 169, 60, 0.45) !important;
}

.nc-pillar-card__kicker {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e5a93c;
    margin-bottom: 6px;
}

.nc-pillar-card__title {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 18px;
    font-weight: 700;
    color: #f6eedc;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.nc-pillar-card__sub {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 12.5px;
    color: #b8b2a4;
}

.nc-start-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.nc-start-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease;
    text-align: left;
}

.nc-start-step:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 169, 60, 0.5) !important;
}

.nc-start-step__num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(229, 169, 60, 0.35);
    background: rgba(229, 169, 60, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #f3c669;
}

.nc-start-step__title {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 14px;
    font-weight: 700;
    color: #f6eedc;
    letter-spacing: 0.04em;
}

.nc-start-step__desc {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 12px;
    color: #b8b2a4;
    margin-top: 2px;
}

.nc-discord-callout {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 26px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background:
        linear-gradient(90deg, rgba(8, 10, 16, 0.94) 0%, rgba(10, 14, 22, 0.84) 55%, rgba(8, 10, 16, 0.94) 100%),
        url('../ncsoft/plaync_story_siege_orig.jpg') center / cover no-repeat !important;
}

.nc-discord-callout__kicker {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e5a93c;
    margin-bottom: 4px;
}

.nc-discord-callout__title {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 22px;
    font-weight: 700;
    color: #f6eedc;
    letter-spacing: 0.05em;
}

.nc-discord-callout__desc {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 13.5px;
    color: #d6cfbf;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .nc-realm-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nc-start-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nc-realm-pillars {
        grid-template-columns: 1fr;
    }

    .nc-discord-callout {
        padding: 22px 20px;
    }
}


/* ==========================================================================
   Lineage II Classic Live World Chat UI
   ========================================================================== */

.l2-chat-window {
    background: linear-gradient(180deg, rgba(11, 13, 19, 0.90) 0%, rgba(7, 8, 12, 0.94) 100%) !important;
}

.l2-chat-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid rgba(195, 158, 103, 0.16);
    background: rgba(9, 11, 16, 0.72);
}

.l2-chat-title {
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 16px;
    font-weight: 700;
    color: #f6eedc;
    letter-spacing: 0.06em;
    margin: 0;
}

.l2-chat-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #969eae;
    margin: 2px 0 0;
}

.l2-chat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.l2-chat-tab {
    padding: 5px 12px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a4acb9;
    background: rgba(15, 18, 25, 0.85);
    border: 1px solid rgba(195, 158, 103, 0.22);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.l2-chat-tab:hover {
    color: #f6eedc;
    border-color: rgba(229, 169, 60, 0.5);
}

.l2-chat-tab.is-active {
    color: #f3c669;
    background: rgba(229, 169, 60, 0.14);
    border-color: rgba(229, 169, 60, 0.65);
    box-shadow: 0 0 10px rgba(229, 169, 60, 0.16);
}

.l2-chat-feed {
    height: 255px;
    overflow-y: auto;
    padding: 12px 18px;
    background: rgba(5, 7, 11, 0.86);
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    font-size: 13px;
    line-height: 1.62;
    scrollbar-width: thin;
    scrollbar-color: rgba(195, 158, 103, 0.35) transparent;
}

.l2-chat-feed::-webkit-scrollbar {
    width: 6px;
}

.l2-chat-feed::-webkit-scrollbar-thumb {
    background: rgba(195, 158, 103, 0.35);
    border-radius: 999px;
}

.l2-chat-line {
    padding: 2px 0;
    word-break: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.l2-chat-time {
    color: #7c8496;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.l2-ch-announce { color: #56e2f2; }
.l2-ch-trade    { color: #e497f7; }
.l2-ch-shout    { color: #f6a96f; }
.l2-ch-hero     { color: #7ebcff; }
.l2-ch-event    { color: #f3c669; }

.l2-chat-empty {
    color: #828a9a;
    font-size: 12.5px;
    padding: 20px 0;
    text-align: center;
}

.l2-chat-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 18px;
    border-top: 1px solid rgba(195, 158, 103, 0.14);
    background: rgba(9, 11, 16, 0.82);
    font-size: 11px;
}

.l2-chat-status {
    color: #8c95a6;
}

.l2-chat-legend {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 600;
}

/* Bottom-Right Glued L2 Classic Chat Dock */
.l2-chat-header--dock {
    padding: 12px 14px 10px;
    gap: 8px;
}

.l2-chat-header--dock .l2-chat-title {
    font-size: 14px;
}

.l2-chat-tabs--dock {
    width: 100%;
    gap: 4px;
}

.l2-chat-tabs--dock .l2-chat-tab {
    padding: 3px 8px;
    font-size: 10px;
}

.l2-chat-feed--dock {
    height: 205px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.55;
}

.l2-chat-dock.is-minimized .l2-chat-tabs,
.l2-chat-dock.is-minimized .l2-chat-feed,
.l2-chat-dock.is-minimized .l2-chat-footer {
    display: none;
}

@media (min-width: 1024px) {
    .nchome-btn-top {
        right: 422px;
    }
}

/* ==========================================================================
   1:1 Real Lineage II Classic Chat Window (L2UI_CH3.ChatWnd Textures)
   ========================================================================== */

.l2-real-chat__shell {
    position: relative;
    padding-top: 8px;
}

.l2-real-chat__size {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 12px;
    border: 0;
    padding: 0;
    background: url('../l2ui/chat/chatting_sizecontrol.png') center bottom / contain no-repeat;
    cursor: ns-resize;
    z-index: 4;
}

.l2-real-chat__size:hover {
    background-image: url('../l2ui/chat/chatting_sizecontrol_over.png');
}

.l2-real-chat__feed {
    height: 185px;
    overflow-y: auto;
    padding: 8px 10px;
    background: rgba(8, 10, 14, 0.78);
    border: 1px solid #6b6457;
    border-bottom: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 14px rgba(0, 0, 0, 0.75),
        0 8px 28px rgba(0, 0, 0, 0.65);
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.44;
    scrollbar-width: thin;
    scrollbar-color: #7d7567 rgba(12, 14, 18, 0.8);
    transition: height 0.2s ease;
}

.l2-real-chat.is-tall .l2-real-chat__feed {
    height: 295px;
}

.l2-real-chat__feed::-webkit-scrollbar {
    width: 8px;
}

.l2-real-chat__feed::-webkit-scrollbar-track {
    background: rgba(12, 14, 18, 0.85);
    border-left: 1px solid #3d3932;
}

.l2-real-chat__feed::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b8273, #554f45);
    border: 1px solid #2b2822;
}

.l2-real-chat__line {
    padding: 1px 0;
    word-break: break-word;
    text-shadow: 1px 1px 0 #000000, 0 0 2px rgba(0, 0, 0, 0.9);
}

.l2-real-chat__time {
    color: #9b9589;
    font-size: 11px;
}

.l2-real-ch--announce { color: #80ffff; }
.l2-real-ch--trade    { color: #ea99ff; }
.l2-real-ch--shout    { color: #ff8c3a; }
.l2-real-ch--hero     { color: #78b4ff; }
.l2-real-ch--event    { color: #f3d06b; }

.l2-real-chat__empty {
    color: #9a9488;
    font-size: 11.5px;
    padding: 18px 4px;
    text-align: center;
    text-shadow: 1px 1px 0 #000;
}

.l2-real-chat__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 24px;
    padding: 0 6px 0 8px;
    background: url('../l2ui/chat/chatting_back2.png') center / 100% 100% no-repeat;
    border-left: 1px solid #6b6457;
    border-right: 1px solid #6b6457;
    border-top: 1px solid #3c3831;
}

.l2-real-chat__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ee68a;
    box-shadow: 0 0 6px #3ee68a;
    flex-shrink: 0;
}

.l2-real-chat__status {
    flex: 1 1 auto;
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    font-size: 11px;
    color: #eae4d8;
    text-shadow: 1px 1px 0 #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l2-real-chat__opt {
    width: 18px;
    height: 18px;
    border: 0;
    padding: 0;
    flex-shrink: 0;
    background: url('../l2ui/chat/chatting_option1.png') center / contain no-repeat;
    cursor: pointer;
}

.l2-real-chat__opt:hover {
    background-image: url('../l2ui/chat/chatting_option1_over.png');
}

.l2-real-chat__tabs {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    padding: 0 4px;
    height: 23px;
    background: url('../l2ui/chat/chatting_tab3.png') left top / 100% 3px no-repeat;
}

.l2-real-chat__tab {
    flex: 1 1 0;
    height: 21px;
    border: 0;
    padding: 0 4px 2px;
    background: url('../l2ui/chat/chatting_tab2.png') center / 100% 100% no-repeat;
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #c2bbb0;
    text-shadow: 1px 1px 0 #000;
    cursor: pointer;
    transition: color 0.15s ease;
}

.l2-real-chat__tab:hover {
    background-image: url('../l2ui/chat/chatting_tab2_over.png');
    color: #ffffff;
}

.l2-real-chat__tab.is-active {
    background-image: url('../l2ui/chat/chatting_tab1.png');
    color: #fff6d6;
    font-weight: 700;
}

.l2-real-chat.is-minimized .l2-real-chat__feed {
    display: none;
}

/* Desktop-Only Portal Lock (No Mobile Layout) */
html, body {
    min-width: 1240px;
}

.nc-acm-cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.nc-acm-shortcut-bar {
    background: url('../ncsoft/news_shortcut_bg_pc.png') center / 100% 100% no-repeat !important;
    padding: 10px 24px !important;
}

.nchome-btn-top {
    right: 24px !important;
    bottom: 22px !important;
}
body:has(#l2-live-chat-dock) .nchome-btn-top {
    right: 440px !important;
}

/* ==========================================================================
   NCSoft News Texture, L2 Metallic Monitor Bezels & Footer Wordmark
   ========================================================================== */

.cn-news-entry {
    background:
        linear-gradient(180deg, rgba(8, 10, 15, 0.88) 0%, rgba(7, 9, 13, 0.94) 100%),
        url('../ncsoft/news_bg_pc.jpg') center top / cover no-repeat !important;
}

.monitor-node--obsidian {
    border-color: #5b5448 !important;
    background: linear-gradient(180deg, rgba(16, 19, 25, 0.92) 0%, rgba(8, 10, 14, 0.96) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 10px rgba(0, 0, 0, 0.65);
}

.monitor-node--obsidian .monitor-node__label {
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    color: #eae4d8;
    text-shadow: 1px 1px 0 #000;
}

/* ==========================================================================
   Global Gold-Bronze Scrollbar, Selection, Vote Tile Bezels & Modal Polish
   ========================================================================== */

::selection {
    background: rgba(229, 169, 60, 0.35);
    color: #fff8e6;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #07080c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6d593a, #3b3122);
    border: 1px solid #1e1a14;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a6844e, #665132);
}

.vote-tile {
    border: 1px solid #5b5448 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vote-tile:hover {
    border-color: rgba(229, 169, 60, 0.65) !important;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px rgba(0, 0, 0, 0.6);
}

.vote-tile__label {
    font-family: 'Cinzel', 'Noto Serif', serif !important;
    color: #f6eedc !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

#portalAuthModal button[type="submit"] {
    background: url('../ncsoft/btn_filigree_blank.png') center / 100% 100% no-repeat !important;
    border: 0 !important;
    color: #f6eedc !important;
    font-family: 'Cinzel', 'Noto Serif', serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    min-height: 44px;
    transition: filter 0.2s ease, color 0.2s ease;
}

#portalAuthModal button[type="submit"]:hover {
    filter: brightness(1.18) drop-shadow(0 4px 12px rgba(229, 169, 60, 0.28));
    color: #f3c669 !important;
}

.l2-real-chat__panel {
    border: 1px solid rgba(195, 158, 103, 0.28) !important;
    background: linear-gradient(180deg, rgba(16, 18, 24, 0.92), rgba(8, 9, 13, 0.96)) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.l2-real-chat__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(195, 158, 103, 0.18);
    padding: 4px 2px 10px;
    margin-bottom: 8px;
    cursor: pointer;
    user-select: none;
}

.l2-real-chat.is-minimized .l2-real-chat__panel-head {
    margin-bottom: 0;
    padding-bottom: 8px;
}

.l2-real-chat.is-minimized .l2-real-chat__tabs {
    display: none !important;
}

.l2-real-chat__bar {
    cursor: pointer;
    user-select: none;
}

.l2-real-chat.is-minimized .l2-real-chat__size,
.l2-real-chat.is-minimized .l2-real-chat__jump {
    display: none !important;
}

.l2-real-chat__new-pill {
    display: none;
    border-radius: 3px;
    border: 1px solid rgba(52, 211, 153, 0.5);
    background: rgba(6, 78, 59, 0.78);
    padding: 0 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6ee7b7;
    line-height: 14px;
}

.l2-real-chat.has-unread .l2-real-chat__new-pill {
    display: inline-flex;
    align-items: center;
}

.l2-real-ch--announce { color: #80ffff; }
.l2-real-ch--event    { color: #f3d06b; }
.l2-real-ch--raid     { color: #ea99ff; }
.l2-real-ch--critical { color: #ff7066; }
.l2-real-ch--online   { color: #80ffff; }

.l2-real-chat__jump {
    position: absolute;
    left: 50%;
    bottom: 52px;
    transform: translateX(-50%);
    z-index: 6;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid #6b6457;
    background: rgba(10, 12, 16, 0.94);
    color: #fff6d6;
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
}

.l2-real-chat__jump.is-visible {
    display: inline-flex;
}

.l2-real-chat__day {
    margin: 6px 0 3px;
    text-align: center;
    font-size: 10px;
    color: #9b9589;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000;
}

.l2-real-chat__sound {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(195, 158, 103, 0.28);
    background: rgba(20, 23, 30, 0.85);
    color: #9b9589;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.l2-real-chat__sound:hover {
    color: #f6eedc;
    border-color: rgba(195, 158, 103, 0.55);
}

.l2-real-chat__sound.is-on {
    color: #f3d06b;
    border-color: rgba(243, 208, 107, 0.55);
}

/* 24-Hour Uptime Ticks & Population Sparkline */
.l2-uptime-box {
    background: rgba(8, 10, 14, 0.72);
    border: 1px solid #413c34;
    border-radius: 10px;
    padding: 10px 12px;
}

.l2-uptime-ticks {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 4px;
    height: 18px;
}

.l2-uptime-tick {
    border-radius: 3px;
    height: 100%;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.l2-uptime-tick:hover {
    transform: scaleY(1.15);
    filter: brightness(1.2);
}

.l2-uptime-tick.is-up   { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.35); }
.l2-uptime-tick.is-deg  { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.35); }
.l2-uptime-tick.is-down { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.35); }
.l2-uptime-tick.is-none { background: #1e2430; }

.l2-pop-chart-wrap {
    background: rgba(8, 10, 14, 0.55);
    border: 1px solid rgba(195, 158, 103, 0.14);
    border-radius: 10px;
    padding: 8px 10px 6px;
}

/* Premium Support / Vote Sidebar Upgrade */
.vote-micro-banner {
    text-align: center;
    padding: 6px 10px;
    border: 1px solid rgba(195, 158, 103, 0.28);
    border-radius: 8px;
    background: rgba(8, 10, 14, 0.72);
    font-family: 'Cinzel', 'Noto Serif', serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cfa968;
}

.vote-tile--premium {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
}

.vote-tile--premium .vote-tile__overlay {
    background: linear-gradient(90deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.62) 55%, rgba(8, 10, 14, 0.78) 100%) !important;
}

.vote-tile--premium .vote-tile__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
}

.vote-tile__diamond {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: url('../ncsoft/nav_blt.webp') center / contain no-repeat;
}

.vote-tile__cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e7be6a 0%, #b38030 100%);
    border: 1px solid rgba(255, 232, 175, 0.45);
    font-family: 'Cinzel', serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111317;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    transition: filter 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
}

.vote-tile--premium:hover .vote-tile__cta {
    filter: brightness(1.12);
    transform: translateX(2px);
}

.vote-panel-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(195, 158, 103, 0.16);
    text-align: center;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 11px;
    color: #8f96a3;
}
