/* ============================================================
   LAST NIGHT HISTORY - Global site shell
   Applies to every public page (body.nwo-site)
   ============================================================ */

body.nwo-site {
    --nwo-bg: #06070a;
    --nwo-surface: #0c0f15;
    --nwo-surface-2: #11151d;
    --nwo-line: rgba(255, 255, 255, 0.08);
    --nwo-line-strong: rgba(255, 255, 255, 0.14);
    --nwo-gold: #e8b865;
    --nwo-gold-2: #f6d99b;
    --nwo-red: #c0392b;
    --nwo-text: #ece8df;
    --nwo-muted: #9aa0ad;
    --nwo-green: #6fcf97;
    --nwo-radius: 6px;
    --nwo-display: "Marcellus", "Times New Roman", serif;
    --nwo-body: "Palanquin Dark", "Segoe UI", system-ui, -apple-system, sans-serif;
    --nwo-ui: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    background: var(--nwo-bg) !important;
    color: var(--nwo-text);
    font-family: var(--nwo-ui);
    overflow-x: hidden;
}

body.nwo-site .wrapper {
    width: min(1240px, calc(100% - 48px));
    padding: 0;
}

body.nwo-site img {
    max-width: 100%;
}

body.nwo-site a {
    text-decoration: none;
}

body.nwo-site ::selection {
    background: rgba(232, 184, 101, 0.28);
    color: #fff;
}

body.nwo-site .line,
body.nwo-site .sparks,
body.nwo-site .onlineBlock,
body.nwo-site .online,
body.nwo-site .download,
body.nwo-site .theme {
    display: none !important;
}

/* Language flags live at the top of the old header */
body.nwo-site header > a {
    display: none !important;
}
/* ============================================================
   HEADER / NAV
   ============================================================ */

body.nwo-site header {
    height: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

body.nwo-site .topPanel {
    background: rgba(6, 7, 10, 0.72);
    border-bottom: 1px solid var(--nwo-line);
    box-shadow: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.nwo-site.nwo-nav-open .topPanel {
    background: rgba(6, 7, 10, 0.98);
}

body.nwo-site .topPanel-wrapper {
    width: min(1360px, calc(100% - 40px));
    min-height: 78px;
    padding: 0;
    margin: 0 auto;
    gap: 12px;
}

body.nwo-site .nwo-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-right: 14px;
    color: #fff;
}

body.nwo-site .nwo-brand img {
    width: 168px;
    height: auto;
    border-radius: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}

body.nwo-site .nwo-brand:hover img {
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 24px rgba(232, 184, 101, 0.28));
}

body.nwo-site .nwo-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

body.nwo-site .nwo-brand-text strong {
    font-family: var(--nwo-display);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
}

body.nwo-site .nwo-brand-text small {
    margin-top: 4px;
    font-family: var(--nwo-body);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nwo-gold);
}

body.nwo-site .topPanel-left {
    flex: 1 1 auto;
    min-width: 0;
}

body.nwo-site .topPanel .nav {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: wrap;
    margin: 0;
}

body.nwo-site .topPanel .nav > li {
    display: block;
    position: relative;
    background: transparent !important;
}

body.nwo-site .topPanel .nav > li:hover {
    background: transparent !important;
}

body.nwo-site .topPanel .nav > li > a {
    display: block;
    padding: 10px 11px;
    font-family: var(--nwo-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #c4c8d1;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

body.nwo-site .topPanel .nav > li > a:hover,
body.nwo-site .topPanel .nav > li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

body.nwo-site .topPanel .nav > li > a::after {
    display: none !important;
}

body.nwo-site .topPanel .nav ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    min-width: 214px;
    padding: 8px;
    background: #0b0e14;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    background-image: none;
}

body.nwo-site .topPanel .nav ul li {
    display: block;
    background: transparent !important;
}

body.nwo-site .topPanel .nav ul li a {
    display: block;
    padding: 9px 12px;
    border-radius: 3px;
    font-family: var(--nwo-ui);
    font-size: 13px;
    color: #c4c8d1;
    background: none;
    white-space: nowrap;
}

body.nwo-site .topPanel .nav ul li a:hover {
    color: #fff;
    background: rgba(232, 184, 101, 0.1);
}

body.nwo-site .topPanel-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
    animation: none !important;
}

body.nwo-site .topPanel-right .topPanel-right {
    gap: 0;
}

body.nwo-site .sign-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px !important;
    border-radius: 4px;
    font-family: var(--nwo-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1307 !important;
    background: linear-gradient(135deg, #f4d693 0%, #dcaa4b 55%, #bd7f27 100%);
    box-shadow: 0 10px 26px rgba(189, 127, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform 0.2s ease, filter 0.2s ease;
}

body.nwo-site .sign-in:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

body.nwo-site .sign-in::after {
    display: none !important;
}

body.nwo-site .hidden-block {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(560px, calc(100vw - 32px)) !important;
    min-width: 0;
    max-width: none;
    height: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
    background: #0b0e14;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.nwo-site .topPanel-right:hover .hidden-block,
body.nwo-site .main-item:focus ~ .hidden-block,
body.nwo-site .main-item:active ~ .hidden-block {
    visibility: visible;
    opacity: 1;
}

body.nwo-site .hidden-block:after {
    display: none;
}

body.nwo-site .hidden-block div {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

body.nwo-site .hidden-block div span {
    font-size: 11px !important;
    line-height: 1.5;
    color: var(--nwo-muted) !important;
}

body.nwo-site .hidden-block div span.username {
    color: var(--nwo-gold-2) !important;
}

body.nwo-site .hidden-block a {
    float: none;
    width: auto;
    min-height: 38px;
    height: auto;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    font-family: var(--nwo-ui);
    font-size: 13px;
    color: #c4c8d1;
    background: none;
    border-radius: 3px;
    white-space: normal;
}

body.nwo-site .hidden-block a:hover {
    color: #fff;
    background: rgba(232, 184, 101, 0.1);
}

body.nwo-site .hidden-block .lk-user,
body.nwo-site .hidden-block .lk-vip {
    grid-column: 1 / -1;
    margin: 0;
}

body.nwo-site .hidden-block .lk-coins {
    margin: 0;
}

body.nwo-site .hidden-block .vip,
body.nwo-site .hidden-block .user {
    font-family: var(--nwo-display);
    font-size: 15px !important;
    color: #fff !important;
}

body.nwo-site .nwo-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    order: 3;
}

body.nwo-site .nwo-nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nwo-site.nwo-nav-open .nwo-nav-toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

body.nwo-site.nwo-nav-open .nwo-nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nwo-site.nwo-nav-open .nwo-nav-toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */

body.nwo-site footer {
    width: auto;
    max-width: 100%;
    margin-top: 64px;
    background: #050609;
    border-top: 1px solid var(--nwo-line);
    overflow: hidden;
}

body.nwo-site footer .wrapper {
    padding-top: 52px;
    padding-bottom: 26px;
}

body.nwo-site .nwo-footer-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--nwo-line);
}

body.nwo-site .nwo-footer-brand img {
    width: 240px;
    height: auto;
    flex: 0 0 auto;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}

body.nwo-site .nwo-footer-brand p {
    max-width: 460px;
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: var(--nwo-muted);
}

body.nwo-site .footerMenu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

body.nwo-site .footerMenu-block {
    width: auto;
}

body.nwo-site .footerMenu .h2-title {
    margin-bottom: 16px;
}

body.nwo-site .footerMenu .h2-title span {
    padding-left: 0;
    font-family: var(--nwo-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nwo-gold);
    background: none;
    -webkit-text-fill-color: currentColor;
}

body.nwo-site .footerMenu .h2-title span:before {
    display: none;
}

body.nwo-site .f-menu li {
    margin-bottom: 10px;
}

body.nwo-site .f-menu a {
    font-size: 13px;
    color: #a8adb8;
    transition: color 0.2s ease;
}

body.nwo-site .f-menu a:hover {
    color: #fff;
}

body.nwo-site .e-mail p {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--nwo-muted);
}

body.nwo-site .e-mail a {
    font-size: 11px;
    line-height: 1.5;
    color: var(--nwo-gold-2);
    overflow-wrap: anywhere;
    word-break: normal;
}

body.nwo-site .f-soc-icons {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

body.nwo-site .f-soc-icons a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--nwo-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 15px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.nwo-site .f-soc-icons a:hover {
    background: rgba(232, 184, 101, 0.12);
    border-color: rgba(232, 184, 101, 0.35);
    color: #fff;
}

body.nwo-site .footerInfo {
    margin-top: 34px;
}

body.nwo-site .footerInfo-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

body.nwo-site .footerInfo-block.flex-sbs {
    justify-content: center;
    padding: 22px 0;
    border-top: 1px solid var(--nwo-line);
}

body.nwo-site .playments {
    display: block !important;
    width: auto !important;
    flex: 1 1 auto;
    margin: 0 !important;
}

body.nwo-site .footerInfo .copy {
    flex: 0 0 auto;
    text-align: right;
}

body.nwo-site .f-text {
    max-width: none !important;
    font-family: var(--nwo-body);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6f7480;
}

body.nwo-site .copy {
    font-size: 11px;
    color: #7d828e;
}

body.nwo-site .copy span {
    margin-top: 4px !important;
}

body.nwo-site .footerInfo-block img {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

body.nwo-site .footerInfo-block.flex-sbs img {
    width: auto;
    max-width: 210px;
    height: auto;
}

body.nwo-site .footerInfo-block img:hover {
    opacity: 1;
}

/* ============================================================
   MODALS
   ============================================================ */

body.nwo-site .modal_div {
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
    padding: 56px 48px 42px;
    background: #0c0f15;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

body.nwo-site .modal_div .modalContent {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.nwo-site .modal_div .modal_close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background-size: contain;
    opacity: 0.7;
}

body.nwo-site .modal_div .modal_close:hover {
    opacity: 1;
}

body.nwo-site .modalTitle {
    font-family: var(--nwo-display);
    color: #f3f0e9;
}

body.nwo-site .modalForm .fieldGroup input {
    background: #080a0e;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 4px;
    color: #fff;
}

body.nwo-site .modalForm .fieldGroup input:focus {
    border-color: rgba(232, 184, 101, 0.5);
    outline: 0;
}

body.nwo-site .modalForm .button {
    border-radius: 4px;
    background: linear-gradient(135deg, #f4d693, #dcaa4b 60%, #bd7f27);
    color: #1a1307;
}

/* SweetAlert (cookie notice, system messages) */
body.nwo-site .swal-overlay {
    background: rgba(3, 4, 7, 0.85);
}

body.nwo-site .swal-modal {
    background: #0c0f15;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

body.nwo-site .swal-title {
    font-family: var(--nwo-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: #f3f0e9;
}

body.nwo-site .swal-text {
    font-family: var(--nwo-ui);
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
    color: var(--nwo-muted);
}

body.nwo-site .swal-icon--info {
    border-color: rgba(232, 184, 101, 0.55);
}

body.nwo-site .swal-icon--info::before,
body.nwo-site .swal-icon--info::after {
    background-color: var(--nwo-gold);
}

body.nwo-site .swal-footer {
    border-top: 1px solid var(--nwo-line);
}

body.nwo-site .swal-button {
    width: auto;
    height: auto;
    padding: 11px 26px;
    border: 0;
    border-radius: 4px;
    background-image: none;
    box-shadow: none;
    font-family: var(--nwo-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: none;
    filter: none;
}

body.nwo-site .swal-button--confirm {
    background: linear-gradient(135deg, #f4d693, #dcaa4b 60%, #bd7f27) !important;
    color: #1a1307 !important;
}

body.nwo-site .swal-button--confirm:hover {
    background: linear-gradient(135deg, #f8e0b0, #e5b558 60%, #c98a2c) !important;
    filter: none;
}

body.nwo-site .swal-button--cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f3f0e9 !important;
}

/* Daily announcement modal */
body.nwo-site #annoucement .modalannoucement {
    height: auto !important;
    color: var(--nwo-text);
}

body.nwo-site #annoucement .alert-data {
    margin: 0 0 22px;
    padding: 12px 16px;
    background: rgba(232, 184, 101, 0.1) !important;
    border: 1px solid rgba(232, 184, 101, 0.25) !important;
    border-radius: 4px;
    font-family: var(--nwo-body);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nwo-gold) !important;
}

body.nwo-site #annoucement .item_socket_exe_title {
    color: #7d828e;
}

/* ============================================================
   LAST NIGHT HISTORY - Shared content pages
   Scope: body.nwo-site main.main (non-home pages)
   ============================================================ */

body.nwo-site main.main {
    display: block;
    width: 100%;
    margin: 118px 0 0;
    padding: 0;
}

body.nwo-site main.main > .content {
    width: 100%;
    padding: 0;
    background: none;
    box-shadow: none;
}

body.nwo-site main.main #content,
body.nwo-site main.main #box1 {
    width: 100%;
}

body.nwo-site main.main .box-style1 {
    position: relative;
    margin-bottom: 24px;
    padding: 30px 34px;
    background: linear-gradient(180deg, #0c0f15 0%, #0a0d12 100%);
    border: 1px solid var(--nwo-line);
    border-radius: var(--nwo-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

body.nwo-site main.main .box-style1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 101, 0.45), transparent);
    pointer-events: none;
}

body.nwo-site main.main .entry {
    padding: 0 !important;
    background: none !important;
    color: var(--nwo-text);
    line-height: 1.65;
}

body.nwo-site main.main .entry p {
    color: #b7bcc7;
}

body.nwo-site main.main .entry a {
    color: var(--nwo-gold-2);
}

body.nwo-site main.main .entry a:hover {
    color: #fff;
}

body.nwo-site main.main .entry img {
    max-width: 100%;
    height: auto;
}

/* Page headings */
body.nwo-site main.main .h2-title {
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nwo-line);
}

body.nwo-site main.main .h2-title.h2-title-content {
    padding-bottom: 16px;
    margin-bottom: 22px;
}

body.nwo-site main.main .h2-title span {
    padding-left: 0;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--nwo-gold);
    font-family: var(--nwo-display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

body.nwo-site main.main .h2-title span:before {
    display: none !important;
}

body.nwo-site main.main .h2-title a {
    font-family: var(--nwo-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nwo-gold-2);
}

body.nwo-site main.main .h2-title a:hover {
    color: #fff;
}

body.nwo-site main.main .h2-title-content a:after {
    display: none;
}

body.nwo-site main.main .heading-main {
    margin: 0 0 18px;
}

body.nwo-site main.main .padding-container {
    padding: 0;
}

body.nwo-site main.main .padding-top {
    padding-top: 12px;
}

body.nwo-site main.main .webdev {
    color: var(--nwo-text);
}

/* Tables */
body.nwo-site main.main .entry table,
body.nwo-site main.main #content table,
body.nwo-site main.main table.table,
body.nwo-site main.main table.tableRank,
body.nwo-site main.main table.download-table,
body.nwo-site main.main table.level-table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    background: transparent;
    color: #c4c8d1;
}

body.nwo-site main.main .entry table tr,
body.nwo-site main.main #content table tr {
    background-image: none !important;
    transition: background-color 0.2s ease;
}

body.nwo-site main.main .entry table tr:nth-child(odd),
body.nwo-site main.main #content table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.022);
}

body.nwo-site main.main .entry table tr:nth-child(even),
body.nwo-site main.main #content table tr:nth-child(even) {
    background-color: transparent;
}

body.nwo-site main.main .entry table tr:hover,
body.nwo-site main.main #content table tr:hover {
    background-color: rgba(232, 184, 101, 0.06);
}

body.nwo-site main.main .entry table th,
body.nwo-site main.main #content table th {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--nwo-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nwo-gold);
    text-align: left;
}

body.nwo-site main.main .entry table td,
body.nwo-site main.main #content table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1.55;
    color: #c4c8d1;
    vertical-align: middle;
}

body.nwo-site main.main .entry table td a,
body.nwo-site main.main #content table td a {
    color: var(--nwo-gold-2);
    font-size: 13px;
}

body.nwo-site main.main .entry table td a:hover,
body.nwo-site main.main #content table td a:hover {
    color: #fff;
}

body.nwo-site main.main .table > thead > tr > th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.nwo-site main.main .table > tbody > tr > td,
body.nwo-site main.main .table > tbody > tr > th,
body.nwo-site main.main .table > tfoot > tr > td {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.nwo-site main.main .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.022);
}

body.nwo-site main.main .table-hover > tbody > tr:hover {
    background-color: rgba(232, 184, 101, 0.06);
}

/* Layout tables used by forms should stay clean */
body.nwo-site main.main form table,
body.nwo-site main.main form table tr,
body.nwo-site main.main form table td,
body.nwo-site main.main form table th {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
}

body.nwo-site main.main form table td,
body.nwo-site main.main form table th {
    padding: 8px 10px;
}

/* Forms */
body.nwo-site main.main .form-control,
body.nwo-site main.main input[type="text"],
body.nwo-site main.main input[type="password"],
body.nwo-site main.main input[type="email"],
body.nwo-site main.main input[type="number"],
body.nwo-site main.main select,
body.nwo-site main.main textarea {
    width: 100%;
    max-width: 380px;
    min-height: 42px;
    margin: 0;
    padding: 0 13px;
    background: #080a0e !important;
    border: 1px solid var(--nwo-line-strong) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-family: var(--nwo-ui);
    font-size: 13px;
    color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.nwo-site main.main textarea {
    padding: 11px 13px;
    min-height: 120px;
}

body.nwo-site main.main .form-control:focus,
body.nwo-site main.main input[type="text"]:focus,
body.nwo-site main.main input[type="password"]:focus,
body.nwo-site main.main input[type="email"]:focus,
body.nwo-site main.main select:focus,
body.nwo-site main.main textarea:focus {
    border-color: rgba(232, 184, 101, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(232, 184, 101, 0.1) !important;
    outline: 0;
}

body.nwo-site main.main input::placeholder,
body.nwo-site main.main textarea::placeholder {
    color: #6f7480;
    opacity: 1;
}

body.nwo-site main.main .jumbotron {
    margin: 0 0 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--nwo-line);
    border-radius: 6px;
}

body.nwo-site main.main .jumbotron .row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

body.nwo-site main.main .jumbotron .left {
    flex: 1 1 240px;
    min-width: 0;
}

body.nwo-site main.main .jumbotron .right {
    flex: 0 0 auto;
}

body.nwo-site main.main .jumbotron .form-control {
    max-width: none;
}

/* Buttons */
body.nwo-site main.main .button,
body.nwo-site main.main .button-style,
body.nwo-site main.main button,
body.nwo-site main.main input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, #f4d693 0%, #dcaa4b 55%, #bd7f27 100%) !important;
    background-image: linear-gradient(135deg, #f4d693 0%, #dcaa4b 55%, #bd7f27 100%) !important;
    box-shadow: 0 10px 26px rgba(189, 127, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font-family: var(--nwo-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1307 !important;
    line-height: 1.2;
    text-shadow: none;
    filter: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body.nwo-site main.main .button-style {
    width: auto !important;
    min-width: 220px;
    white-space: nowrap;
}

body.nwo-site main.main #copy .button-style {
    min-width: 52px;
    padding: 0;
}

body.nwo-site main.main #copy .button-style i {
    font-size: 16px;
}

body.nwo-site main.main .button:hover,
body.nwo-site main.main .button-style:hover,
body.nwo-site main.main button:hover,
body.nwo-site main.main input[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    color: #1a1307 !important;
}

body.nwo-site main.main .button-green,
body.nwo-site main.main input[type="button"].button-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 38px;
    margin: 0 6px 8px 0;
    padding: 0 16px;
    border: 1px solid var(--nwo-line-strong);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04) !important;
    background-image: none !important;
    box-shadow: none;
    font-family: var(--nwo-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c4c8d1 !important;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.nwo-site main.main .button-green:hover,
body.nwo-site main.main input[type="button"].button-green:hover {
    border-color: rgba(232, 184, 101, 0.4);
    background: rgba(232, 184, 101, 0.1) !important;
    color: #fff !important;
}

body.nwo-site main.main input[type="submit"].button-green,
body.nwo-site main.main button[type="submit"].button-green {
    border: 0;
    background: linear-gradient(135deg, #f4d693 0%, #dcaa4b 55%, #bd7f27 100%) !important;
    background-image: linear-gradient(135deg, #f4d693 0%, #dcaa4b 55%, #bd7f27 100%) !important;
    box-shadow: 0 10px 26px rgba(189, 127, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #1a1307 !important;
}

body.nwo-site main.main input[type="submit"].button-green:hover,
body.nwo-site main.main button[type="submit"].button-green:hover {
    border: 0;
    background: linear-gradient(135deg, #f8e0b0 0%, #e5b558 55%, #c98a2c 100%) !important;
    color: #1a1307 !important;
}

body.nwo-site main.main .button.disabled,
body.nwo-site main.main button.disabled {
    filter: grayscale(1);
    opacity: 0.55;
    cursor: not-allowed;
}

body.nwo-site main.main .close {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: none !important;
    box-shadow: none;
    color: #9aa0ad;
    font-size: 20px;
    line-height: 1;
    opacity: 0.75;
    text-shadow: none;
}

body.nwo-site main.main .close:hover {
    color: #fff;
    opacity: 1;
}

/* Alerts */
body.nwo-site main.main .alert {
    margin: 0 0 18px;
    padding: 13px 16px;
    border: 1px solid var(--nwo-line);
    border-left: 3px solid var(--nwo-gold);
    border-radius: 4px;
    background: rgba(232, 184, 101, 0.07);
    font-size: 13px;
    line-height: 1.6;
    color: #d8d4ca;
}

body.nwo-site main.main .alert-success {
    border-left-color: #6fcf97;
    background: rgba(111, 207, 151, 0.08);
    color: #c9ead6;
}

body.nwo-site main.main .alert-danger {
    border-left-color: #e05a4f;
    background: rgba(224, 90, 79, 0.09);
    color: #f2c6c2;
}

body.nwo-site main.main .alert-warning {
    border-left-color: var(--nwo-gold);
    background: rgba(232, 184, 101, 0.09);
    color: #f0dfbc;
}

body.nwo-site main.main a.item_exe_title {
    color: var(--nwo-gold-2) !important;
}

body.nwo-site main.main a.item_exe_title:hover {
    color: #fff !important;
}

body.nwo-site main.main .alert-info {
    border-left-color: var(--nwo-gold);
    background: rgba(232, 184, 101, 0.07);
    color: #d9d3c6;
}

body.nwo-site main.main .alert .close {
    position: relative;
    top: -2px;
    right: -4px;
    float: right;
}

body.nwo-site main.main .text-danger {
    color: #e88a80 !important;
}

/* Ranking tabs / filters */
body.nwo-site main.main .switch {
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
}

body.nwo-site main.main .option,
body.nwo-site main.main .option.active,
body.nwo-site main.main .option.active_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 36px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid var(--nwo-line);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.03) !important;
    background-image: none !important;
    font-family: var(--nwo-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #9aa0ad !important;
    filter: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.nwo-site main.main .option:hover {
    border-color: rgba(232, 184, 101, 0.35);
    color: #fff !important;
}

body.nwo-site main.main .option.active,
body.nwo-site main.main .option.active_btn {
    border-color: rgba(232, 184, 101, 0.45);
    background: rgba(232, 184, 101, 0.12) !important;
    color: var(--nwo-gold-2) !important;
}

body.nwo-site main.main #filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.nwo-site main.main #filters .button-green {
    margin: 0;
}

/* Pagination */
body.nwo-site main.main .current,
body.nwo-site main.main .prev,
body.nwo-site main.main .next,
body.nwo-site main.main .larger,
body.nwo-site main.main .last,
body.nwo-site main.main .nextpostslink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: auto;
    min-width: 36px;
    height: 36px;
    margin: 2px;
    padding: 0 10px;
    border: 1px solid var(--nwo-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04) !important;
    background-image: none !important;
    font-size: 12px;
    color: #c4c8d1 !important;
    text-decoration: none;
    text-indent: 0;
}

body.nwo-site main.main .current {
    border-color: rgba(232, 184, 101, 0.5);
    background: rgba(232, 184, 101, 0.16) !important;
    color: var(--nwo-gold-2) !important;
}

body.nwo-site main.main .larger:hover,
body.nwo-site main.main .nextpostslink:hover {
    border-color: rgba(232, 184, 101, 0.4);
    color: #fff !important;
}

/* Download page */
body.nwo-site main.main .download-table th,
body.nwo-site main.main .download-table td {
    font-size: 12px;
}

body.nwo-site main.main .downloadBlock {
    max-width: 560px;
    padding: 36px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--nwo-line);
    border-radius: 6px;
}

body.nwo-site main.main .downloadBlock-title {
    color: var(--nwo-gold-2);
}

body.nwo-site main.main .downloadBlock-text {
    color: #c4c8d1;
}

/* Donation accordion */
body.nwo-site main.main #account_cash {
    width: 100%;
    margin: 0 0 18px;
    padding: 14px 18px;
    background: linear-gradient(180deg, #0e1219 0%, #0a0d12 100%);
    border: 1px solid var(--nwo-line);
    border-radius: 6px;
    box-shadow: none;
    font-family: var(--nwo-display);
    font-size: 15px;
    color: var(--nwo-text);
}

body.nwo-site main.main #account_cash p {
    font-family: var(--nwo-display);
    color: var(--nwo-gold-2);
}

body.nwo-site main.main .bah-accordion__element__header {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--nwo-line);
    border-radius: 4px;
    box-shadow: none;
    font-family: var(--nwo-display);
    font-size: 17px;
    color: var(--nwo-text);
}

body.nwo-site main.main .bah-accordion__element__header:hover {
    background: rgba(232, 184, 101, 0.08);
}

body.nwo-site main.main .bah-accordion__element__content {
    color: #c4c8d1;
}

/* News posts */
body.nwo-site main.main .post {
    margin-bottom: 20px;
    border: 1px solid var(--nwo-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
}

body.nwo-site main.main #page_title,
body.nwo-site main.main .post_title {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid var(--nwo-line);
    font-family: var(--nwo-display);
    font-size: 18px;
    color: var(--nwo-text);
}

body.nwo-site main.main #page_title a {
    color: var(--nwo-gold-2);
}

body.nwo-site main.main #page_title a:hover {
    color: #fff;
}

body.nwo-site main.main .post_date {
    padding-top: 3px;
    font-size: 11px;
    color: var(--nwo-muted);
}

body.nwo-site main.main .post_content {
    margin-top: 0;
    padding: 16px 18px;
    background: transparent;
    border-top: 0;
    color: #c4c8d1;
}

body.nwo-site main.main .post_content p {
    color: #c4c8d1;
}

body.nwo-site main.main .post .pull-right {
    float: right;
    margin: 0 18px 16px;
}

body.nwo-site main.main .post .button {
    min-height: 38px;
    padding: 0 18px;
    font-size: 10px;
}

body.nwo-site main.main ul.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

body.nwo-site main.main ul.pagination li {
    margin: 0;
}

body.nwo-site main.main ul.pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--nwo-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: #c4c8d1;
    text-decoration: none;
}

body.nwo-site main.main ul.pagination li.active a {
    border-color: rgba(232, 184, 101, 0.5);
    background: rgba(232, 184, 101, 0.16);
    color: var(--nwo-gold-2);
}

body.nwo-site main.main ul.pagination li a:hover {
    border-color: rgba(232, 184, 101, 0.4);
    color: #fff;
}

/* Server info cards (inline styles in the page) */
body.nwo-site main.main .info-card,
body.nwo-site main.main .payment-badge,
body.nwo-site main.main .feature-item {
    border-radius: 6px;
}

body.nwo-site main.main .info-card,
body.nwo-site main.main .payment-badge {
    background: linear-gradient(180deg, #0e1219 0%, #0a0d12 100%);
    border-color: var(--nwo-line);
}

body.nwo-site main.main .feature-item {
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--nwo-line);
}

body.nwo-site main.main .info-card:hover,
body.nwo-site main.main .payment-badge:hover,
body.nwo-site main.main .feature-item:hover {
    border-color: rgba(232, 184, 101, 0.28);
    background: rgba(232, 184, 101, 0.06);
}

/* Floating legacy widgets */
body.nwo-site .rightBodyLinks.leftBodyLinks {
    display: none !important;
}

body.nwo-site .topPanel .nav > li > center {
    display: none !important;
}

/* Misc legacy pieces */
body.nwo-site main.main .item_socket,
body.nwo-site main.main .item_yellow,
body.nwo-site main.main .item_yellow_2 {
    color: var(--nwo-gold-2);
}

body.nwo-site main.main .line {
    display: none;
}

@media (max-width: 700px) {
    body.nwo-site main.main {
        margin-top: 104px;
    }

    body.nwo-site main.main .box-style1 {
        padding: 22px 18px;
    }

    body.nwo-site main.main .h2-title span {
        font-size: 18px;
    }

    body.nwo-site main.main .form-control,
    body.nwo-site main.main input[type="text"],
    body.nwo-site main.main input[type="password"],
    body.nwo-site main.main input[type="email"],
    body.nwo-site main.main select,
    body.nwo-site main.main textarea {
        max-width: none;
    }

    body.nwo-site main.main .entry table,
    body.nwo-site main.main #content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* ============================================================
   LAST NIGHT HISTORY - Global site shell
   Applies to every public page (body.nwo-site)
   ============================================================ */

@media (max-width: 1180px) {
    body.nwo-site .topPanel .nav > li > a {
        padding: 9px 8px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    body.nwo-site .nwo-brand {
        margin-right: 6px;
    }

    body.nwo-site .nwo-brand img {
        width: 148px;
    }
}

@media (max-width: 1024px) {
    body.nwo-site .topPanel-wrapper {
        min-height: 64px;
        flex-wrap: wrap;
        padding: 8px 0;
        gap: 8px;
    }

    body.nwo-site .nwo-brand {
        order: 1;
    }

    body.nwo-site .nwo-brand img {
        width: 132px;
        height: auto;
    }

    body.nwo-site .topPanel-right {
        order: 2;
        margin-left: auto;
    }

    body.nwo-site .nwo-nav-toggle {
        display: inline-block;
    }

    body.nwo-site .topPanel-left {
        order: 4;
        display: none;
        flex-basis: 100%;
        width: 100%;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 6px 0 10px;
        border-top: 1px solid var(--nwo-line);
    }

    body.nwo-site.nwo-nav-open .topPanel-left {
        display: block;
    }

    body.nwo-site .topPanel .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    body.nwo-site .topPanel .nav > li > a {
        height: auto;
        line-height: 1.3;
        padding: 11px 12px;
        font-size: 11px;
    }

    body.nwo-site .topPanel .nav > li > ul {
        position: static;
        min-width: 0;
        margin: 2px 0 6px;
        padding: 4px 0 4px 12px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.nwo-site .topPanel .nav > li > ul li a {
        padding: 8px 12px;
        font-size: 12px;
    }

    body.nwo-site .footerMenu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.nwo-site .wrapper {
        width: calc(100% - 32px);
    }

    body.nwo-site .modal_div {
        top: 6%;
        padding: 46px 24px 28px;
        max-height: 88vh;
    }

    body.nwo-site .modal_div .modal_close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }

    body.nwo-site .modalTitle {
        font-size: 20px;
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    body.nwo-site .nwo-footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    body.nwo-site .nwo-footer-brand img {
        width: 190px;
        height: auto;
    }

    body.nwo-site .nwo-footer-brand p {
        max-width: none;
    }

    body.nwo-site .footerMenu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

    body.nwo-site .hidden-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    body.nwo-site .nwo-brand img {
        width: 118px;
    }
}

#timer_wrapper {
    position: absolute;
    top: 350px;
    left: 50%;
    margin-left: 250px;       /* distancia hacia la derecha desde el centro */
    right: auto;              /* importante: quitar el right anterior */
    z-index: 50;
    padding: 20px 25px;                      /* espacio interior */
    background: rgba(10, 12, 18, 0.92);      /* fondo casi opaco */
    border: 1px solid rgba(232, 184, 101, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* Los hijos ya no se posicionan solos, los controla el wrapper */
#timer_wrapper #timer_div_title,
#timer_wrapper #timer_div_time {
    position: static;
    transform: none;
    margin: 0;
    width: auto;
    left: auto;
    right: auto;
    top: auto;
}

#timer_wrapper #timer_div_title {
    margin-bottom: 12px;
}

#timer_wrapper #timer_div_time {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    #timer_wrapper {
        right: 10px;
        transform: scale(0.8);
        transform-origin: top right;
    }
}

#acp {
    width: 95px !important;
    height: 28px !important;
    min-height: 0 !important;
    line-height: 28px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    font-size: 12px !important;
    background-size: 100% 100% !important;
    box-sizing: border-box !important;
}

#acp span {
    display: block !important;
    height: auto !important;
    line-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
}