/* ==========================================================================
   MU Crossplay Patch Styles — Preservación del diseño y Puente WebEngine
   ========================================================================== */

:root {
    --mc-ink: #080c13;
    --mc-panel: #101720;
    --mc-panel-deep: #0b111a;
    --mc-text: #e9e5dc;
    --mc-muted: #a0aab6;
    --mc-gold: #dfbe82;
    --mc-gold-bright: #f7e6c4;
    --mc-gold-dark: #b89354;
    --mc-border: rgba(222, 195, 140, 0.25);
    --mc-border-subtle: rgba(114, 133, 139, 0.3);
    --mc-ok: #6ee7b7;
    --mc-danger: #f87171;
}

/* Protección frente a resets de Bootstrap 5 en el shell original */
body.mc-body {
    background-color: #080c13 !important;
    color: #e9e5dc !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Neutraliza .collapse { visibility: collapse } heredado de CSS compilado sobre Bootstrap 5 */
.collapse,
.collapse.show,
aside.collapse {
    visibility: visible !important;
}

.v3-shell .ex-home h1,
.v3-shell .ex-home h2,
.v3-shell .ex-home h3,
.v3-shell .ex-home p {
    margin: 0;
}

.v3-shell .ex-nav a,
.v3-shell .ex-footer a,
.v3-shell .ex-home a {
    text-decoration: none;
}

.std-procession[hidden],
.std-sealed-actions[hidden],
.std-banner[hidden],
.std-revealed[hidden],
.std-index[hidden],
.ex-expansion-feature[hidden],
article[id^="reveal-"][hidden] {
    display: none !important;
}

.std-arrow {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 20 !important;
}

.std-neighbor-button {
    cursor: pointer !important;
}

/* =========================================================================
   MODERN NAVBAR & GLASSMORPHISM (MU Crossplay)
   ========================================================================= */
.ex-nav.ex-navigation,
.v3-shell .ex-navigation-refined {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    height: 76px !important;
    margin-bottom: 0 !important;
    padding: 0 32px !important;
    background: rgba(7, 11, 17, 0.88) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(222, 195, 140, 0.18) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

body.mc-is-home .v3-shell .ex-nav.ex-navigation,
body.mc-is-home .v3-shell .ex-navigation-refined {
    margin-bottom: -76px !important;
}

.v3-shell .ex-navigation-refined .ex-nav-main,
.ex-nav-main {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 76px !important;
    max-width: 1720px !important;
    margin: 0 auto !important;
    gap: 12px !important;
}

.ex-nav-identity {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.modern-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

.modern-brand:hover {
    transform: scale(1.02) !important;
}

.brand-crest {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brand-crest img {
    width: auto !important;
    height: 42px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 12px rgba(222, 195, 140, 0.4)) !important;
}

.brand-typography {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.brand-title {
    font-family: var(--mc-display), 'Cinzel', Georgia, serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    background: linear-gradient(135deg, #ffffff 0%, #fae8c8 30%, #dfbe82 70%, #b89354 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
}

.brand-subtitle {
    font-family: var(--mc-ui), sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.38em !important;
    color: #9aa8b4 !important;
    margin-top: 4px !important;
    display: block !important;
}

.v3-shell .ex-navigation-refined .ex-nav-links,
.ex-nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 auto 0 36px !important;
}

.ex-nav-links a,
.ex-nav-disclosure > button {
    font-family: var(--mc-ui), sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    color: #b8c4ce !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 6px !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

.ex-nav-links a::after,
.ex-nav-disclosure > button::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #dfbe82, transparent) !important;
    transition: width 0.25s ease, left 0.25s ease !important;
}

.ex-nav-links a:hover,
.ex-nav-links a.active,
.ex-nav-disclosure > button:hover,
.ex-nav-disclosure > button[aria-expanded="true"] {
    color: #f7e6c4 !important;
    text-shadow: 0 0 12px rgba(223, 190, 130, 0.45) !important;
}

.ex-nav-links a:hover::after,
.ex-nav-links a.active::after,
.ex-nav-disclosure > button:hover::after,
.ex-nav-disclosure > button[aria-expanded="true"]::after {
    width: 100% !important;
    left: 0 !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions,
.ex-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Pill Online discreto acorde a MU Crossplay */
.mc-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: rgba(16, 24, 34, 0.65);
    border: 1px solid rgba(114, 133, 139, 0.35);
    color: #e9e5dc;
    font-size: 12px;
    font-weight: 600;
}

.mc-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 8px #6ee7b7;
}

.ex-language.ex-global-language {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(16, 24, 34, 0.65) !important;
    border: 1px solid rgba(114, 133, 139, 0.35) !important;
    border-radius: 6px !important;
    padding: 0 10px !important;
    height: 38px !important;
    cursor: pointer !important;
}

.ex-language-current {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #d2dbe2 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.ex-language-current svg {
    color: #dfbe82 !important;
}

.ex-language select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-coins-action,
.ex-nav-actions .ex-coins-action {
    align-items: center !important;
    gap: 8px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    background: rgba(16, 24, 34, 0.72) !important;
    border: 1px solid rgba(222, 195, 140, 0.34) !important;
    color: #edd9ad !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-coins-action:hover,
.ex-nav-actions .ex-coins-action:hover {
    background: rgba(222, 195, 140, 0.16) !important;
    border-color: #dfbe82 !important;
    color: #ffffff !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-action,
.v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action,
.v3-shell .ex-navigation-refined[data-authenticated="false"] .ex-nav-actions .ex-session-action,
.ex-nav-actions .ex-session-action {
    align-items: center !important;
    gap: 7px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    background: rgba(16, 24, 34, 0.72) !important;
    border: 1px solid rgba(114, 133, 139, 0.38) !important;
    color: #e4ebf1 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-label,
.ex-nav-actions .ex-session-label {
    max-width: none !important;
    white-space: nowrap !important;
    color: inherit !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-action i,
.ex-nav-actions .ex-session-action i {
    color: inherit !important;
}

.v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action {
    background: rgba(20, 26, 36, 0.78) !important;
    border-color: rgba(248, 113, 113, 0.34) !important;
    color: #e9eff5 !important;
}

.v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action i {
    color: #fca5a5 !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-action:hover,
.ex-nav-actions .ex-session-action:hover {
    background: rgba(24, 34, 48, 0.9) !important;
    border-color: rgba(222, 195, 140, 0.45) !important;
    color: #ffffff !important;
}

.v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action:hover {
    background: rgba(220, 38, 38, 0.16) !important;
    border-color: rgba(248, 113, 113, 0.65) !important;
    color: #ffffff !important;
}

.v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action:hover i {
    color: #fecaca !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-account-action,
.ex-nav-actions .ex-account-action {
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f7e6c4 0%, #dfbe82 48%, #b89354 100%) !important;
    color: #120e06 !important;
    font-family: var(--mc-ui), sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    border: 1px solid #f4dfb2 !important;
    box-shadow: 0 2px 14px rgba(222, 195, 140, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    white-space: nowrap !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-account-action:hover,
.ex-nav-actions .ex-account-action:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.06) !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-menu-button,
.ex-nav-actions .ex-menu-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 6px !important;
    background: rgba(16, 24, 34, 0.72) !important;
    border: 1px solid rgba(114, 133, 139, 0.38) !important;
    color: #e4ebf1 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.v3-shell .ex-navigation-refined .ex-nav-actions .ex-menu-button:hover,
.ex-nav-actions .ex-menu-button:hover {
    background: rgba(24, 34, 48, 0.9) !important;
    border-color: rgba(222, 195, 140, 0.45) !important;
    color: #ffffff !important;
}

.ex-nav-actions .ex-menu-button > span {
    display: inline !important;
}

.ex-nav-disclosure {
    position: relative !important;
}

.ex-nav-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: -10px !important;
    width: 280px !important;
    padding: 14px !important;
    background: rgba(11, 17, 26, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(222, 195, 140, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.85) !important;
    z-index: 1040 !important;
}

.ex-nav-dropdown > span {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #dfbe82 !important;
    padding: 4px 8px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 6px !important;
}

.ex-navigation .ex-nav-dropdown a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: #cdd6df !important;
    border-radius: 4px !important;
    transition: background 0.18s, color 0.18s, transform 0.18s !important;
}

.ex-navigation .ex-nav-dropdown a:hover {
    background: rgba(222, 195, 140, 0.12) !important;
    color: #f7e6c4 !important;
    transform: translateX(3px) !important;
}

/* Multimedia de Actualizaciones Destacadas & Selector de Territorios */
.ex-expansion-media {
    position: relative !important;
    width: 100% !important;
    min-height: 380px !important;
    height: 100% !important;
    background: #091018 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    border: 1px solid rgba(114, 133, 139, 0.25) !important;
}

.ex-expansion-media .ex-film {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 380px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ex-expansion-media .ex-film-poster {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
}

.territory-overlay-badge {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 5 !important;
    background: rgba(9, 15, 23, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(222, 195, 140, 0.45) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.territory-badge-name {
    font-family: var(--mc-display), Georgia, serif !important;
    font-size: 16px !important;
    color: #fae6c2 !important;
}

.territory-badge-num {
    font-size: 11px !important;
    color: #dfbe82 !important;
    background: rgba(222, 195, 140, 0.15) !important;
    padding: 2px 7px !important;
    border-radius: 3px !important;
}

.v3-shell .ex-home .ex-era-cinematic .ex-expansion-index,
.ex-home .ex-era-cinematic .ex-expansion-index,
.ex-expansion-index {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
    border: 0 !important;
}

.ex-expansion-index .mc-feature-thumbnail {
    height: 60px !important;
    width: 100% !important;
    overflow: hidden !important;
    background: #111b25 !important;
    border-radius: 4px 4px 0 0 !important;
}

.ex-expansion-index .mc-feature-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ex-expansion-index button[aria-expanded=true] {
    border-color: #dfc48a !important;
    box-shadow: 0 0 15px rgba(222, 195, 140, 0.3), inset 0 -2px #dfc48a !important;
}

.territory-choices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.ex-home .territory-choices button,
.territory-choices button {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 0 8px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(114, 133, 139, 0.3) !important;
    background: #0d1620 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    text-align: left !important;
}

.ex-home .territory-choices button img,
.territory-choices button img {
    display: block !important;
    width: 100% !important;
    height: 64px !important;
    object-fit: cover !important;
}

.territory-choices button span {
    display: block !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #cdd6df !important;
}

.territory-choices button small {
    display: block !important;
    font-size: 9px !important;
    color: #dfbe82 !important;
    letter-spacing: 0.1em !important;
}

.ex-home .territory-choices button[aria-pressed=true],
.territory-choices button[aria-pressed=true] {
    border-color: #dfc48a !important;
    background: rgba(222, 195, 140, 0.08) !important;
}

/* =========================================================================
   PULSO EN VIVO EN PORTADA (Rankings + Noticias + Castle Siege + Cross-Play)
   ========================================================================= */
.mc-cms-pulse {
    position: relative;
    padding: 72px 0;
    background: radial-gradient(circle at 50% 0%, rgba(223, 190, 130, 0.08), transparent 60%), #080c13;
    border-top: 1px solid rgba(205, 214, 225, 0.1);
    border-bottom: 1px solid rgba(205, 214, 225, 0.1);
}

.mc-pulse-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.mc-pulse-card {
    background: linear-gradient(180deg, rgba(16, 23, 32, 0.92) 0%, rgba(10, 15, 22, 0.96) 100%);
    border: 1px solid rgba(222, 195, 140, 0.22);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.mc-pulse-card-head h3 {
    font-family: var(--mc-display), Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f7e6c4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mc-pulse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(8, 12, 19, 0.72);
    border: 1px solid rgba(205, 214, 225, 0.08);
    margin-bottom: 8px;
    font-size: 13px;
}

.mc-pulse-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    background: rgba(222, 195, 140, 0.14);
    color: #dfbe82;
    border: 1px solid rgba(222, 195, 140, 0.35);
    flex-shrink: 0;
}

.mc-pulse-avatar {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
}

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

.mc-platform-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    background: rgba(13, 22, 32, 0.75);
    border: 1px solid rgba(222, 195, 140, 0.22);
    color: #e9e5dc;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.mc-platform-mini:hover {
    border-color: #dfbe82;
    transform: translateY(-2px);
}

.mc-platform-mini strong {
    display: block;
    color: #f7e6c4;
    font-size: 13.5px;
}

.mc-platform-mini span {
    font-size: 11.5px;
    color: #a0aab6;
}

@media (max-width: 1360px) {
    .ex-nav.ex-navigation,
    .v3-shell .ex-navigation-refined {
        padding: 0 20px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-links,
    .ex-nav-links {
        gap: 16px !important;
        margin-left: 20px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-actions,
    .ex-nav-actions {
        gap: 7px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-coins-action,
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-action,
    .v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action,
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-menu-button {
        padding: 0 11px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-account-action {
        padding: 0 14px !important;
    }
}

@media (max-width: 1120px) {
    .ex-nav.ex-navigation,
    .v3-shell .ex-navigation-refined {
        padding: 0 18px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-links,
    .ex-nav-links {
        display: none !important;
    }
}

@media (max-width: 1080px) {
    .mc-pulse-grid,
    .mc-platforms-strip {
        grid-template-columns: 1fr;
    }
}

.v3-shell,
.v3-shell .ex-home {
    overflow-x: clip;
}

.ex-dialog::backdrop {
    background: rgba(4, 7, 12, 0.78);
    backdrop-filter: blur(6px);
}

/* =========================================================================
   FIX LOGO HEADER / HERO (Evita recorte por sprite CSS heredado)
   ========================================================================= */
.v3-shell .ex-home .mc-conquest-mark,
.v3-shell .ex-home .has-beta-invitation .mc-conquest-mark,
.v3-shell .ex-home.ex-home--crossplay .ex-launch-hero--refined .mc-conquest-mark {
    position: relative !important;
    width: clamp(280px, 32vw, 410px) !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7)) !important;
}

.v3-shell .ex-home .mc-conquest-logo,
.v3-shell .ex-home.ex-home--crossplay .ex-launch-hero--refined .mc-conquest-logo {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
}

/* =========================================================================
   FIX ESPACIO VACÍO Y NUEVO FONDO CROSSPLAY DEL HERO
   ========================================================================= */
section:empty,
.wl-landing:empty,
#whitelist-section {
    display: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ex-era-cinematic,
.mc-cms-pulse,
.ex-home-brief,
.ex-launch-finale,
.mc-page-main section,
.mc-page-main .module-content section,
.mc-auth-wrap section,
.mc-usercp-shell section,
#we-module-container section {
    min-height: 0 !important;
}

.v3-shell .ex-home.ex-home--crossplay .ex-world-chapters .ex-era-cinematic {
    padding-top: 32px !important;
}

.v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined,
.v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined > .ex-film {
    background: #080c13 !important;
}

.v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined .ex-film-poster {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 68% center !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined .ex-hero-shade {
    background:
        linear-gradient(90deg, rgba(8, 12, 19, 0.86) 0%, rgba(8, 12, 19, 0.62) 26%, rgba(8, 12, 19, 0.22) 50%, rgba(8, 12, 19, 0.02) 76%),
        linear-gradient(0deg, #080c13 0%, rgba(8, 12, 19, 0.78) 10%, transparent 28%) !important;
}

.v3-shell .ex-home #mc-launch-title,
.v3-shell .ex-home .ex-launch-hero h1#mc-launch-title,
.v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined h1#mc-launch-title {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
    font-size: clamp(28px, 3.2vw, 44px) !important;
    line-height: 1.1 !important;
}

@media (max-width: 991.98px) {
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-session-action,
    .v3-shell .ex-navigation-refined[data-authenticated="true"] .ex-nav-actions .ex-session-action,
    .ex-nav-actions .ex-session-action {
        display: none !important;
    }
}

@media (max-width: 800px) {
    .v3-shell .ex-home .mc-conquest-mark,
    .v3-shell .ex-home .has-beta-invitation .mc-conquest-mark,
    .v3-shell .ex-home.ex-home--crossplay .ex-launch-hero--refined .mc-conquest-mark {
        width: clamp(210px, 64vw, 290px) !important;
        margin-inline: auto !important;
    }

    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined .ex-hero-content {
        padding-top: 84px !important;
        padding-bottom: 24px !important;
    }

    .v3-shell .ex-home .mc-brand-lockup,
    .v3-shell .ex-home.ex-home--crossplay .ex-launch-hero--refined .mc-brand-lockup {
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .v3-shell .ex-home #mc-launch-title,
    .v3-shell .ex-home .ex-launch-hero h1#mc-launch-title,
    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined h1#mc-launch-title {
        justify-content: center;
        gap: 8px;
        font-size: clamp(20px, 5.4vw, 29px) !important;
    }

    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined h1#mc-launch-title .mc-title-rate {
        font-size: 0.62em !important;
        padding-left: 10px !important;
    }

    .v3-shell .ex-home .mc-opening {
        margin-bottom: 14px !important;
    }

    .v3-shell .ex-home .mc-beta-actions {
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined .ex-film-poster,
    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined video {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        object-position: 72% 30% !important;
    }

    .v3-shell .ex-home.ex-home--crossplay #hero-section.ex-launch-hero--refined .ex-hero-shade {
        background: linear-gradient(0deg, #080c13 0%, #080c13 50%, rgba(8, 12, 19, 0.88) 60%, rgba(8, 12, 19, 0.25) 80%, transparent 94%) !important;
    }

    /* Navbar y Home compactos en tablet pequeña y móvil */
    .ex-nav.ex-navigation,
    .v3-shell .ex-navigation-refined {
        height: 64px !important;
        padding: 0 14px !important;
    }

    body.mc-is-home .v3-shell .ex-nav.ex-navigation,
    body.mc-is-home .v3-shell .ex-navigation-refined {
        margin-bottom: -64px !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-main,
    .ex-nav-main {
        height: 64px !important;
        gap: 8px !important;
    }

    .ex-nav-identity {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        height: auto !important;
    }

    .modern-brand {
        min-width: 0 !important;
        gap: 8px !important;
    }

    .brand-typography {
        min-width: 0 !important;
    }

    .brand-crest img {
        height: 34px !important;
    }

    .brand-title {
        font-size: clamp(13px, 3.6vw, 17px) !important;
        letter-spacing: 0.08em !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-subtitle {
        font-size: 7.5px !important;
        letter-spacing: 0.24em !important;
    }

    .ex-expansion-media,
    .ex-expansion-media .ex-film {
        min-height: 220px !important;
    }

    .v3-shell .ex-home .ex-era-cinematic .ex-expansion-index,
    .ex-home .ex-era-cinematic .ex-expansion-index,
    .ex-expansion-index {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding-bottom: 6px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ex-expansion-index button {
        flex: 0 0 132px !important;
    }

    .mc-cms-pulse {
        padding: 48px 0;
    }

    .mc-pulse-card {
        padding: 16px;
    }

    .mc-pulse-row {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-coins-action,
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-account-action,
    .ex-nav-actions .ex-coins-action,
    .ex-nav-actions .ex-account-action {
        display: none !important;
    }
}

@media (max-width: 540px) {
    .brand-subtitle {
        display: none !important;
    }

    .v3-shell .ex-navigation-refined .ex-nav-actions,
    .ex-nav-actions {
        gap: 6px !important;
    }

    .ex-language.ex-global-language,
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-menu-button,
    .ex-nav-actions .ex-menu-button {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .territory-choices {
        grid-template-columns: 1fr !important;
    }

    .ex-home .territory-choices button,
    .territory-choices button {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .ex-home .territory-choices button img,
    .territory-choices button img {
        width: 88px !important;
        height: 58px !important;
        flex-shrink: 0;
    }
}

@media (max-width: 350px) {
    .v3-shell .ex-navigation-refined .ex-nav-actions .ex-menu-button > span,
    .ex-nav-actions .ex-menu-button > span {
        display: none !important;
    }
}
