html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #eef2ff;
    background:
        linear-gradient(
            rgba(3, 5, 12, 0.62),
            rgba(3, 5, 12, 0.88)
        ),
        url('/images/background-main.png') center center / cover fixed;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================
   NAVBAR
   ========================= */

.ln-navbar {
    position: relative;
    z-index: 10;
    background: rgba(5, 8, 18, 0.88);
    border-bottom: 1px solid rgba(145, 174, 255, 0.22);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ln-navbar .navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.ln-navbar .nav-link {
    color: #cdd6ef !important;
    margin: 0 7px;
    transition: 0.2s ease;
}

.ln-navbar .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(126, 153, 255, 0.9);
}

/* =========================
   CONTEÚDO GLOBAL
   ========================= */

.ln-main {
    min-height: calc(100vh - 130px);
}

.ln-panel {
    background: rgba(7, 10, 22, 0.82);
    border: 1px solid rgba(139, 164, 255, 0.18);
    border-radius: 14px;
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

/* =========================
   HOME / HERO
   ========================= */

.hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px 50px;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
}

.hero-logo {
    width: min(780px, 94vw);
    max-height: 330px;
    object-fit: contain;
    filter:
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.85))
        drop-shadow(0 0 30px rgba(92, 126, 255, 0.28));
}

.hero-subtitle {
    margin-top: 5px;
    color: #dce4ff;
    font-size: 1.15rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px #000;
}

.hero-description {
    max-width: 720px;
    margin: 18px auto 30px;
    color: #acb8d4;
    font-size: 1rem;
}

/* =========================
   BOTÕES
   ========================= */

.ln-btn {
    display: inline-block;
    min-width: 185px;
    padding: 13px 28px;
    margin: 7px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: 0.2s ease;
}

.ln-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #5571c9, #273b78);
    border: 1px solid #7893ee;
    box-shadow: 0 7px 24px rgba(53, 82, 170, 0.35);
}

.ln-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(84, 122, 255, 0.48);
}

.ln-btn-secondary {
    color: #dce4ff;
    background: rgba(10, 14, 28, 0.82);
    border: 1px solid rgba(190, 203, 255, 0.34);
}

.ln-btn-secondary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #94aaff;
}

/* =========================
   CARDS DA HOME
   ========================= */

.server-info {
    padding-bottom: 70px;
}

.info-card {
    height: 100%;
    padding: 25px;
    text-align: center;
    background: rgba(6, 9, 20, 0.82);
    border: 1px solid rgba(130, 157, 255, 0.16);
    border-radius: 12px;
    transition: 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(134, 161, 255, 0.48);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.32);
}

.info-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card strong {
    display: block;
    margin-top: 8px;
    color: #aebfff;
    font-size: 1.45rem;
}

/* =========================
   FORMULÁRIOS
   ========================= */

.form-control {
    color: #f4f6ff;
    background: rgba(5, 8, 18, 0.86);
    border: 1px solid rgba(143, 165, 239, 0.28);
}

.form-control:focus {
    color: #ffffff;
    background: rgba(8, 12, 27, 0.96);
    border-color: #7f9aff;
    box-shadow: 0 0 0 0.2rem rgba(87, 119, 222, 0.18);
}

.form-label {
    color: #e8edff;
}

.form-text {
    color: #8794b3;
}

.text-danger {
    color: #ff7c87 !important;
}

/* =========================
   TABELAS / RANKING
   ========================= */

.table {
    color: #ecf1ff;
    border-color: rgba(130, 150, 205, 0.18);
}

.table-dark {
    --bs-table-bg: rgba(7, 10, 21, 0.88);
    --bs-table-striped-bg: rgba(20, 25, 43, 0.88);
    --bs-table-hover-bg: rgba(53, 69, 116, 0.58);
    --bs-table-border-color: rgba(137, 157, 220, 0.17);
}

.table thead th {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid rgba(139, 162, 240, 0.38);
}

/* =========================
   TÍTULOS
   ========================= */

h1, h2, h3, h4 {
    color: #ffffff;
}

.page-title {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

/* =========================
   FOOTER
   ========================= */

.ln-footer {
    padding: 22px 0;
    color: #77829d;
    text-align: center;
    background: rgba(3, 5, 12, 0.92);
    border-top: 1px solid rgba(135, 156, 224, 0.12);
}

.ln-footer strong {
    color: #adbaf0;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
    .hero {
        min-height: 560px;
        padding-top: 45px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .ln-btn {
        width: 90%;
        max-width: 300px;
    }
}

/* ========================================
   PÁGINAS INTERNAS
   ======================================== */

.inner-page {
    min-height: calc(100vh - 130px);
    padding: 65px 20px 85px;
}

.inner-logo {
    width: min(360px, 80%);
    margin-bottom: -5px;
    filter:
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8))
        drop-shadow(0 0 20px rgba(89, 121, 255, 0.18));
}

.page-title {
    margin-top: 5px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.page-subtitle {
    color: #929fbe;
    margin-bottom: 35px;
}


/* ========================================
   CADASTRO
   ======================================== */

.account-panel {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 35px 50px 40px;
}

.ln-input {
    height: 48px;
    border-radius: 6px;
    padding-left: 14px;
}

.ln-input::placeholder {
    color: #59647e;
}

.account-button {
    width: 100%;
    margin: 8px 0 0;
    border: none;
}

.account-footer-text {
    margin-top: 22px;
    text-align: center;
    color: #65718e;
    font-size: 0.85rem;
}

.ln-alert-success {
    color: #c9ffe0;
    background: rgba(20, 86, 55, 0.38);
    border: 1px solid rgba(78, 210, 137, 0.34);
}


/* ========================================
   RANKING
   ======================================== */

.ranking-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 38px 38px;
}

.ranking-logo {
    width: min(320px, 75%);
}

.ranking-header {
    margin-bottom: 20px;
}

.ranking-table {
    margin-bottom: 0;
    vertical-align: middle;
}

.ranking-table thead {
    background: rgba(14, 20, 39, 0.96);
}

.ranking-table th {
    padding: 15px;
    color: #bac8f5;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(120, 148, 231, 0.25);
}

.ranking-table td {
    padding: 15px;
    color: #d9e0f5;
    border-bottom: 1px solid rgba(112, 132, 190, 0.12);
}

.ranking-table tbody tr {
    background: rgba(5, 8, 18, 0.66);
    transition: 0.2s ease;
}

.ranking-table tbody tr:hover {
    background: rgba(47, 61, 105, 0.52);
}

.ranking-position {
    width: 70px;
    font-weight: 700;
}

.ranking-name {
    color: #ffffff !important;
    font-weight: 600;
}

.ranking-resets {
    color: #9fb5ff !important;
    font-weight: 800;
}


/* TOP 1 */

.rank-first {
    background:
        linear-gradient(
            90deg,
            rgba(125, 102, 34, 0.35),
            rgba(10, 13, 25, 0.72)
        ) !important;
}

.rank-first .ranking-position {
    color: #ffd86b !important;
    font-size: 1.15rem;
}


/* TOP 2 */

.rank-second {
    background:
        linear-gradient(
            90deg,
            rgba(112, 123, 148, 0.25),
            rgba(10, 13, 25, 0.72)
        ) !important;
}

.rank-second .ranking-position {
    color: #d7def1 !important;
}


/* TOP 3 */

.rank-third {
    background:
        linear-gradient(
            90deg,
            rgba(119, 73, 43, 0.25),
            rgba(10, 13, 25, 0.72)
        ) !important;
}

.rank-third .ranking-position {
    color: #dca270 !important;
}


/* ========================================
   DOWNLOAD
   ======================================== */

.downloads-panel {
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 45px 45px;
}

.download-grid {
    margin-top: 10px;
}

.download-card {
    height: 100%;
    padding: 36px 28px;
    text-align: center;
    border-radius: 10px;
    background: rgba(5, 8, 18, 0.72);
    border: 1px solid rgba(127, 153, 236, 0.16);
    transition: 0.25s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(127, 153, 236, 0.48);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.32);
}

.download-icon {
    margin-bottom: 18px;
    color: #9eb2ff;
    font-size: 2.6rem;
}

.download-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-card p {
    min-height: 48px;
    color: #8996b7;
}

.download-status {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    color: #7e8aa8;
    border: 1px solid rgba(126, 145, 202, 0.25);
    border-radius: 5px;
    font-size: 0.75rem;
    letter-spacing: 2px;
}


/* ========================================
   MOBILE PÁGINAS INTERNAS
   ======================================== */

@media (max-width: 768px) {

    .inner-page {
        padding: 35px 12px 60px;
    }

    .account-panel,
    .ranking-panel,
    .downloads-panel {
        padding: 25px 18px;
    }

    .page-title {
        font-size: 1.55rem;
    }

    .ranking-table {
        min-width: 650px;
    }
}

/* ========================================
   CORREÇÃO BOOTSTRAP - RANKING
   ======================================== */

.ranking-table {
    --bs-table-bg: transparent;
    --bs-table-color: #d9e0f5;
    --bs-table-border-color: rgba(112, 132, 190, 0.12);

    margin-bottom: 0;
    color: #d9e0f5;
}

/* Remove o fundo branco aplicado pelo Bootstrap nas células */
.ranking-table > :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Cabeçalho */
.ranking-table thead {
    background: rgba(11, 16, 32, 0.96);
}

.ranking-table thead th {
    background: rgba(11, 16, 32, 0.96) !important;
    color: #aebcf0 !important;

    padding: 16px 15px;

    border-bottom: 1px solid rgba(135, 160, 240, 0.30);

    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1px;
}

/* Linhas normais */
.ranking-table tbody tr {
    background: rgba(5, 8, 18, 0.72);
}

.ranking-table tbody td {
    background: rgba(5, 8, 18, 0.72) !important;

    color: #cfd8f3 !important;

    padding: 16px 15px;

    border-bottom: 1px solid rgba(112, 132, 190, 0.10);

    transition: 0.2s ease;
}

/* Hover */
.ranking-table tbody tr:hover td {
    background: rgba(37, 49, 85, 0.82) !important;
}

/* Nome */
.ranking-table .ranking-name {
    color: #ffffff !important;
    font-weight: 650;
}

/* Resets */
.ranking-table .ranking-resets {
    color: #93abff !important;
    font-weight: 800;
}

/* Posição */
.ranking-table .ranking-position {
    width: 70px;
    font-weight: 800;
}


/* ===============================
   TOP 1
   =============================== */

.ranking-table tbody tr.rank-first td {
    background: rgba(86, 70, 24, 0.48) !important;
}

.ranking-table tbody tr.rank-first:hover td {
    background: rgba(105, 85, 27, 0.62) !important;
}

.ranking-table tbody tr.rank-first .ranking-position {
    color: #ffd45f !important;
    font-size: 1.10rem;
}

.ranking-table tbody tr.rank-first .ranking-name {
    color: #ffe49a !important;
}


/* ===============================
   TOP 2
   =============================== */

.ranking-table tbody tr.rank-second td {
    background: rgba(64, 72, 92, 0.47) !important;
}

.ranking-table tbody tr.rank-second:hover td {
    background: rgba(78, 88, 112, 0.60) !important;
}

.ranking-table tbody tr.rank-second .ranking-position {
    color: #dce3f5 !important;
}

.ranking-table tbody tr.rank-second .ranking-name {
    color: #e4e9f6 !important;
}


/* ===============================
   TOP 3
   =============================== */

.ranking-table tbody tr.rank-third td {
    background: rgba(83, 50, 30, 0.46) !important;
}

.ranking-table tbody tr.rank-third:hover td {
    background: rgba(103, 62, 35, 0.58) !important;
}

.ranking-table tbody tr.rank-third .ranking-position {
    color: #dca071 !important;
}

.ranking-table tbody tr.rank-third .ranking-name {
    color: #e8b38c !important;
}

/* ========================================
   HOME - ONLINE
   ======================================== */

.online-card {
    position: relative;
}

.online-indicator {
    display: block;

    margin-top: 7px;

    color: #78dca4;

    font-size: 0.70rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-shadow:
        0 0 10px rgba(83, 218, 142, 0.45);
}


/* ========================================
   HOME - TOP 5
   ======================================== */

.home-ranking-section {
    padding: 10px 0 80px;
}

.home-ranking-panel {
    max-width: 1000px;

    margin: 0 auto;

    padding: 35px 40px 40px;
}

.home-ranking-title {
    text-align: center;

    margin-bottom: 28px;
}

.home-ranking-title > span {
    color: #8195d9;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 3px;
}

.home-ranking-title h2 {
    margin-top: 6px;

    margin-bottom: 7px;

    font-size: 1.8rem;

    font-weight: 750;
}

.home-ranking-title p {
    color: #8996b5;

    margin-bottom: 0;
}


/* TABELA */

.home-ranking-table {
    --bs-table-bg: transparent;
    --bs-table-color: #d9e0f5;
    --bs-table-border-color: rgba(112, 132, 190, 0.12);

    margin-bottom: 0;

    color: #d9e0f5;
}

.home-ranking-table > :not(caption) > * > * {
    background-color: transparent !important;

    box-shadow: none !important;
}

.home-ranking-table thead th {
    background: rgba(11, 16, 32, 0.96) !important;

    color: #9daee5 !important;

    padding: 13px 15px;

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-bottom:
        1px solid rgba(135, 160, 240, 0.26);
}

.home-ranking-table tbody td {
    background: rgba(5, 8, 18, 0.72) !important;

    color: #cbd4ef !important;

    padding: 14px 15px;

    border-bottom:
        1px solid rgba(112, 132, 190, 0.10);
}

.home-ranking-table tbody tr:hover td {
    background: rgba(38, 51, 89, 0.75) !important;
}

.home-rank-position {
    width: 65px;

    font-weight: 800;
}

.home-rank-name {
    color: #ffffff !important;

    font-weight: 650;
}

.home-rank-resets {
    color: #94adff !important;

    font-weight: 800;
}


/* TOP 1 */

.home-ranking-table
tbody
tr.home-rank-first
td {
    background:
        rgba(82, 67, 25, 0.42) !important;
}

.home-ranking-table
.home-rank-first
.home-rank-position {
    color: #ffd45f !important;
}

.home-ranking-table
.home-rank-first
.home-rank-name {
    color: #ffe293 !important;
}


/* TOP 2 */

.home-ranking-table
tbody
tr.home-rank-second
td {
    background:
        rgba(61, 69, 89, 0.42) !important;
}

.home-ranking-table
.home-rank-second
.home-rank-position {
    color: #dce4f7 !important;
}


/* TOP 3 */

.home-ranking-table
tbody
tr.home-rank-third
td {
    background:
        rgba(77, 48, 31, 0.40) !important;
}

.home-ranking-table
.home-rank-third
.home-rank-position {
    color: #dfa477 !important;
}


/* MOBILE */

@media (max-width: 768px) {

    .home-ranking-panel {
        padding:
            28px 16px
            32px;
    }

    .home-ranking-table {
        min-width: 620px;
    }

}

/* ========================================
   STATUS REAL DO SERVIDOR
   ======================================== */

.server-online-text {
    color: #9dffbd !important;

    text-shadow:
        0 0 14px rgba(80, 220, 130, 0.35);
}

.server-offline-text {
    color: #ff858d !important;

    text-shadow:
        0 0 14px rgba(255, 70, 85, 0.30);
}

.offline-indicator {
    display: block;

    margin-top: 7px;

    color: #ff707a;

    font-size: 0.70rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-shadow:
        0 0 10px rgba(255, 70, 85, 0.40);
}
/* ============================================================
   MU LAS NOCHES - ACCOUNT PANEL STAGE 2
   ============================================================ */

.account-dashboard-page {
    padding-top: 45px;
}


.account-dashboard-header {
    width: 100%;
    max-width: 1180px;

    margin:
        0 auto
        42px;

    padding:
        30px
        34px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 30px;
}


.account-dashboard-header h1 {
    margin:
        5px
        0;

    font-size:
        2rem;
}


.account-dashboard-header p {
    margin: 0;

    color:
        #8794b3;
}


.account-eyebrow {
    display: block;

    color:
        #8399e7;

    font-size:
        0.70rem;

    font-weight:
        800;

    letter-spacing:
        2.5px;
}


.account-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                190px,
                1fr
            )
        );

    gap:
        14px;
}


.account-summary-card {
    min-width:
        210px;

    padding:
        18px
        20px;

    background:
        rgba(
            5,
            8,
            18,
            0.72
        );

    border:
        1px solid
        rgba(
            128,
            153,
            235,
            0.17
        );

    border-radius:
        9px;
}


.account-summary-card span {
    display:
        block;

    color:
        #7886a8;

    font-size:
        0.68rem;

    font-weight:
        800;

    letter-spacing:
        1.3px;
}


.account-summary-card strong {
    display:
        block;

    margin-top:
        5px;

    color:
        #ffffff;

    font-size:
        1.6rem;
}


.account-summary-card small {
    color:
        #687593;
}


.noches-balance {
    border-color:
        rgba(
            115,
            144,
            255,
            0.34
        );
}


.noches-balance strong {
    color:
        #a9baff;

    text-shadow:
        0 0 16px
        rgba(
            80,
            110,
            255,
            0.26
        );
}


.account-date {
    font-size:
        1.2rem !important;
}


.account-section-header {
    width:
        100%;

    max-width:
        1180px;

    margin:
        0 auto
        19px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        end;

    gap:
        20px;
}


.account-section-header span {
    color:
        #8296dc;

    font-size:
        0.69rem;

    font-weight:
        800;

    letter-spacing:
        2px;
}


.account-section-header h2 {
    margin:
        5px
        0
        0;
}


.account-section-header small {
    color:
        #7785a5;
}


.character-grid {
    width:
        100%;

    max-width:
        1180px;

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                285px,
                1fr
            )
        );

    gap:
        17px;
}


.character-card {
    display:
        block;

    padding:
        22px;

    color:
        inherit;

    text-decoration:
        none;

    transition:
        0.22s ease;
}


.character-card:hover {
    color:
        inherit;

    transform:
        translateY(-4px);

    border-color:
        rgba(
            130,
            157,
            255,
            0.46
        );

    box-shadow:
        0 18px 40px
        rgba(
            0,
            0,
            0,
            0.32
        );
}


.character-card-header {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        15px;
}


.character-card-header h3 {
    margin:
        0;

    font-size:
        1.25rem;
}


.character-class {
    color:
        #8694b6;

    font-size:
        0.82rem;
}


.player-online,
.player-offline {
    white-space:
        nowrap;

    font-size:
        0.67rem;

    font-weight:
        850;

    letter-spacing:
        1px;
}


.player-online {
    color:
        #78dda4;

    text-shadow:
        0 0 12px
        rgba(
            80,
            220,
            140,
            0.3
        );
}


.player-offline {
    color:
        #ff7d88;

    text-shadow:
        0 0 12px
        rgba(
            255,
            80,
            90,
            0.18
        );
}


.character-card-info {
    margin-top:
        22px;

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap:
        8px;
}


.character-card-info div {
    padding:
        10px;

    text-align:
        center;

    background:
        rgba(
            4,
            7,
            16,
            0.55
        );

    border:
        1px solid
        rgba(
            115,
            136,
            200,
            0.10
        );

    border-radius:
        7px;
}


.character-card-info span {
    display:
        block;

    color:
        #6e7a99;

    font-size:
        0.65rem;

    text-transform:
        uppercase;
}


.character-card-info strong {
    display:
        block;

    margin-top:
        3px;

    color:
        #e6ebff;

    font-size:
        0.88rem;

    overflow:
        hidden;

    text-overflow:
        ellipsis;
}


.character-open {
    margin-top:
        16px;

    color:
        #8fa6f5;

    font-size:
        0.76rem;

    text-align:
        right;
}


.character-details {
    width:
        100%;

    max-width:
        1180px;

    margin:
        28px auto
        0;

    padding:
        29px 32px;
}


.character-details-header {
    padding-bottom:
        21px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        20px;

    border-bottom:
        1px solid
        rgba(
            120,
            142,
            210,
            0.14
        );
}


.character-details-header h2 {
    margin:
        5px
        0
        2px;
}


.character-details-header p {
    margin:
        0;

    color:
        #8290af;
}


.details-status {
    font-size:
        0.75rem;
}


.details-grid {
    margin-top:
        24px;

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap:
        11px;
}


.details-box {
    min-height:
        88px;

    padding:
        15px;

    background:
        rgba(
            4,
            7,
            17,
            0.55
        );

    border:
        1px solid
        rgba(
            118,
            139,
            206,
            0.11
        );

    border-radius:
        8px;
}


.details-box span {
    display:
        block;

    color:
        #74819e;

    font-size:
        0.66rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.7px;
}


.details-box strong {
    display:
        block;

    margin-top:
        7px;

    color:
        #eef2ff;

    font-size:
        1rem;
}


.attributes-panel {
    margin-top:
        22px;

    padding:
        20px;

    background:
        rgba(
            5,
            8,
            18,
            0.58
        );

    border:
        1px solid
        rgba(
            125,
            147,
            220,
            0.12
        );

    border-radius:
        8px;
}


.attributes-panel h3 {
    margin-bottom:
        16px;

    font-size:
        0.95rem;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}


.attributes-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            5,
            1fr
        );

    gap:
        9px;
}


.attributes-grid div {
    padding:
        12px 8px;

    text-align:
        center;

    background:
        rgba(
            10,
            14,
            29,
            0.74
        );

    border-radius:
        6px;
}


.attributes-grid span {
    display:
        block;

    color:
        #737f9c;

    font-size:
        0.67rem;
}


.attributes-grid strong {
    display:
        block;

    margin-top:
        4px;

    color:
        #adbdff;
}


.character-details-actions {
    margin-top:
        21px;

    text-align:
        right;
}


.account-empty {
    max-width:
        1180px;

    margin:
        0 auto;

    padding:
        35px;

    text-align:
        center;
}


.account-empty p {
    color:
        #7e8ba8;
}


.market-preview {
    width:
        100%;

    max-width:
        1180px;

    margin:
        34px auto
        0;

    padding:
        24px 28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    opacity:
        0.82;
}


.market-preview h2 {
    margin:
        5px
        0
        4px;

    font-size:
        1.25rem;
}


.market-preview p {
    margin:
        0;

    color:
        #7d89a6;
}


.market-preview-badge {
    padding:
        8px
        14px;

    color:
        #9baded;

    border:
        1px solid
        rgba(
            120,
            145,
            230,
            0.28
        );

    border-radius:
        999px;

    font-size:
        0.67rem;

    font-weight:
        850;

    letter-spacing:
        1.2px;

    white-space:
        nowrap;
}


@media(max-width: 992px)
{
    .account-dashboard-header {
        align-items:
            stretch;

        flex-direction:
            column;
    }


    .account-summary-grid {
        width:
            100%;
    }


    .details-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .attributes-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }
}


@media(max-width: 576px)
{
    .account-dashboard-header {
        padding:
            23px
            19px;
    }


    .account-summary-grid {
        grid-template-columns:
            1fr;
    }


    .account-summary-card {
        min-width:
            0;
    }


    .account-section-header {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .character-grid {
        grid-template-columns:
            1fr;
    }


    .character-card-info {
        grid-template-columns:
            1fr;
    }


    .details-grid {
        grid-template-columns:
            1fr;
    }


    .attributes-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .character-details {
        padding:
            23px
            17px;
    }


    .market-preview {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}

/* ============================================================
   MU LAS NOCHES - MARKET-04 READ ONLY
   ============================================================ */

.market-page {
    padding-top: 44px;
}

.market-hero {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 20px;
    padding: 30px 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.market-hero h1 {
    margin: 5px 0;
    font-size: 2rem;
}

.market-hero p {
    margin: 0;
    color: #8794b3;
}

.market-hero-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
}

.market-info-box {
    min-width: 190px;
    padding: 16px 18px;

    background: rgba(4, 7, 17, 0.64);
    border: 1px solid rgba(124, 148, 224, 0.16);
    border-radius: 8px;
}

.market-info-box span {
    display: block;
    color: #7b88a9;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.market-info-box strong {
    display: block;
    margin-top: 5px;
    color: #b0c0ff;
    font-size: 1.3rem;
}

.market-info-box small {
    display: block;
    margin-top: 3px;
    color: #707d9c;
}

.market-info-box .market-online {
    color: #74dda1;
}

.market-info-box .market-offline {
    color: #ff8a94;
}

.market-readonly-warning,
.market-online-warning {
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 18px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.market-readonly-warning {
    border-color: rgba(126, 153, 255, 0.28);
}

.market-readonly-warning strong {
    color: #a7b8f8;
}

.market-readonly-warning p,
.market-online-warning p {
    margin: 3px 0 0;
    color: #7f8dab;
}

.market-readonly-warning > span {
    color: #879bea;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.market-online-warning {
    border-color: rgba(255, 116, 126, 0.23);
}

.market-online-warning strong {
    color: #ff8e97;
}

.market-section-title {
    max-width: 1180px;
    margin: 33px auto 18px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.market-section-title span {
    color: #8196df;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 2px;
}

.market-section-title h2 {
    margin: 5px 0 0;
}

.market-section-title small {
    color: #7d8aa8;
}

.market-item-grid {
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.market-item-card {
    padding: 22px;
}

.market-item-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.market-item-location {
    color: #7583a4;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 1px;
}

.market-item-card h3 {
    margin: 5px 0 0;
    font-size: 1.18rem;
}

.market-item-level {
    color: #a9b9fb;
}

.market-full-badge {
    padding: 6px 10px;

    color: #d7c58f;
    background: rgba(173, 142, 59, 0.10);
    border: 1px solid rgba(215, 188, 105, 0.30);
    border-radius: 999px;

    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.market-option-chips {
    min-height: 31px;
    margin-top: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.market-chip {
    padding: 5px 8px;

    color: #9caae0;
    background: rgba(70, 89, 150, 0.11);
    border: 1px solid rgba(123, 146, 220, 0.18);
    border-radius: 5px;

    font-size: 0.67rem;
    font-weight: 750;
}

.market-chip.positive {
    color: #75dba0;
    border-color: rgba(91, 207, 142, 0.22);
}

.market-chip.excellent {
    color: #74b2ff;
    border-color: rgba(78, 146, 235, 0.25);
}

.market-chip.ancient {
    color: #d9c37c;
    border-color: rgba(201, 173, 86, 0.25);
}

.market-item-data {
    margin-top: 17px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.market-item-data > div {
    min-width: 0;
    padding: 10px;

    background: rgba(3, 6, 15, 0.52);
    border: 1px solid rgba(117, 138, 202, 0.09);
    border-radius: 6px;
}

.market-item-data span {
    display: block;
    color: #697695;
    font-size: 0.62rem;
    text-transform: uppercase;
}

.market-item-data strong {
    display: block;
    margin-top: 3px;

    color: #e7ecff;
    font-size: 0.80rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-serial {
    font-family: Consolas, monospace;
    color: #9fafee !important;
}

.market-item-readonly {
    margin-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.market-item-readonly > span {
    color: #74d59d;
    font-size: 0.72rem;
    font-weight: 750;
}

.market-item-readonly button {
    padding: 8px 11px;

    color: #66708d;
    background: rgba(8, 11, 22, 0.65);
    border: 1px solid rgba(98, 112, 155, 0.16);
    border-radius: 5px;

    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.4px;

    cursor: not-allowed;
}

.market-empty {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px;
    text-align: center;
}

.market-empty p {
    margin-bottom: 0;
    color: #7d89a7;
}

.market-next-step {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 23px 27px;

    opacity: 0.84;
}

.market-next-step h2 {
    margin: 5px 0 4px;
    font-size: 1.18rem;
}

.market-next-step p {
    margin: 0;
    color: #7e8aa8;
}


@media(max-width: 900px)
{
    .market-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .market-item-grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 650px)
{
    .market-hero-info {
        grid-template-columns: 1fr;
    }

    .market-info-box {
        min-width: 0;
    }

    .market-section-title,
    .market-readonly-warning,
    .market-online-warning,
    .market-item-readonly {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-item-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   MU LAS NOCHES - MARKET-06A
   ============================================================ */

.market-listings-heading {
    margin-top: 34px;
}

.market-listing-grid {
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.market-listing-card {
    border-color: rgba(121, 147, 230, 0.23);
}

.market-listing-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.market-own-badge {
    padding: 6px 10px;

    color: #a8b9fa;
    background: rgba(73, 95, 173, 0.12);
    border: 1px solid rgba(126, 151, 238, 0.27);
    border-radius: 999px;

    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.market-listing-price-row {
    margin-top: 18px;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 9px;
}

.market-listing-price-row > div {
    padding: 13px 14px;

    background: rgba(4, 7, 16, 0.58);
    border: 1px solid rgba(119, 141, 210, 0.11);
    border-radius: 7px;
}

.market-listing-price-row span {
    display: block;

    color: #6f7d9f;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.market-listing-price-row strong {
    display: block;
    margin-top: 4px;

    color: #b8c6ff;
    font-size: 1.12rem;
}

.market-listing-price-row strong small {
    margin-left: 4px;

    color: #7886a8;
    font-size: 0.64rem;
    font-weight: 750;
}

.market-section-divider {
    max-width: 1180px;
    height: 1px;

    margin: 38px auto 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(126, 149, 223, 0.22),
            transparent
        );
}


@media(max-width: 900px)
{
    .market-listing-grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 520px)
{
    .market-listing-price-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MU LAS NOCHES - MARKET-09A
   ============================================================ */

.market-flash {
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 16px 20px;
    font-weight: 700;
}

.market-flash-success {
    color: #84e8ad;
    border-color: rgba(89, 213, 143, 0.30);
    background: rgba(15, 78, 50, 0.28);
}

.market-flash-error {
    color: #ff9aa2;
    border-color: rgba(255, 105, 118, 0.28);
    background: rgba(93, 24, 34, 0.25);
}

.market-announce-form {
    margin-top: 18px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.market-price-field label {
    display: block;
    margin-bottom: 6px;

    color: #7180a3;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.8px;
}

.market-price-field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;

    color: #e9edff;
    background: rgba(3, 6, 15, 0.68);
    border: 1px solid rgba(122, 145, 218, 0.20);
    border-radius: 6px;

    outline: none;
}

.market-price-field input:focus {
    border-color: rgba(130, 157, 246, 0.55);
}

.market-announce-button {
    min-width: 120px;
    height: 40px;
    padding: 0 18px;

    color: #dfe6ff;
    background: rgba(70, 91, 174, 0.20);
    border: 1px solid rgba(127, 151, 239, 0.38);
    border-radius: 6px;

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.6px;

    cursor: pointer;
}

.market-announce-button:hover {
    background: rgba(80, 104, 196, 0.28);
    border-color: rgba(143, 166, 249, 0.62);
}

.market-listing-disabled-text {
    color: #ff9099 !important;
}


@media(max-width: 540px)
{
    .market-announce-form {
        grid-template-columns: 1fr;
    }

    .market-announce-button {
        width: 100%;
    }
}

/* ============================================================
   MU LAS NOCHES - MARKET-09C
   ============================================================ */

.market-cancel-form {
    margin: 0;
}

.market-cancel-button {
    min-width: 118px;
    height: 34px;
    padding: 0 14px;

    color: #ffadb4;
    background: rgba(126, 34, 48, 0.16);
    border: 1px solid rgba(224, 88, 105, 0.30);
    border-radius: 6px;

    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.55px;

    cursor: pointer;
}

.market-cancel-button:hover {
    color: #ffd2d6;
    background: rgba(154, 42, 59, 0.25);
    border-color: rgba(238, 100, 117, 0.50);
}

/* ============================================================
   MU LAS NOCHES - MARKET-11A
   ============================================================ */

.market-buy-form {
    margin: 0;
}

.market-buy-button {
    min-width: 118px;
    height: 34px;
    padding: 0 14px;

    color: #a8c4ff;
    background: rgba(55, 85, 162, 0.18);
    border: 1px solid rgba(109, 144, 235, 0.34);
    border-radius: 6px;

    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.55px;

    cursor: pointer;
}

.market-buy-button:hover {
    color: #d8e5ff;
    background: rgba(66, 99, 187, 0.27);
    border-color: rgba(127, 160, 247, 0.56);
}

/* ============================================================
   MU LAS NOCHES - MARKET-12B
   ============================================================ */

.market-hero-info {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.market-sales-box {
    display: flex;
    flex-direction: column;
}

.market-redeem-form {
    margin: 9px 0 0;
}

.market-redeem-button {
    width: 100%;
    min-height: 32px;
    margin-top: 9px;
    padding: 7px 10px;

    color: #b8f2ce;
    background: rgba(38, 126, 80, 0.16);
    border: 1px solid rgba(79, 196, 128, 0.30);
    border-radius: 6px;

    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.45px;

    cursor: pointer;
}

.market-redeem-form .market-redeem-button {
    margin-top: 0;
}

.market-redeem-button:hover:not(:disabled) {
    color: #ddffe9;
    background: rgba(46, 151, 95, 0.25);
    border-color: rgba(95, 219, 146, 0.52);
}

.market-redeem-button:disabled {
    color: #747f9d;
    background: rgba(8, 11, 22, 0.38);
    border-color: rgba(118, 133, 178, 0.13);
    cursor: not-allowed;
}


@media(max-width: 650px)
{
    .market-hero-info {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MU LAS NOCHES - MARKET-13E
   ITEM VISUAL + TOOLTIP
   ============================================================ */

.market-item-card.market-item-excellent h3 {
    color: #54e88f;
    text-shadow: 0 0 12px rgba(58, 224, 132, 0.08);
}

.market-item-card.market-item-excellent h3 .market-item-level {
    color: #aebdff;
}


.mln-item-visual {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 112px;
    margin: 2px 0 14px;

    outline: none;
}


.mln-item-thumb {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 96px;
    height: 96px;

    overflow: hidden;

    border: 1px solid rgba(124, 146, 214, 0.19);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 50% 46%,
            rgba(125, 150, 235, 0.14) 0%,
            rgba(20, 26, 49, 0.76) 45%,
            rgba(5, 8, 18, 0.98) 76%
        );

    box-shadow:
        inset 0 0 20px rgba(107, 130, 214, 0.09),
        0 10px 28px rgba(0, 0, 0, 0.24);

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}


.mln-item-visual:hover .mln-item-thumb,
.mln-item-visual:focus .mln-item-thumb,
.mln-item-visual:focus-within .mln-item-thumb {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(116, 148, 255, 0.40);

    box-shadow:
        inset 0 0 26px rgba(107, 130, 214, 0.13),
        0 14px 35px rgba(0, 0, 0, 0.33);
}


.market-item-excellent .mln-item-thumb {
    border-color: rgba(65, 219, 132, 0.25);

    background:
        radial-gradient(
            circle at 50% 46%,
            rgba(63, 219, 131, 0.13) 0%,
            rgba(17, 37, 37, 0.72) 43%,
            rgba(5, 8, 18, 0.98) 76%
        );
}


.mln-item-thumb img {
    position: absolute;
    z-index: 2;

    width: 88%;
    height: 88%;

    object-fit: contain;

    filter:
        drop-shadow(0 7px 10px rgba(0,0,0,.58));
}


.mln-item-thumb-fallback {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #6f7c9f;

    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .7px;
}


.mln-item-tooltip {
    position: absolute;
    z-index: 80;

    left: 50%;
    top: calc(100% - 3px);

    width: min(330px, calc(100vw - 42px));

    padding: 15px 16px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translate(-50%, -6px);

    color: #dce2f6;

    background:
        linear-gradient(
            180deg,
            rgba(11, 14, 25, .985),
            rgba(7, 10, 20, .985)
        );

    border: 1px solid rgba(118, 139, 202, .28);
    border-radius: 9px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.56),
        inset 0 1px 0 rgba(255,255,255,.025);

    transition:
        opacity 130ms ease,
        transform 130ms ease,
        visibility 130ms ease;
}


.mln-item-visual:hover .mln-item-tooltip,
.mln-item-visual:focus .mln-item-tooltip,
.mln-item-visual:focus-within .mln-item-tooltip {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


.mln-tooltip-title {
    color: #f0f3ff;

    font-size: .92rem;
    font-weight: 900;
    line-height: 1.28;
}


.mln-tooltip-title.excellent,
.mln-tooltip-line.excellent {
    color: #57e995;
}


.mln-tooltip-line {
    padding: 3px 0;

    color: #c2cae0;

    font-size: .76rem;
    font-weight: 700;
}


.mln-tooltip-line.positive {
    color: #63e6a0;
}


.mln-tooltip-separator {
    height: 1px;
    margin: 10px 0;

    background:
        linear-gradient(
            90deg,
            rgba(109, 132, 197, .06),
            rgba(109, 132, 197, .28),
            rgba(109, 132, 197, .06)
        );
}


.mln-tooltip-meta {
    padding: 2px 0;

    color: #7f8bad;

    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .25px;
}


@media(max-width: 650px)
{
    .mln-item-tooltip {
        width: min(300px, calc(100vw - 30px));
    }
}
