@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&display=swap');

/* Dream2 — cascarón APP (sidenav + stage). Distinto a Zery/Break (topnav + sidebar derecha). */

body.theme-dream2.d2-app {
    --d2-side: 260px;
    --d2-display: "Cinzel", "Segoe UI", Georgia, serif;
    --d2-line: color-mix(in srgb, var(--brand-border-light, #6a7f9e) 40%, transparent);
    --d2-glow: color-mix(in srgb, var(--brand-crimson, #1e5cff) 38%, transparent);
    margin: 0;
    min-height: 100vh;
    background: #060912;
}

body.theme-dream2 .d2-stage__bar-title strong,
body.theme-dream2 .d2-stage__bar-title > span,
body.theme-dream2 .d2-kicker {
    font-family: var(--d2-display);
}

body.theme-dream2.d2-app::after {
    opacity: 0.35;
    background-position: center;
    filter: saturate(0.85);
}

body.theme-dream2 .d2-app__frame {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 980px) {
    body.theme-dream2 .d2-app__frame {
        grid-template-columns: var(--d2-side) minmax(0, 1fr);
    }
}

/* —— Sidenav vertical —— */
body.theme-dream2 .d2-sidenav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.85rem 1.1rem;
    border-right: 1px solid var(--d2-line);
    background: color-mix(in srgb, #070b14 92%, transparent);
    backdrop-filter: blur(16px);
    z-index: 30;
}

@media (min-width: 980px) {
    body.theme-dream2 .d2-sidenav {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }
}

@media (max-width: 979px) {
    body.theme-dream2 .d2-sidenav {
        position: sticky;
        top: 0;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid var(--d2-line);
    }

    body.theme-dream2 .d2-sidenav__nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    body.theme-dream2 .d2-sidenav__label {
        width: 100%;
    }

    body.theme-dream2 .d2-sidenav__foot {
        display: none;
    }
}

body.theme-dream2 .d2-sidenav__brand img {
    display: block;
    width: min(100%, 180px);
    height: auto;
    margin: 0.25rem auto 0.5rem;
    filter: drop-shadow(0 0 16px var(--d2-glow));
}

body.theme-dream2 .d2-sidenav__label {
    margin: 1.1rem 0.55rem 0.55rem;
    padding: 0.35rem 0.55rem;
    border-left: 2px solid var(--brand-crimson, #1e5cff);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-crimson-light, #4d8dff);
    background: color-mix(in srgb, var(--brand-crimson, #1e5cff) 10%, transparent);
}

body.theme-dream2 .d2-sidenav__label:first-of-type {
    margin-top: 0.35rem;
}

body.theme-dream2 .d2-sidenav__link {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 4px;
    color: var(--brand-text, #e8eef8);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.82;
}

body.theme-dream2 .d2-sidenav__link:hover,
body.theme-dream2 .d2-sidenav__link.is-active {
    color: #fff;
    opacity: 1;
    background: color-mix(in srgb, var(--brand-crimson, #1e5cff) 22%, transparent);
    box-shadow: inset 3px 0 0 var(--brand-crimson, #1e5cff);
}

body.theme-dream2 .d2-sidenav__foot {
    margin-top: auto;
    display: grid;
    gap: 0.55rem;
    padding-top: 0.75rem;
}

body.theme-dream2 .d2-sidenav__live {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--d2-line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--brand-panel-deep) 70%, transparent);
}

body.theme-dream2 .d2-sidenav__live strong {
    display: block;
    font-size: 1.15rem;
    color: var(--brand-gold-light, #e8eef8);
    line-height: 1;
}

body.theme-dream2 .d2-sidenav__live span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

body.theme-dream2 .d2-sidenav__live-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ef4444;
    flex: 0 0 auto;
}

body.theme-dream2 .d2-sidenav__live-dot.is-on {
    background: #22c55e;
    box-shadow: 0 0 10px rgb(34 197 94 / 0.7);
}

/* —— Stage (contenido) —— */
body.theme-dream2 .d2-stage {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    background: color-mix(in srgb, #05080f 55%, transparent);
}

body.theme-dream2 .d2-stage__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--d2-line);
    background: color-mix(in srgb, #070b14 70%, transparent);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

body.theme-dream2 .d2-stage__bar-title {
    display: grid;
    gap: 0.15rem;
}

body.theme-dream2 .d2-stage__bar-title strong,
body.theme-dream2 .d2-stage__bar-title > span {
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--brand-text, #e8eef8);
}

body.theme-dream2 .d2-kicker {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-crimson-light, #4d8dff);
}

body.theme-dream2 .d2-stage__bar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-left: auto;
}

body.theme-dream2 .d2-locale {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.15rem;
}

body.theme-dream2 .d2-locale__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.theme-dream2 .d2-locale__select {
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    min-width: 9.5rem;
    max-width: 14rem;
    padding: 0.45rem 2rem 0.45rem 1rem;
    font-family: var(--d2-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--brand-text, #e8eef8);
    background-color: color-mix(in srgb, #000 30%, transparent);
    background-image: linear-gradient(45deg, transparent 50%, var(--brand-crimson-light, #4d8dff) 50%),
        linear-gradient(135deg, var(--brand-crimson-light, #4d8dff) 50%, transparent 50%);
    background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    border: 1px solid var(--d2-line, #3a4a66);
    border-radius: 2px;
    cursor: pointer;
}

body.theme-dream2 .d2-locale__select:hover,
body.theme-dream2 .d2-locale__select:focus {
    border-color: var(--brand-crimson, #1e5cff);
    outline: none;
}

body.theme-dream2 .d2-stage__body {
    flex: 1;
    padding: 1.15rem 1.25rem 2rem;
    width: min(100%, 1180px);
    margin-inline: auto;
}

body.theme-dream2 .d2-stage__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem 1.15rem;
    border-top: 1px solid var(--d2-line);
    color: var(--brand-muted);
    font-size: 0.75rem;
}

body.theme-dream2 .d2-stage__footer a {
    color: var(--brand-muted);
    margin-left: 0.85rem;
    text-decoration: none;
}

body.theme-dream2 .d2-stage__footer a:hover {
    color: var(--brand-crimson-light);
}

/* Buttons */
body.theme-dream2 .d2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--d2-line);
    border-radius: 2px;
    font-family: var(--d2-display);
    background: transparent;
    color: var(--brand-text);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

body.theme-dream2 .d2-btn--block {
    width: 100%;
}

body.theme-dream2 .d2-btn--primary {
    border-color: transparent;
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson));
    color: #fff;
    box-shadow: 0 0 18px var(--d2-glow);
}

body.theme-dream2 .d2-btn--steel {
    background: linear-gradient(180deg, #3a465c, #1c2433);
    color: var(--brand-gold-light);
}

body.theme-dream2 .d2-btn--ghost {
    background: color-mix(in srgb, #000 30%, transparent);
}

body.theme-dream2 .d2-btn--lg {
    min-height: 2.7rem;
    padding-inline: 1.1rem;
}

/* Dashboard / portal MMORPG */
body.theme-dream2 .d2-dash {
    display: grid;
    gap: 1.35rem;
}

body.theme-dream2 .d2-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(360px, 52vh, 520px);
    border: 1px solid color-mix(in srgb, var(--brand-border-light) 55%, transparent);
    border-radius: 4px;
    background:
        radial-gradient(ellipse 55% 70% at 78% 35%, color-mix(in srgb, var(--brand-crimson) 32%, transparent), transparent 60%),
        linear-gradient(105deg, rgb(4 7 14 / 0.94) 0%, rgb(4 7 14 / 0.72) 38%, rgb(4 7 14 / 0.28) 72%, rgb(4 7 14 / 0.55) 100%),
        var(--zery2-page-bg) 62% center / cover no-repeat;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, #fff 6%, transparent),
        inset 0 0 80px rgb(0 0 0 / 0.45),
        0 28px 70px rgb(0 0 0 / 0.5);
}

body.theme-dream2 .d2-hero__frame {
    position: absolute;
    inset: 10px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--brand-crimson-light) 28%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, #000 45%, transparent),
        0 0 0 1px color-mix(in srgb, #000 35%, transparent);
}

body.theme-dream2 .d2-hero__frame::before,
body.theme-dream2 .d2-hero__frame::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--brand-crimson-light);
    border-style: solid;
    opacity: 0.85;
}

body.theme-dream2 .d2-hero__frame::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

body.theme-dream2 .d2-hero__frame::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 2px 2px 0;
}

body.theme-dream2 .d2-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 48%, rgb(4 7 14 / 0.82) 100%),
        radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--brand-crimson) 22%, transparent), transparent 42%);
}

body.theme-dream2 .d2-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 0.75rem;
    max-width: 38rem;
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
}

body.theme-dream2 .d2-hero__eyebrow {
    margin: 0;
    font-family: var(--d2-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-crimson-light);
}

body.theme-dream2 .d2-hero__logo {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: 0.15rem 0 0.2rem;
    filter: drop-shadow(0 0 28px var(--d2-glow));
}

body.theme-dream2 .d2-hero__title {
    margin: 0;
    font-family: var(--d2-display);
    font-size: clamp(1.7rem, 3.6vw, 2.65rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #f4f7ff;
    text-shadow: 0 2px 28px rgb(0 0 0 / 0.65), 0 0 40px color-mix(in srgb, var(--brand-crimson) 25%, transparent);
}

body.theme-dream2 .d2-hero__lead {
    margin: 0;
    max-width: 32rem;
    color: color-mix(in srgb, var(--brand-text) 86%, transparent);
    line-height: 1.6;
    font-size: 1rem;
}

body.theme-dream2 .d2-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.55rem;
}

body.theme-dream2 .d2-realm {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    body.theme-dream2 .d2-realm {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
        align-items: stretch;
    }
}

body.theme-dream2 .d2-panel {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--brand-border-light) 42%, transparent);
    border-radius: 4px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand-surface) 88%, transparent), color-mix(in srgb, var(--brand-panel-deep) 92%, transparent));
    padding: 1.15rem 1.15rem 1.25rem;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent);
}

body.theme-dream2 .d2-panel::before {
    content: '';
    position: absolute;
    inset: 6px;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--brand-crimson) 14%, transparent);
}

body.theme-dream2 .d2-panel__head {
    position: relative;
    z-index: 1;
    margin-bottom: 0.95rem;
}

body.theme-dream2 .d2-panel__head h2 {
    margin: 0;
    font-family: var(--d2-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-gold-light);
}

body.theme-dream2 .d2-panel__head p {
    margin: 0.4rem 0 0;
    color: var(--brand-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

body.theme-dream2 .d2-panel__head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
}

body.theme-dream2 .d2-panel__head--row a {
    position: relative;
    z-index: 1;
    color: var(--brand-crimson-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

body.theme-dream2 .d2-pillars {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    body.theme-dream2 .d2-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.theme-dream2 .d2-pillar {
    padding: 1rem 0.95rem 1.05rem;
    border: 1px solid color-mix(in srgb, var(--brand-border) 50%, transparent);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--brand-crimson) 10%, transparent), transparent 55%),
        color-mix(in srgb, var(--brand-panel-deep) 78%, transparent);
}

body.theme-dream2 .d2-pillar h3 {
    margin: 0;
    font-family: var(--d2-display);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-crimson-light);
}

body.theme-dream2 .d2-pillar p {
    margin: 0.5rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--brand-muted);
}

body.theme-dream2 .d2-fame {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

body.theme-dream2 .d2-fame__row {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem 0.35rem;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-border) 35%, transparent);
}

body.theme-dream2 .d2-fame__pos {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid color-mix(in srgb, var(--brand-crimson) 45%, transparent);
    background: color-mix(in srgb, var(--brand-crimson) 18%, transparent);
    color: #fff;
    font-family: var(--d2-display);
    font-size: 0.78rem;
    font-weight: 700;
}

body.theme-dream2 .d2-fame__who strong {
    display: block;
    color: var(--brand-text);
    font-size: 0.92rem;
}

body.theme-dream2 .d2-fame__who small {
    color: var(--brand-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.theme-dream2 .d2-fame__empty {
    color: var(--brand-muted);
    font-size: 0.88rem;
    padding: 0.5rem 0;
}

body.theme-dream2 .d2-realm__meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid color-mix(in srgb, var(--brand-border) 40%, transparent);
}

body.theme-dream2 .d2-realm__meta strong {
    display: block;
    font-family: var(--d2-display);
    font-size: 1.15rem;
    color: #fff;
    line-height: 1.1;
}

body.theme-dream2 .d2-realm__meta span {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

body.theme-dream2 .d2-community__tabs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

body.theme-dream2 .d2-community__tab {
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--d2-line);
    border-radius: 2px;
    background: transparent;
    color: var(--brand-muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

body.theme-dream2 .d2-community__tab.is-active,
body.theme-dream2 .d2-community__tab:hover {
    color: #fff;
    border-color: var(--brand-crimson);
    background: color-mix(in srgb, var(--brand-crimson) 22%, transparent);
}

body.theme-dream2 .d2-community__body,
body.theme-dream2 .d2-empty,
body.theme-dream2 .d2-news {
    position: relative;
    z-index: 1;
}

body.theme-dream2 .d2-empty {
    color: var(--brand-muted);
    font-size: 0.9rem;
}

body.theme-dream2 .d2-sidenav__live-state {
    display: block;
    margin-top: 0.15rem;
    font-style: normal;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-crimson-light);
}

/* Inner pages: full width in stage (sin sidebar derecha Zery) */
body.theme-dream2 .zery2-panel {
    border-radius: 10px;
    border-color: var(--d2-line);
    background: color-mix(in srgb, var(--brand-surface) 92%, transparent);
}

body.theme-dream2 .zery2-btn-primary,
body.theme-dream2 a.zery2-btn-primary,
body.theme-dream2 .zery2-btn-crimson {
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson)) !important;
    border-color: var(--brand-crimson) !important;
    color: #fff !important;
    box-shadow: 0 0 16px var(--d2-glow);
}

body.theme-dream2 .zery2-btn-ghost {
    color: var(--brand-gold-light) !important;
    border-color: var(--d2-line) !important;
    background: color-mix(in srgb, #000 35%, transparent) !important;
}

body.theme-dream2 .zery2-panel,
body.theme-dream2 .zery2-table-wrap,
body.theme-dream2 .zery2-account__action-card,
body.theme-dream2 .zery2-account-hero,
body.theme-dream2 .zery2-account-hero__wallet {
    border-color: var(--d2-line) !important;
}

body.theme-dream2 .zery2-account__action-icon,
body.theme-dream2 .zery2-account__action-title,
body.theme-dream2 .text-zery2-gold,
body.theme-dream2 .text-zery2-gold-light {
    color: var(--brand-crimson-light) !important;
}

body.theme-dream2 .zery2-sidebar-card,
body.theme-dream2 aside .zery2-sidebar-card {
    border-radius: 10px;
    border-color: var(--d2-line);
}

/* Admin: acentos de categoría = cobalto Dream2 */
body.theme-dream2.zery2-admin .zery2-admin-sidebar__section-title {
    color: var(--brand-crimson-light);
    border-left-color: var(--brand-crimson);
    background: color-mix(in srgb, var(--brand-crimson) 12%, transparent);
}

body.theme-dream2.zery2-admin .zery2-admin-sidebar__brand-mark {
    border-color: color-mix(in srgb, var(--brand-crimson) 45%, transparent);
    background: radial-gradient(
        circle at 30% 25%,
        color-mix(in srgb, var(--brand-crimson-light) 22%, transparent),
        color-mix(in srgb, var(--brand-crimson) 8%, transparent)
    );
}

body.theme-dream2.zery2-admin .zery2-admin-sidebar__brand-mark img {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    padding: 0.15rem;
}

body.theme-dream2.zery2-admin .zery2-admin-sidebar__brand-name,
body.theme-dream2.zery2-admin .zery2-admin-topbar__title,
body.theme-dream2.zery2-admin .text-zery2-gold,
body.theme-dream2.zery2-admin .text-zery2-gold-light {
    color: var(--brand-gold-light) !important;
}

/* Páginas internas: quitar oro Zery residual */
body.theme-dream2 .zery2-events-page__tabs,
body.theme-dream2 .zery2-events-widget__tabs {
    border-bottom-color: var(--d2-line) !important;
}

body.theme-dream2 .zery2-events-page__tab,
body.theme-dream2 .zery2-events-widget__tab {
    color: var(--brand-text) !important;
    background: color-mix(in srgb, var(--brand-panel-deep) 85%, transparent) !important;
}

body.theme-dream2 .zery2-events-page__tab.is-active,
body.theme-dream2 .zery2-events-page__tab:hover,
body.theme-dream2 .zery2-events-widget__tab.is-active,
body.theme-dream2 .zery2-events-widget__tab:hover {
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson)) !important;
    border-color: var(--brand-crimson) !important;
    color: #fff !important;
}

body.theme-dream2 .zery2-events-page__count,
body.theme-dream2 .zery2-events-widget__count,
body.theme-dream2 .zery2-events-widget__refresh {
    color: var(--brand-muted) !important;
}

body.theme-dream2 .zery2-ranking-tabs__link.is-active,
body.theme-dream2 .zery2-ranking-tabs__link:hover {
    background: color-mix(in srgb, var(--brand-crimson) 28%, transparent) !important;
    color: #fff !important;
}

body.theme-dream2 .zery2-btn-crimson,
body.theme-dream2 a.zery2-btn-crimson,
body.theme-dream2 .zery2-btn-primary,
body.theme-dream2 a.zery2-btn-primary {
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson)) !important;
    border-color: var(--brand-crimson) !important;
    color: #fff !important;
}

body.theme-dream2 .zery2-account-hero__title.is-staff {
    color: var(--brand-crimson-light) !important;
}

/* ── Anti-marrón Zery: superficies / tablas / stats / shop / discord ── */
body.theme-dream2 .zery2-profile__stat,
body.theme-dream2 .zery2-purchases__summary .zery2-profile__stat,
body.theme-dream2 .zery2-account__stats .zery2-profile__stat {
    background: color-mix(in srgb, var(--brand-panel-deep) 92%, #000) !important;
    border-color: var(--d2-line) !important;
}

body.theme-dream2 .zery2-ranking-table-wrap,
body.theme-dream2 .zery2-table-wrap,
body.theme-dream2 table.zery2-ranking-table,
body.theme-dream2 .zery2-ranking-table th,
body.theme-dream2 .zery2-ranking-table td {
    background-color: transparent;
    border-color: var(--d2-line) !important;
    color: var(--brand-text);
}

body.theme-dream2 .zery2-ranking-table th {
    background: color-mix(in srgb, var(--brand-panel) 88%, #000) !important;
    color: var(--brand-muted) !important;
}

body.theme-dream2 .zery2-ranking-table tbody tr,
body.theme-dream2 .zery2-ranking-table__row--gold,
body.theme-dream2 .zery2-ranking-table__row--silver,
body.theme-dream2 .zery2-ranking-table__row--bronze {
    background: color-mix(in srgb, var(--brand-panel-deep) 78%, transparent) !important;
}

body.theme-dream2 .zery2-ranking-table tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--brand-surface) 70%, transparent) !important;
}

body.theme-dream2 .zery2-ranking-table tbody tr:hover {
    background: color-mix(in srgb, var(--brand-crimson) 14%, var(--brand-panel-deep)) !important;
}

body.theme-dream2 .zery2-tier-panel,
body.theme-dream2 .zery2-tier-panel__inner,
body.theme-dream2 .zery2-tier-panel__bonus-card,
body.theme-dream2 .zery2-tier-panel__metric,
body.theme-dream2 .zery2-tier-panel__step,
body.theme-dream2 .zery2-tier-panel__step.is-current,
body.theme-dream2 .zery2-tier-panel__step.is-unlocked {
    background: color-mix(in srgb, var(--brand-panel-deep) 90%, #000) !important;
    border-color: var(--d2-line) !important;
    color: var(--brand-text) !important;
}

body.theme-dream2 .zery2-tier-panel__step.is-current {
    border-color: var(--brand-crimson) !important;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-crimson) 45%, transparent);
}

body.theme-dream2 .zery2-tier-panel__step-marker,
body.theme-dream2 .zery2-tier-panel__progress-fill,
body.theme-dream2 .zery2-tier-panel__badge {
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson)) !important;
    border-color: var(--brand-crimson) !important;
    color: #fff !important;
}

body.theme-dream2 .zery2-discord-hero,
body.theme-dream2 .zery2-discord__inner,
body.theme-dream2 .zery2-discord-reward,
body.theme-dream2 .zery2-discord-rewards__card,
body.theme-dream2 [class*="zery2-discord"][class*="card"],
body.theme-dream2 [class*="zery2-discord"][class*="reward"] {
    background: color-mix(in srgb, var(--brand-panel-deep) 90%, #000) !important;
    border-color: var(--d2-line) !important;
}

body.theme-dream2 .zery2-btn-crimson,
body.theme-dream2 a.zery2-btn-crimson,
body.theme-dream2 .zery2-ranking-table .zery2-btn-crimson,
body.theme-dream2 .zery2-account .zery2-btn-crimson,
body.theme-dream2 .zery2-btn-view,
body.theme-dream2 a.zery2-btn-view {
    background: linear-gradient(180deg, var(--brand-crimson-light), var(--brand-crimson)) !important;
    border-color: var(--brand-crimson) !important;
    color: #fff !important;
}

body.theme-dream2 a.zery2-btn-view:hover {
    background: var(--brand-crimson-light) !important;
    border-color: var(--brand-crimson-light) !important;
}

body.theme-dream2 .zery2-events-calendar__day {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--brand-panel) 92%, transparent) 0%,
        var(--brand-panel-deep) 100%
    ) !important;
    border-color: var(--d2-line) !important;
}

body.theme-dream2 .zery2-events-calendar__day.is-today {
    border-color: var(--brand-crimson) !important;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--brand-crimson) 35%, transparent),
        0 0 10px color-mix(in srgb, var(--brand-crimson) 18%, transparent) !important;
}

body.theme-dream2 .zery2-events-calendar__day-num {
    color: var(--brand-gold-light) !important;
}

body.theme-dream2 .zery2-events-calendar__event-count {
    color: var(--brand-text) !important;
    border-color: color-mix(in srgb, var(--brand-border-light) 45%, transparent) !important;
}
