/* ==========================================================================
   MU Crossplay CMS Modules Bridge & Sub-Layouts
   Estiliza módulos públicos, UserCP, Auth Forms y módulos CMS de MU Crossplay
   con la paleta azul-obsidiana (#080c13 / #101720) + oro champagne (#dfbe82).
   ========================================================================== */

.mc-page-main {
    min-height: calc(100vh - 280px);
    padding: 36px 0 72px;
    background:
        radial-gradient(circle at 20% 0%, rgba(223, 190, 130, 0.08), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(140, 190, 212, 0.06), transparent 45%),
        #080c13;
}

.mc-cms-card {
    background: linear-gradient(180deg, rgba(16, 23, 32, 0.94) 0%, rgba(10, 15, 22, 0.97) 100%);
    border: 1px solid rgba(222, 195, 140, 0.24);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65);
    color: #e9e5dc;
}

.mc-cms-card-title {
    font-family: var(--mc-display), Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f7e6c4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(222, 195, 140, 0.2);
}

.text-gold {
    color: #dfbe82 !important;
}

.mc-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 48%, #b89354 100%);
    color: #120e06 !important;
    border: 1px solid #f4dfb2;
    font-family: var(--mc-ui), sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, filter 0.16s ease;
}

.mc-btn-gold:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.mc-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(16, 24, 34, 0.72);
    border: 1px solid rgba(222, 195, 140, 0.35);
    color: #f7e6c4 !important;
    font-family: var(--mc-ui), sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mc-btn-outline:hover {
    background: rgba(222, 195, 140, 0.14);
    border-color: #dfbe82;
}

/* Auth Pages */
.mc-auth-wrap {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 16px 64px;
    background:
        radial-gradient(circle at 50% 15%, rgba(223, 190, 130, 0.12), transparent 55%),
        #080c13;
}

.mc-auth-card {
    width: 100%;
    max-width: 520px;
}

/* UserCP Layout (2 Columnas CSS Grid) */
.mc-ucp-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    align-items: start;
}

.mc-ucp-aside {
    visibility: visible !important;
    min-width: 0;
}

@media (min-width: 992px) {
    .mc-ucp-aside,
    aside.mc-ucp-aside.collapse {
        display: block !important;
        visibility: visible !important;
    }
}

.mc-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mc-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #b8c4ce;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.mc-sidebar-link:hover {
    background: rgba(222, 195, 140, 0.08);
    border-color: rgba(222, 195, 140, 0.22);
    color: #f7e6c4;
}

.mc-sidebar-link.active {
    background: linear-gradient(135deg, rgba(222, 195, 140, 0.22), rgba(184, 147, 84, 0.12));
    border-color: rgba(222, 195, 140, 0.55);
    color: #f7e6c4;
}

.mc-sidebar-icon {
    width: 18px;
    text-align: center;
    color: #dfbe82;
}

.mc-sidebar-divider {
    height: 1px;
    background: rgba(222, 195, 140, 0.18);
    margin: 8px 0;
}

.mc-sidebar-danger,
.mc-sidebar-danger .mc-sidebar-icon {
    color: #f87171;
}

.mc-ucp-profile-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mc-ucp-balances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mc-balance-chip {
    background: rgba(8, 12, 19, 0.78);
    border: 1px solid rgba(222, 195, 140, 0.25);
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 105px;
}

.mc-balance-chip .lbl {
    display: block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0aab6;
}

.mc-balance-chip .val {
    font-size: 1rem;
    font-weight: 700;
    color: #f7e6c4;
}

.mc-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.mc-stat-card {
    text-align: center;
    padding: 18px 12px;
}

.mc-stat-card i {
    font-size: 1.25rem;
    color: #dfbe82;
    margin-bottom: 8px;
}

.mc-stat-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.mc-stat-lbl {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #a0aab6;
}

/* ==========================================================================
   Puente de Compatibilidad para Módulos Heredados -> MU Crossplay
   ========================================================================== */
.glass-panel {
    background: linear-gradient(180deg, rgba(16, 23, 32, 0.94) 0%, rgba(10, 15, 22, 0.97) 100%) !important;
    border: 1px solid rgba(222, 195, 140, 0.22) !important;
    border-radius: 10px !important;
    color: #e9e5dc;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.58) !important;
}

.panel-title {
    font-family: var(--mc-display), Georgia, serif;
    color: #f7e6c4 !important;
    border-bottom: 1px solid rgba(222, 195, 140, 0.25) !important;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.text-purple,
.text-purple-glow {
    color: #dfbe82 !important;
    text-shadow: none !important;
}

.text-accent-gold {
    color: #f7e6c4 !important;
}

.text-white-main {
    color: #cdd6df !important;
}

.bg-purple,
.bg-purple-subtle {
    background: rgba(222, 195, 140, 0.14) !important;
    border: 1px solid rgba(222, 195, 140, 0.4) !important;
    color: #f7e6c4 !important;
}

.border-purple {
    border-color: rgba(222, 195, 140, 0.45) !important;
}

.btn-purple {
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 48%, #b89354 100%) !important;
    border: 1px solid #f4dfb2 !important;
    color: #120e06 !important;
    font-weight: 700 !important;
}

.btn-purple:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-purple-outline,
.btn-outline-purple {
    background: rgba(16, 24, 34, 0.72) !important;
    border: 1px solid rgba(222, 195, 140, 0.4) !important;
    color: #f7e6c4 !important;
}

.btn-purple-outline:hover,
.btn-outline-purple:hover {
    background: rgba(222, 195, 140, 0.16) !important;
    border-color: #dfbe82 !important;
}

.table-dark-premium {
    background: rgba(8, 12, 19, 0.85) !important;
    border: 1px solid rgba(222, 195, 140, 0.2) !important;
    border-radius: 8px;
    overflow: hidden;
    color: #e9e5dc;
}

.table-dark-premium thead th {
    background: #101720 !important;
    color: #f7e6c4 !important;
    border-bottom: 1px solid rgba(222, 195, 140, 0.25) !important;
}

.table-dark-premium td,
.table-dark-premium th {
    border-color: rgba(205, 214, 225, 0.1) !important;
    background: transparent !important;
    color: #e9e5dc;
}

.table-dark-premium tbody tr:hover td {
    background: rgba(222, 195, 140, 0.07) !important;
}

.module-content .form-control,
.module-content .form-select,
.mc-auth-card .form-control,
.mc-auth-card .form-select {
    background-color: #091018;
    border: 1px solid rgba(114, 133, 139, 0.38);
    color: #e9e5dc;
}

.module-content .form-control:focus,
.module-content .form-select:focus,
.mc-auth-card .form-control:focus {
    background-color: #0b131d;
    border-color: #dfbe82;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(223, 190, 130, 0.18);
}

.module-content label,
.mc-auth-card label {
    color: #cdd6df;
}

/* Badges de Rankings y Rachas */
.rank-number-badge,
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0d1620;
    border: 1px solid rgba(222, 195, 140, 0.35);
    color: #f7e6c4;
    font-weight: 700;
    font-size: 12px;
    margin-right: 6px;
}

.rank-kp-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #101720;
    color: #a0aab6;
    border: 1px solid rgba(205, 214, 225, 0.15);
}

.rank-hot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(110, 231, 183, 0.15);
    border: 1px solid #6ee7b7;
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
}

.rank-cold {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid #f87171;
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
}

.rank-up { color: #6ee7b7; font-weight: 700; font-size: 11px; }
.rank-down { color: #f87171; font-weight: 700; font-size: 11px; }
.rank-gif { width: auto; display: inline-block; vertical-align: middle; }
.rank-gif-hot { height: 8px; }
.rank-gif-cold { height: 10px; }

.char-online-pulse,
.status-online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 8px #6ee7b7;
}

.char-online-pulse {
    position: absolute;
    border: 2px solid #080c13;
}

.status-offline-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.character-card-premium {
    background: rgba(13, 22, 32, 0.82);
    border: 1px solid rgba(222, 195, 140, 0.2);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.char-avatar {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(222, 195, 140, 0.4);
}

/* Mensajes Flotantes */
.message-float-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10700;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.message-float {
    position: relative;
    background: #0d1620;
    border: 1px solid rgba(222, 195, 140, 0.45);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.78);
    color: #e9e5dc;
    pointer-events: auto;
    overflow: hidden;
}

.message-float.hide {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.35s ease;
}

.message-float-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(222, 195, 140, 0.2);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.message-float-title {
    font-weight: 700;
    color: #f7e6c4;
    text-transform: uppercase;
}

.message-float-close {
    background: none;
    border: 0;
    color: #a0aab6;
    cursor: pointer;
    font-size: 1.1rem;
}

.message-float-timer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #dfbe82;
    transform-origin: left;
    animation: etToastTimer 5s linear forwards;
}

.message-float-success { border-color: #6ee7b7; }
.message-float-success .message-float-title { color: #6ee7b7; }
.message-float-success .message-float-timer { background: #6ee7b7; }

.message-float-error { border-color: #f87171; }
.message-float-error .message-float-title { color: #f87171; }
.message-float-error .message-float-timer { background: #f87171; }

@keyframes etToastTimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Tooltips de ítems y DataTables */
.item-box {
    background: rgba(8, 12, 19, 0.96);
    border: 1px solid rgba(222, 195, 140, 0.45);
    text-align: center;
    min-width: 210px;
    padding: 8px 12px 12px;
    font-size: 12px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
}

.mucms-item-tooltip {
    position: absolute;
    display: none;
    min-width: 260px;
    z-index: 10800;
    pointer-events: none;
}

.dataTables_wrapper .pagination .page-link,
.dataTables_wrapper .pagination > li > a,
.dataTables_wrapper .pagination > li > span {
    background: #0d1620 !important;
    border-color: rgba(222, 195, 140, 0.25) !important;
    color: #cdd6df !important;
}

.dataTables_wrapper .pagination .active .page-link,
.dataTables_wrapper .pagination > li.active > a,
.dataTables_wrapper .pagination > li.active > span {
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 100%) !important;
    border-color: #f7e6c4 !important;
    color: #120e06 !important;
}

.admincp-button {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 10450;
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 48%, #b89354 100%) !important;
    border: 1px solid #f4dfb2 !important;
    color: #120e06 !important;
    font-weight: 700;
}

@media (max-width: 991px) {
    .mc-ucp-shell {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   Rediseño MU Crossplay: Auth (Login / Registro / Recuperar) & Descargas
   ========================================================================== */
.mc-cms-card .text-muted,
.mc-auth-card .text-muted,
.mc-page-main .text-muted {
    color: #9aa8b6 !important;
}

.mc-auth-wrap {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px 64px;
    background: #080c13;
    overflow: hidden;
}

.mc-auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/bg.jpg') 68% center / cover no-repeat;
    opacity: 0.24;
    filter: blur(4px) saturate(0.88);
    transform: scale(1.04);
    z-index: -2;
}

.mc-auth-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 35%, rgba(223, 190, 130, 0.1), transparent 52%),
        linear-gradient(180deg, rgba(8, 12, 19, 0.72) 0%, rgba(8, 12, 19, 0.94) 100%);
    z-index: -1;
}

.mc-auth-stage {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 460px);
    gap: 32px;
    align-items: stretch;
}

.mc-auth-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 32px;
    background: linear-gradient(155deg, rgba(16, 23, 32, 0.78) 0%, rgba(8, 12, 19, 0.9) 100%);
    border: 1px solid rgba(222, 195, 140, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.58);
}

.mc-auth-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, #f7e6c4, #dfbe82, transparent);
}

.mc-auth-brand-img {
    width: 100%;
    max-width: 245px;
    height: auto;
    display: block;
    margin-bottom: 18px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
}

.mc-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #dfbe82;
    margin-bottom: 10px;
}

.mc-auth-showcase h1 {
    font-family: var(--mc-display), Georgia, serif;
    font-size: clamp(1.55rem, 2.3vw, 2.05rem);
    font-weight: 600;
    line-height: 1.2;
    color: #f7e6c4;
    margin: 0 0 12px;
}

.mc-auth-showcase p {
    color: #b8c4ce;
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

.mc-auth-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.mc-auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(8, 12, 19, 0.72);
    border: 1px solid rgba(222, 195, 140, 0.24);
    color: #f7e6c4;
    font-size: 12px;
    font-weight: 600;
}

.mc-auth-pill i {
    color: #dfbe82;
}

.mc-auth-perks {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(222, 195, 140, 0.16);
    display: grid;
    gap: 10px;
}

.mc-auth-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cdd6df;
    font-size: 0.87rem;
}

.mc-auth-perks i {
    color: #8cbed4;
    width: 16px;
    text-align: center;
}

.mc-auth-card {
    width: 100%;
    max-width: none;
    position: relative;
    padding: 28px 28px 26px;
    background: linear-gradient(180deg, rgba(14, 21, 31, 0.95) 0%, rgba(8, 12, 19, 0.98) 100%);
    border: 1px solid rgba(222, 195, 140, 0.28);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.mc-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    margin-bottom: 22px;
    background: rgba(7, 11, 17, 0.85);
    border: 1px solid rgba(222, 195, 140, 0.16);
    border-radius: 8px;
}

.mc-auth-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #9aa8b6;
    transition: all 0.18s ease;
}

.mc-auth-tab:hover {
    color: #f7e6c4;
}

.mc-auth-tab.is-active {
    background: linear-gradient(135deg, rgba(223, 190, 130, 0.22), rgba(184, 147, 84, 0.12));
    border: 1px solid rgba(222, 195, 140, 0.45);
    color: #f7e6c4;
}

.mc-auth-title {
    font-family: var(--mc-display), Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7e6c4;
    margin: 0 0 6px;
    letter-spacing: 0.04em;
}

.mc-auth-sub {
    color: #9aa8b6;
    font-size: 0.87rem;
    margin: 0 0 20px;
}

.mc-field {
    margin-bottom: 16px;
}

.mc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.mc-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #cdd6df;
    margin-bottom: 6px;
}

.mc-label-row .mc-label {
    margin-bottom: 0;
}

.mc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mc-input-icon {
    position: absolute;
    left: 14px;
    color: #dfbe82;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.88;
}

.mc-input {
    width: 100%;
    height: 46px;
    padding: 10px 40px 10px 40px !important;
    border-radius: 8px !important;
    background: rgba(7, 11, 17, 0.9) !important;
    border: 1px solid rgba(114, 133, 139, 0.36) !important;
    color: #f4f1ea !important;
    font-size: 14px !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mc-input::placeholder {
    color: #6b7886;
}

.mc-input:focus {
    background: #0a1018 !important;
    border-color: #dfbe82 !important;
    box-shadow: 0 0 0 3px rgba(223, 190, 130, 0.16) !important;
    outline: none;
}

.mc-input:-webkit-autofill,
.mc-input:-webkit-autofill:hover,
.mc-input:-webkit-autofill:focus,
.mc-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px #070b11 inset !important;
    box-shadow: 0 0 0 100px #070b11 inset !important;
    -webkit-text-fill-color: #f4f1ea !important;
    caret-color: #f4f1ea !important;
    transition: background-color 5000s ease-in-out 0s;
}

.mc-pass-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: 0;
    color: #8d9aa8;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 1;
}

.mc-pass-toggle:hover {
    color: #f7e6c4;
}

.mc-auth-hint {
    font-size: 12px;
    color: #8fa0b0;
    text-align: center;
    margin: 4px 0 8px;
}

.mc-auth-link {
    color: #dfbe82;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mc-auth-link:hover {
    color: #f7e6c4;
    text-decoration: underline;
}

.mc-auth-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(222, 195, 140, 0.16);
    text-align: center;
    font-size: 0.85rem;
    color: #9aa8b6;
}

.mc-auth-mobile-brand {
    display: none;
    text-align: center;
    margin-bottom: 18px;
}

.mc-auth-mobile-brand img {
    max-width: 195px;
    height: auto;
}

/* Centro de Descargas Crossplay */
.mc-dl-shell {
    display: grid;
    gap: 24px;
}

.mc-dl-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(222, 195, 140, 0.2);
}

.mc-dl-hero-title {
    font-family: var(--mc-display), Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: #f7e6c4;
    margin: 6px 0 4px;
}

.mc-dl-hero-sub {
    color: #a0aab6;
    font-size: 0.92rem;
    margin: 0;
}

.mc-dl-platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mc-dl-platform-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(165deg, rgba(13, 21, 31, 0.92), rgba(8, 12, 19, 0.96));
    border: 1px solid rgba(222, 195, 140, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.mc-dl-platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dfbe82, transparent);
}

.mc-dl-platform-card:hover {
    transform: translateY(-2px);
    border-color: rgba(222, 195, 140, 0.5);
}

.mc-dl-platform-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mc-dl-platform-name {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 1rem;
    color: #f7e6c4;
}

.mc-dl-platform-name i {
    color: #dfbe82;
    font-size: 1.15rem;
}

.mc-dl-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(222, 195, 140, 0.14);
    border: 1px solid rgba(222, 195, 140, 0.3);
    color: #f7e6c4;
}

.mc-dl-platform-desc {
    color: #a0aab6;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.mc-dl-platform-meta {
    font-size: 0.8rem;
    color: #cdd6df;
    margin-bottom: 14px;
}

.mc-dl-section {
    padding: 22px 24px;
    border-radius: 10px;
    background: rgba(11, 17, 26, 0.78);
    border: 1px solid rgba(222, 195, 140, 0.2);
}

.mc-dl-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(222, 195, 140, 0.16);
}

.mc-dl-section-title {
    margin: 0;
    font-family: var(--mc-display), Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f7e6c4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-dl-section-title i {
    color: #dfbe82;
}

.mc-dl-list {
    display: grid;
    gap: 12px;
}

.mc-dl-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(8, 12, 19, 0.85);
    border: 1px solid rgba(114, 133, 139, 0.26);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.mc-dl-item:hover {
    border-color: rgba(222, 195, 140, 0.45);
    background: rgba(16, 23, 32, 0.92);
}

.mc-dl-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(222, 195, 140, 0.12);
    border: 1px solid rgba(222, 195, 140, 0.28);
    color: #dfbe82;
    font-size: 1.1rem;
}

.mc-dl-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: #f7e6c4;
}

.mc-dl-item-desc {
    font-size: 0.84rem;
    color: #9aa8b6;
    margin-top: 2px;
}

.mc-dl-size {
    padding: 5px 11px;
    border-radius: 6px;
    background: rgba(140, 190, 212, 0.1);
    border: 1px solid rgba(140, 190, 212, 0.25);
    color: #cce3ed;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

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

.mc-dl-guide-card {
    padding: 18px 20px;
    border-radius: 10px;
    background: rgba(8, 12, 19, 0.78);
    border: 1px solid rgba(114, 133, 139, 0.25);
}

.mc-dl-guide-card h6 {
    font-family: var(--mc-display), Georgia, serif;
    color: #f7e6c4;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-dl-guide-card h6 i {
    color: #8cbed4;
}

.mc-dl-guide-list {
    margin: 0;
    padding-left: 18px;
    color: #b8c4ce;
    font-size: 0.84rem;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .mc-auth-stage {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .mc-auth-showcase {
        display: none;
    }

    .mc-auth-mobile-brand {
        display: block;
    }

    .mc-dl-platforms,
    .mc-dl-guides {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .mc-dl-item {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .mc-dl-size {
        grid-column: 2;
        justify-self: start;
    }

    .mc-dl-item .mc-btn-gold,
    .mc-dl-item .mc-btn-outline {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.mc-turnstile-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 68px;
    margin: 6px 0 8px;
    overflow-x: auto;
}

/* ==========================================================================
   Rework MU Crossplay: Rankings, Pestañas, Podio Top 1/2/3 & Hunt
   ========================================================================== */
.mc-rank-header {
    background: linear-gradient(135deg, rgba(16, 23, 32, 0.96) 0%, rgba(10, 15, 22, 0.98) 100%);
    border: 1px solid rgba(222, 195, 140, 0.24);
    border-radius: 12px;
    padding: 22px 24px 18px;
    margin-bottom: 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}

.mc-rank-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.mc-rank-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mc-rank-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(223, 190, 130, 0.2), rgba(140, 190, 212, 0.08));
    border: 1px solid rgba(222, 195, 140, 0.42);
    color: #f7e6c4;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(223, 190, 130, 0.14);
}

.mc-rank-title {
    margin: 0;
    font-family: var(--mc-display), Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f7e6c4;
}

.mc-rank-subtitle {
    margin: 4px 0 0;
    color: #9bb0bf;
    font-size: 0.875rem;
}

.mc-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(223, 190, 130, 0.12);
    border: 1px solid rgba(222, 195, 140, 0.35);
    color: #f7e6c4;
    font-family: var(--mc-ui), sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mc-rank-tabs-wrap {
    border-top: 1px solid rgba(205, 214, 225, 0.1);
    padding-top: 14px;
}

.rankings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(9, 15, 24, 0.88);
    border: 1px solid rgba(114, 133, 139, 0.28);
    color: #cdd6df !important;
    font-family: var(--mc-ui), sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.tab-btn i {
    color: #8cbed4;
    font-size: 0.85rem;
    transition: color 0.16s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
    background: rgba(223, 190, 130, 0.1);
    border-color: rgba(222, 195, 140, 0.45);
    color: #f7e6c4 !important;
}

.tab-btn:hover i {
    color: #dfbe82;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(247, 230, 196, 0.2) 0%, rgba(223, 190, 130, 0.14) 100%);
    border-color: #dfbe82;
    color: #f7e6c4 !important;
    box-shadow: 0 6px 18px rgba(223, 190, 130, 0.18);
}

.tab-btn.active i {
    color: #f7e6c4;
}

/* Filtro por clase de Rankings */
.rankings-class-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0 0 22px;
    padding: 12px 14px;
    background: rgba(11, 18, 28, 0.85);
    border: 1px solid rgba(222, 195, 140, 0.18);
    border-radius: 10px;
}

.rankings-class-filter-selection {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(205, 214, 225, 0.14);
    background: rgba(8, 12, 19, 0.7);
    color: #cdd6df !important;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.rankings-class-filter-selection:hover {
    border-color: #dfbe82;
    color: #f7e6c4 !important;
    filter: grayscale(0);
}

.rankings-class-filter-grayscale {
    filter: grayscale(0.7);
    opacity: 0.8;
}

.rankings-class-filter-grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

.rankings-class-filter-image {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
}

/* Avatares, escudos, puntuaciones y tabla MU Crossplay */
.mc-rank-table-wrap {
    background: rgba(9, 14, 22, 0.9);
    border: 1px solid rgba(222, 195, 140, 0.22);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.mc-rank-avatar {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(222, 195, 140, 0.36);
    background: #080c13;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.mc-rank-guild-box {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(222, 195, 140, 0.36);
    background: rgba(8, 12, 19, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.mc-rank-score {
    color: #dfbe82;
    font-weight: 700;
    font-size: 1.08rem;
}

.mc-rank-submetric {
    color: #8cbed4;
    font-weight: 600;
}

.mc-rank-player-name a {
    color: #f7e6c4;
    text-decoration: none;
    transition: color 0.16s ease;
}

.mc-rank-player-name a:hover {
    color: #dfbe82;
    text-decoration: underline;
}

/* Podio Top 1 / Top 2 / Top 3 sin colores heredados */
#rankings tbody tr.mc-podium-1 td {
    background: linear-gradient(90deg, rgba(223, 190, 130, 0.14) 0%, rgba(223, 190, 130, 0.04) 65%, transparent 100%) !important;
}

#rankings tbody tr.mc-podium-2 td {
    background: linear-gradient(90deg, rgba(140, 190, 212, 0.11) 0%, rgba(140, 190, 212, 0.03) 65%, transparent 100%) !important;
}

#rankings tbody tr.mc-podium-3 td {
    background: linear-gradient(90deg, rgba(205, 140, 82, 0.12) 0%, rgba(205, 140, 82, 0.03) 65%, transparent 100%) !important;
}

#rankings tbody tr.mc-podium-1 .rank-number-badge {
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 100%);
    color: #120e06;
    border-color: #f7e6c4;
    box-shadow: 0 0 12px rgba(223, 190, 130, 0.45);
}

#rankings tbody tr.mc-podium-2 .rank-number-badge {
    background: linear-gradient(135deg, #e2eef5 0%, #8cbed4 100%);
    color: #0b141c;
    border-color: #b9dce9;
    box-shadow: 0 0 10px rgba(140, 190, 212, 0.35);
}

#rankings tbody tr.mc-podium-3 .rank-number-badge {
    background: linear-gradient(135deg, #f2d2b6 0%, #cd8c52 100%);
    color: #180f08;
    border-color: #e6b88e;
    box-shadow: 0 0 10px rgba(205, 140, 82, 0.35);
}

/* Badges de Racha Top 1/2/3 en Rankings/Level */
.rank-empty {
    display: inline-block;
    width: 16px;
    height: 14px;
}

.rank-top-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
    transition: transform 0.2s ease;
}

.rank-top1 {
    background: linear-gradient(135deg, #0b111a 0%, #3a2d17 48%, #dfbe82 100%);
    border: 1.5px solid #f7e6c4;
    box-shadow: 0 0 14px rgba(223, 190, 130, 0.45), inset 0 0 10px rgba(247, 230, 196, 0.16);
}

.rank-top1 i {
    color: #f7e6c4;
    text-shadow: 0 0 8px rgba(247, 230, 196, 0.75);
}

.rank-top2 {
    background: linear-gradient(135deg, #0b111a 0%, #1c3144 48%, #8cbed4 100%);
    border: 1.5px solid #b9dce9;
    box-shadow: 0 0 12px rgba(140, 190, 212, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.12);
}

.rank-top2 i {
    color: #e2eef5;
    text-shadow: 0 0 8px rgba(140, 190, 212, 0.7);
}

.rank-top3 {
    background: linear-gradient(135deg, #0b111a 0%, #3d2415 48%, #cd8c52 100%);
    border: 1.5px solid #e6b88e;
    box-shadow: 0 0 12px rgba(205, 140, 82, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.rank-top3 i {
    color: #f2d2b6;
    text-shadow: 0 0 8px rgba(205, 140, 82, 0.65);
}

/* Badges de estatus VIP unificados (MU Crossplay) */
.vipstatus {
    display: inline-block !important;
    padding: 2px 7px !important;
    border-radius: 5px;
    font-size: 9px !important;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    letter-spacing: 0.4px;
}

.asdfree {
    display: none !important;
}

.asdvip {
    background: linear-gradient(135deg, #dfbe82, #a88240);
    border: 1px solid #f7e6c4;
    color: #120e06 !important;
}

.asdpremium {
    background: linear-gradient(135deg, #8cbed4, #3d6d85);
    border: 1px solid #b9dce9;
    color: #081018 !important;
}

.asdclubvip {
    background: linear-gradient(135deg, #2a2315, #101720);
    border: 1px solid #dfbe82;
    color: #f7e6c4 !important;
}

/* Controles DataTables MU Crossplay */
.mc-rank-table-wrap .dataTables_wrapper .row:first-child,
.mc-rank-table-wrap .mc-dt-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.mc-rank-table-wrap .mc-dt-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(222, 195, 140, 0.14);
}

.mc-rank-table-wrap .dataTables_filter {
    text-align: right;
    margin: 0;
}

.mc-rank-table-wrap .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    width: min(100%, 300px);
}

.mc-rank-table-wrap .dataTables_filter input {
    width: 100%;
    padding: 8px 14px;
    border-radius: 8px;
    background: #080c13 !important;
    border: 1px solid rgba(222, 195, 140, 0.28) !important;
    color: #e9e5dc !important;
    font-size: 0.85rem;
}

.mc-rank-table-wrap .dataTables_filter input::placeholder {
    color: #7c909e;
}

.mc-rank-table-wrap .dataTables_filter input:focus {
    outline: none;
    border-color: #dfbe82 !important;
    box-shadow: 0 0 0 0.2rem rgba(223, 190, 130, 0.16);
}

.mc-rank-table-wrap .dataTables_info {
    color: #8fa3b3;
    font-size: 0.82rem;
    padding: 0;
    margin: 0;
}

.mc-rank-table-wrap .dataTables_paginate {
    padding: 0;
    margin: 0;
}

.mc-rank-table-wrap .dataTables_paginate ul.pagination,
.dataTables_wrapper .dataTables_paginate ul.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dataTables_wrapper .pagination > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dataTables_wrapper .pagination .page-link,
.dataTables_wrapper .pagination > li > a,
.dataTables_wrapper .pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 8px !important;
    background: #0d1620 !important;
    border: 1px solid rgba(222, 195, 140, 0.26) !important;
    color: #cdd6df !important;
    font-family: var(--mc-ui), sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.dataTables_wrapper .pagination .page-link:hover,
.dataTables_wrapper .pagination > li:not(.active):not(.disabled) > a:hover {
    background: rgba(223, 190, 130, 0.14) !important;
    border-color: #dfbe82 !important;
    color: #f7e6c4 !important;
    transform: translateY(-1px);
}

.dataTables_wrapper .pagination .active .page-link,
.dataTables_wrapper .pagination > li.active > a,
.dataTables_wrapper .pagination > li.active > span {
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 100%) !important;
    border-color: #f7e6c4 !important;
    color: #120e06 !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(223, 190, 130, 0.28);
    transform: none;
}

.dataTables_wrapper .pagination .page-item.disabled .page-link,
.dataTables_wrapper .pagination > li.disabled > a,
.dataTables_wrapper .pagination > li.disabled > span {
    background: #090f18 !important;
    border-color: rgba(114, 133, 139, 0.2) !important;
    color: #5b6d7c !important;
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
    transform: none;
}

/* Pie unificado de Rankings */
.mc-rank-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.mc-rank-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(13, 22, 32, 0.9);
    border: 1px solid rgba(205, 214, 225, 0.16);
    color: #9bb0bf;
    font-size: 0.78rem;
}

.mc-rank-meta-pill i {
    color: #dfbe82;
}

/* Módulo Hunt Player y Hunt Guild en MU Crossplay */
.hunt-rankings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.hunt-monsters-modern,
.mc-hunt-panel {
    background: rgba(9, 14, 22, 0.92);
    border: 1px solid rgba(222, 195, 140, 0.24);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.hunt-monsters-title,
.mc-hunt-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(223, 190, 130, 0.14) 0%, rgba(16, 23, 32, 0.96) 100%);
    border-bottom: 1px solid rgba(222, 195, 140, 0.22);
}

.hunt-monsters-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(223, 190, 130, 0.16);
    border: 1px solid rgba(222, 195, 140, 0.4);
    color: #f7e6c4;
    font-size: 1rem;
    flex-shrink: 0;
}

.hunt-monsters-title-main {
    margin: 0;
    font-family: var(--mc-display), Georgia, serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #f7e6c4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hunt-monsters-title-sub {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #9bb0bf;
}

.monsters-container {
    max-height: 760px;
    overflow-y: auto;
}

.monsters-header {
    display: grid;
    grid-template-columns: 56px minmax(110px, 1fr) minmax(110px, 1.15fr) 76px;
    gap: 10px;
    padding: 10px 16px;
    background: #101720;
    border-bottom: 1px solid rgba(205, 214, 225, 0.12);
    color: #dfbe82;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.monster-row {
    display: grid;
    grid-template-columns: 56px minmax(110px, 1fr) minmax(110px, 1.15fr) 76px;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(205, 214, 225, 0.08);
    transition: background 0.16s ease;
}

.monster-row:hover {
    background: rgba(223, 190, 130, 0.06);
}

.monster-image-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(222, 195, 140, 0.3);
    background: #080c13;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monster-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.monster-name {
    color: #f4efe6;
    font-weight: 700;
    font-size: 0.88rem;
}

.monster-maps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.map-badge,
.mc-hunt-map-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(140, 190, 212, 0.12);
    border: 1px solid rgba(140, 190, 212, 0.3);
    color: #b9dce9;
    font-size: 0.7rem;
    font-weight: 600;
}

.no-location {
    color: #64748b;
    font-size: 0.8rem;
}

.monster-points-col {
    text-align: right;
}

.points-badge,
.mc-hunt-points {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(223, 190, 130, 0.14);
    border: 1px solid rgba(222, 195, 140, 0.35);
    color: #f7e6c4;
    font-weight: 700;
    font-size: 0.84rem;
}

.monsters-count,
.mc-hunt-footer {
    padding: 10px 16px;
    text-align: center;
    background: rgba(8, 12, 19, 0.88);
    border-top: 1px solid rgba(205, 214, 225, 0.08);
    color: #8fa3b3;
    font-size: 0.78rem;
}

.mc-hunt-scroll {
    max-height: 760px;
    overflow-y: auto;
}

.mc-hunt-monster-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(205, 214, 225, 0.08);
    transition: background 0.16s ease;
}

.mc-hunt-monster-item:hover {
    background: rgba(223, 190, 130, 0.06);
}

.mc-hunt-monster-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: #080c13;
    border: 1px solid rgba(222, 195, 140, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mc-hunt-monster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .hunt-rankings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .mc-rank-header {
        padding: 16px;
    }

    .mc-rank-table-wrap {
        padding: 10px;
    }

    .mc-rank-table-wrap .mc-dt-top {
        justify-content: stretch;
    }

    .mc-rank-table-wrap .dataTables_filter,
    .mc-rank-table-wrap .dataTables_filter label {
        text-align: left;
        width: 100%;
    }

    .mc-rank-table-wrap .mc-dt-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .monsters-header {
        display: none;
    }

    .monster-row {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }

    .monster-location-col {
        grid-column: 2 / -1;
    }

    /* Pestañas deslizables y tabla compacta en Rankings móvil */
    .mc-rank-header-top {
        margin-bottom: 14px;
    }

    .mc-rank-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .rankings-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    .mc-rank-table-wrap .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    #rankings td,
    #rankings th {
        padding: 0.6rem 0.55rem !important;
        font-size: 0.84rem;
    }

    .mc-rank-avatar,
    .mc-rank-guild-box {
        width: 38px;
        height: 38px;
    }

    .rank-number-badge {
        min-width: 22px;
        height: 22px;
        font-size: 11px;
        margin-right: 4px;
    }

    .mc-rank-player-name,
    .mc-rank-score {
        font-size: 0.94rem !important;
    }

    /* Auth, Descargas, UserCP y Páginas internas en móvil */
    .mc-page-main {
        padding: 20px 0 48px;
    }

    .mc-cms-card {
        padding: 18px 14px;
    }

    .mc-cms-card .module-content .table-responsive,
    .mc-usercp-shell .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .mc-ucp-profile-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .mc-ucp-balances {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mc-balance-chip {
        min-width: 0;
        padding: 8px 10px;
    }

    .mc-dl-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .mc-dl-hero .d-flex {
        width: 100%;
    }

    .mc-dl-hero .mc-btn-gold,
    .mc-dl-hero .mc-btn-outline {
        flex: 1 1 auto;
    }

    .mc-dl-section {
        padding: 16px 14px;
    }

    .mc-auth-wrap {
        padding: 18px 12px 44px;
        min-height: auto;
    }

    .mc-auth-card {
        padding: 20px 16px;
    }
}

@media (max-width: 400px) {
    .mc-stat-grid {
        grid-template-columns: 1fr;
    }

    .mc-auth-tabs {
        gap: 4px;
    }

    .mc-auth-tab {
        padding: 8px 6px;
        font-size: 11px;
    }

    .mc-turnstile-wrap > .cf-turnstile {
        transform: scale(0.9);
        transform-origin: center;
    }
}
