:root {
    --dt-bg: #f7f7f7;
    --dt-white: #ffffff;
    --dt-text: #202124;
    --dt-muted: #777;
    --dt-border: #e5e5e5;

    --dt-red: #b62d31;
    --dt-orange: #f36b21;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-width: 1100px;
    background: var(--dt-bg);
    color: var(--dt-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* ==========================================================
   HEADER SUPERIOR
   ========================================================== */

.dt-header {
    width: 100%;
    height: 88px;

    display: flex;
    align-items: center;

    padding: 0 34px;

    background: #fff;
    border-bottom: 1px solid var(--dt-border);
}


/* LOGO */

.dt-header__logo {
    width: 300px;
    flex: 0 0 300px;

    display: flex;
    align-items: center;
}

.dt-header__logo a {
    display: flex;
    align-items: center;
}

.dt-header__logo img {
    display: block;

    width: 245px;
    height: auto;
    max-height: 68px;

    object-fit: contain;
}


/* ZONA DERECHA */

.dt-header__right {
    flex: 1;
    min-width: 0;

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

    gap: 30px;
}


/* ==========================================================
   BUSCADOR
   ========================================================== */

.dt-search {
    position: relative;

    width: min(650px, 48vw);
    height: 46px;

    margin-left: 20px;
}

.dt-search__icon {
    position: absolute;

    left: 16px;
    top: 50%;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);

    fill: #777;

    pointer-events: none;
}

.dt-search input {
    width: 100%;
    height: 46px;

    padding: 0 18px 0 45px;

    border: 1px solid #dedede;
    border-radius: 8px;

    outline: none;

    background: #fafafa;
    color: #222;

    font: inherit;

    transition: .15s ease;
}

.dt-search input::placeholder {
    color: #999;
}

.dt-search input:hover,
.dt-search input:focus {
    background: #fff;
    border-color: #c8c8c8;
}

.dt-search input:focus {
    box-shadow: 0 0 0 3px rgba(182, 45, 49, .08);
}


/* ==========================================================
   FAVORITOS / RSS / CUENTA
   ========================================================== */

.dt-header__nav {
    height: 100%;

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

    gap: 6px;
}

.dt-header__link {
    position: relative;

    height: 100%;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #282828;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color .15s ease,
        transform .15s ease;
}

.dt-header__link svg {
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    fill: currentColor;
}

.dt-header__link:hover {
    color: var(--dt-orange);
    background: transparent;
    text-decoration: none;
    transform: scale(1.06);
}

.dt-header__link::after {
    display: none;
}


.dt-header__messages {
    --dt-message-badge: #f15c18;
}

html[data-theme="dark"] .dt-header__messages {
    --dt-message-badge: #55a630;
}

.dt-header__account {
    margin-left: 4px;
}


/* ==========================================================
   CUERPO TEMPORAL
   ========================================================== */

.dt-page {
    width: 100%;
}

.dt-content {
    width: calc(100% - 60px);
    margin: 30px auto;
}

/* ==========================================================
   NAVEGACION PRINCIPAL
   ========================================================== */

.dt-mainnav {
    width: 100%;
    height: 60px;

    display: flex;
    align-items: stretch;

    padding: 0 34px;

    background: #fff;
    border-bottom: 1px solid var(--dt-border);

    overflow: hidden;
}

.dt-mainnav__item {
    position: relative;

    height: 60px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #252525;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color .15s ease,
        background .15s ease;
}

.dt-mainnav__item:hover {
    color: var(--dt-red);
    background: #fafafa;
}

.dt-mainnav__item::after {
    content: "";

    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--dt-orange),
        var(--dt-red)
    );

    transform: scaleX(0);

    transition: transform .15s ease;
}

.dt-mainnav__item:hover::after,
.dt-mainnav__item.is-active::after {
    transform: scaleX(1);
}

.dt-mainnav__item.is-active {
    color: var(--dt-red);
}

.dt-mainnav__home {
    margin-right: 8px;
}

.dt-mainnav__home svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}


/* ==========================================================
   ICONOS + SELECCION NARANJA
   ========================================================== */

.dt-nav-icon {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-mainnav__item {
    height: 42px;

    margin: auto 2px;

    border-radius: 6px;

    padding-left: 15px;
    padding-right: 15px;
}

.dt-mainnav__item:hover {
    color: var(--dt-orange);
    background: #fff4ed;
}

/* Seleccion actual */

.dt-mainnav__item.is-active {
    color: #fff;
    background: var(--dt-orange);
}

.dt-mainnav__item.is-active:hover {
    color: #fff;
    background: #e95b18;
}

/* Quitamos la raya antigua */

.dt-mainnav__item.is-active::after {
    display: none;
}

.dt-mainnav__item:hover::after {
    display: none;
}

/* HOME conserva su icono relleno */

.dt-mainnav__home svg {
    width: 16px;
    height: 16px;

    fill: currentColor;
    stroke: none;
}


/* =========================================================
   DT MAIN NAV V2
   ========================================================= */

.dt-mainnav {
    display: flex;
    align-items: center;
    gap: 4px;

    width: 100%;
    min-height: 58px;

    padding: 7px 42px;

    box-sizing: border-box;

    background: #fff;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #e5e5e5;

    overflow-x: auto;
    white-space: nowrap;
}

.dt-mainnav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    height: 42px;

    padding: 0 15px;

    flex: 0 0 auto;

    border-radius: 6px;

    color: #3e3e3e;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: background .15s ease, color .15s ease;
}

.dt-mainnav__item svg {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-mainnav__item:first-child svg {
    fill: currentColor;
    stroke: none;
}

.dt-mainnav__item:hover {
    color: #ef641f;
    background: #fff3ed;
}

.dt-mainnav__item.is-active {
    color: #fff;
    background: #ef641f;
}

.dt-mainnav__item.is-active:hover {
    color: #fff;
    background: #dc5518;
}

.dt-mainnav::-webkit-scrollbar {
    height: 4px;
}

.dt-mainnav::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 10px;
}

/* FIX NAV ICONS */
.dt-mainnav {
    height: 58px !important;
    min-height: 58px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.dt-mainnav__item {
    height: 42px !important;
    min-height: 42px !important;
}

.dt-mainnav__item svg,
.dt-mainnav__item:first-child svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    flex: 0 0 17px !important;
    display: block !important;
}

.dt-mainnav__item:first-child svg {
    fill: currentColor !important;
    stroke: none !important;
}

.dt-mainnav__item:not(:first-child) svg {
    fill: none !important;
    stroke: currentColor !important;
}
/* ==========================================================
   SEGUNDA BARRA + ESTADISTICAS TRACKER
   ========================================================== */

.dt-mainnav {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 28px 0 42px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-top: 1px solid #ededed !important;
    border-bottom: 1px solid #e5e5e5 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}


/* LINKS */

.dt-mainnav__links {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 3px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.dt-mainnav__links::-webkit-scrollbar {
    display: none;
}


.dt-mainnav__item {
    flex: 0 0 auto;

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

    gap: 7px;

    height: 42px !important;

    padding: 0 12px !important;

    border-radius: 6px;

    color: #3e3e3e;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease;
}


.dt-mainnav__item svg,
.dt-mainnav__item:first-child svg {
    display: block !important;

    width: 17px !important;
    height: 17px !important;

    min-width: 17px !important;
    max-width: 17px !important;

    min-height: 17px !important;
    max-height: 17px !important;

    flex: 0 0 17px !important;
}


.dt-mainnav__item:first-child svg {
    fill: currentColor !important;
    stroke: none !important;
}


.dt-mainnav__item:not(:first-child) svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.dt-mainnav__item:hover {
    color: #ef641f;
    background: #fff3ed;
}


.dt-mainnav__item.is-active {
    color: #fff;
    background: #ef641f;
}


/* ==========================================================
   ESTADISTICAS DERECHA · COMPACTAS
   ========================================================== */

.dt-userstats {
    flex: 0 0 520px;
    min-width: 520px;
    height: 58px;

    margin-left: 14px;
    padding: 2px 0 2px 12px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;

    border-left: 1px solid #ececec;

    background: #fff;
}


/* ==========================================================
   FILA PRINCIPAL
   ========================================================== */

.dt-userstats__main {
    height: 27px;

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

.dt-userstat {
    min-width: 0;
    height: 27px;

    padding: 0 9px;

    display: flex;
    align-items: center;
    gap: 6px;

    border: 0;
    border-radius: 6px;

    background: #f6f6f4;

    color: #333;
}

.dt-userstat:nth-child(even) {
    background: #fbfbfa;
}

.dt-userstat__icon {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

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

    background: transparent;
}

.dt-userstat__icon svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-userstat__body {
    min-width: 0;

    display: flex;
    align-items: baseline;
    gap: 5px;
}

.dt-userstat__label {
    color: #929292;

    font-size: 8px;
    line-height: 1;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .03em;
}

.dt-userstat strong {
    overflow: hidden;

    color: #222;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;

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

.dt-userstat--upload .dt-userstat__icon {
    color: #50a82f;
}

.dt-userstat--download .dt-userstat__icon {
    color: #e95639;
}

.dt-userstat--ratio .dt-userstat__icon {
    color: #ef641f;
}

.dt-userstat__icon--ratio {
    font-size: 17px;
    font-weight: 800;
}


/* ==========================================================
   FILA SECUNDARIA
   ========================================================== */

.dt-userstats__secondary {
    height: 22px;

    display: grid;
    grid-template-columns: 1.15fr 1.25fr .75fr 1fr;
    gap: 3px;
}

.dt-userstatus {
    min-width: 0;
    height: 22px;

    padding: 0 8px;

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

    border: 0;
    border-radius: 5px;

    background: #fbfbfa;

    color: #555;

    text-decoration: none !important;
}

.dt-userstatus:nth-child(even) {
    background: #f3f3f1;
}

.dt-userstatus__label {
    color: #898989;

    font-size: 8px;
    line-height: 1;
    font-weight: 750;

    white-space: nowrap;
}

.dt-userstatus__value {
    display: inline-flex;
    align-items: center;
    gap: 3px;

    color: #333;

    font-size: 9px;
    line-height: 1;
}

.dt-userstatus__value b {
    color: #333;
    font-weight: 900;
    white-space: nowrap;
}

.dt-userstatus__value .is-good {
    color: #50a82f;
}

.dt-userstatus__value .is-bad {
    color: #e95639;
}


/* CONECTABLE */

.dt-userstatus__dot {
    width: 5px;
    height: 5px;

    flex: 0 0 5px;

    border-radius: 50%;

    background: #bcbcbc;
}

.dt-userstatus__dot.is-good {
    background: #50a82f;
}

.dt-userstatus__dot.is-bad {
    background: #e95639;
}


/* H&R */

.dt-userstatus--hr:hover {
    background: #fff4df;
}

.dt-userstatus__hr-icon,
.dt-userstatus--hr .dt-userstatus__value b {
    color: #d99400;
}


/* ==========================================================
   DARK
   ========================================================== */

html[data-theme="dark"] .dt-userstats {
    border-left-color: #303536;
    background: #111516;
}

html[data-theme="dark"] .dt-userstat {
    background: #1b2021;
}

html[data-theme="dark"] .dt-userstat:nth-child(even) {
    background: #161b1c;
}

html[data-theme="dark"] .dt-userstat strong {
    color: #e7ebec;
}

html[data-theme="dark"] .dt-userstat__label {
    color: #7f888a;
}

html[data-theme="dark"] .dt-userstatus {
    background: #161b1c;
}

html[data-theme="dark"] .dt-userstatus:nth-child(even) {
    background: #1d2223;
}

html[data-theme="dark"] .dt-userstatus__label {
    color: #818a8c;
}

html[data-theme="dark"] .dt-userstatus__value,
html[data-theme="dark"] .dt-userstatus__value b {
    color: #e1e5e6;
}

html[data-theme="dark"] .dt-userstatus--hr:hover {
    background: #261e16;
}


/* ==========================================================
   WORKSPACE
   ========================================================== */

.dt-workspace {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;

    width: calc(100% - 58px);
    max-width: none;

    margin-left: 58px;

    padding: 28px 24px 40px 18px;

    box-sizing: border-box;
}

.dt-workspace__content {
    grid-column: 1 / 3;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.dt-content {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}
.dt-content table {
    width: 100%;
    max-width: none;
}
/* ==========================================================
   BARRA LATERAL
   ========================================================== */

.dt-side-nav {
    position: fixed;

    left: 0;
    top: 145px;
    bottom: 0;

    width: 58px;

    padding: 8px 0;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    background: #fff;

    border-right: 1px solid #ececec;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;

    box-shadow: none;

    z-index: 50;
}
.dt-side-nav__theme {
    margin-top: auto;
}

.dt-side-nav__item {
    position: relative;

    width: 42px;
    height: 42px;

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

    border-radius: 7px;

    color: #555;

    text-decoration: none;

    transition:
        color .15s ease,
        background .15s ease,
        transform .15s ease;
}


.dt-side-nav__item svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.dt-side-nav__item:hover {
    color: #ef641f;
    background: #fff2eb;
}


/* TOOLTIP */

.dt-side-nav__item::after {
    content: attr(data-label);

    position: absolute;

    left: calc(100% + 10px);
    top: 50%;

    transform: translateY(-50%) translateX(-3px);

    padding: 7px 10px;

    background: #282828;
    color: #fff;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;

    line-height: 1;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .12s ease,
        transform .12s ease,
        visibility .12s ease;

    z-index: 1000;
}


.dt-side-nav__item::before {
    content: "";

    position: absolute;

    left: calc(100% + 5px);
    top: 50%;

    transform: translateY(-50%);

    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #282828 transparent transparent;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .12s ease,
        visibility .12s ease;

    z-index: 1000;
}


.dt-side-nav__item:hover::after,
.dt-side-nav__item:hover::before {
    opacity: 1;
    visibility: visible;
}

.dt-side-nav__item:hover::after {
    transform: translateY(-50%) translateX(0);
}
.dt-side-nav__theme:hover {
    color: #ef641f;
    background: #fff2eb;
}

.dt-side-nav__theme.is-active {
    color: #55a630;
}

.dt-side-nav__theme.is-active:hover {
    color: #ef641f;
}

/* ==========================================================
   MODO NOCHE
   ========================================================== */


/* CABECERA */

html[data-theme="dark"] .dt-header {
    background: #111;
    color: #fff;
}

html[data-theme="dark"] .dt-header__link {
    color: #ddd;
}

html[data-theme="dark"] .dt-header__link:hover {
    color: #55a630;
    background: transparent;
    text-decoration: none;
    transform: scale(1.06);
}


/* BUSCADOR */

html[data-theme="dark"] .dt-search {
    background: #222;
    border-color: #333;
}

html[data-theme="dark"] .dt-search input {
    color: #fff;
    background: transparent;
}

html[data-theme="dark"] .dt-search input::placeholder {
    color: #888;
}

html[data-theme="dark"] .dt-search__icon {
    fill: #aaa;
}


/* ==========================================================
   BARRA DE CATEGORÍAS
   ========================================================== */

html[data-theme="dark"] .dt-mainnav {
    background: #161616!important;
    border-color: #292929;
}

html[data-theme="dark"] .dt-mainnav__links {
    background: #161616;
}

html[data-theme="dark"] .dt-mainnav__item {
    color: #ccc;
}

html[data-theme="dark"] .dt-mainnav__item:hover {
    color: #fff;
    background: #2f7025;
}

html[data-theme="dark"] .dt-mainnav__item.is-active {
    color: #fff;
    background: #55a630;
}

html[data-theme="dark"] .dt-mainnav__item.is-active:hover {
    color: #fff;
    background: #3f7f24;
}


/* ==========================================================
   ESTADÍSTICAS DEL USUARIO
   ========================================================== */

html[data-theme="dark"] .dt-userstats {
    background: #161616;
    color: #ccc;
}

html[data-theme="dark"] .dt-userstats__main {
    border-bottom-color: #292929;
}

html[data-theme="dark"] .dt-userstats__secondary {
    color: #aaa;
}

html[data-theme="dark"] .dt-userstats__separator {
    background: #333;
}

html[data-theme="dark"] .dt-userstats__hr {
    color: #aaa;
}

html[data-theme="dark"] .dt-userstats__hr b,
html[data-theme="dark"] .dt-userstats__hr-icon {
    color: #55a630;
}


/* RATIO / ACENTOS NARANJAS -> VERDES */

html[data-theme="dark"] .dt-userstat--ratio {
    color: #55a630;
}

html[data-theme="dark"] .dt-userstat__ratio {
    color: #55a630;
}
html[data-theme="dark"] .dt-header {
    border-bottom-color: #333 !important;
}

html[data-theme="dark"] .dt-mainnav {
    border-top-color: #333 !important;
}

/* ==========================================================
   BARRA LATERAL IZQUIERDA
   ========================================================== */

html[data-theme="dark"] .dt-side-nav {
    background: #111;
    border-right-color: #292929;
}

html[data-theme="dark"] .dt-side-nav__item {
    color: #ccc;
}

html[data-theme="dark"] .dt-side-nav__item:hover {
    color: #55a630;
    background: #1c2818;
}


/* MODO NOCHE ACTIVO */

html[data-theme="dark"] .dt-side-nav__theme.is-active {
    color: #55a630;
}

html[data-theme="dark"] .dt-side-nav__theme.is-active:hover {
    color: #3f7f24;
    background: #1c2818;
}


/* ==========================================================
   TOOLTIP BARRA LATERAL
   ========================================================== */

html[data-theme="dark"] .dt-side-nav__item::after {
    background: #222;
    color: #fff;
}

html[data-theme="dark"] .dt-side-nav__item::before {
    border-color: transparent #222 transparent transparent;
}

/* ==========================================================
   FILTROS
   ========================================================== */

.dt-filters {
    width: 260px;
    box-sizing: border-box;

    align-self: start;

    background: #fff;

    border: 1px solid #e9e9e9;
    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}


/* CABECERA */

.dt-filters__header {
    height: 42px;

    display: flex;
    align-items: center;

    padding: 0 16px;

    background: #ef641f;
    color: #fff;
}

.dt-filters__title {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.dt-filters__title svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* FORMULARIO */

.dt-filters__form {
    display: flex;
    flex-direction: column;
    gap: 15px;

    padding: 16px;
}


/* CAMPO */

.dt-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dt-filter label {
    color: #333;

    font-size: 12px;
    font-weight: 700;
}


/* SELECTS */

.dt-filter select {
    width: 100%;
    height: 36px;

    padding: 0 34px 0 11px;

    box-sizing: border-box;

    border: 1px solid #dedede;
    border-radius: 5px;

    background: #fff;
    color: #333;

    font-size: 12px;

    outline: none;

    cursor: pointer;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.dt-filter select:hover {
    border-color: #c9c9c9;
}

.dt-filter select:focus {
    border-color: #ef641f;
    box-shadow: 0 0 0 2px rgba(239, 100, 31, .10);
}


/* TAMAÑO */

.dt-filter__range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    gap: 7px;

    align-items: center;
}

.dt-filter__range span {
    color: #999;

    font-size: 10px;
    text-align: center;
}

.dt-filter__range input {
    width: 100%;
    height: 36px;

    padding: 0 10px;

    box-sizing: border-box;

    border: 1px solid #dedede;
    border-radius: 5px;

    background: #fff;
    color: #333;

    font-size: 12px;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.dt-filter__range input::placeholder {
    color: #aaa;
}

.dt-filter__range input:hover {
    border-color: #c9c9c9;
}

.dt-filter__range input:focus {
    border-color: #ef641f;
    box-shadow: 0 0 0 2px rgba(239, 100, 31, .10);
}


/* QUITAR FLECHAS NUMBER */

.dt-filter__range input[type="number"]::-webkit-inner-spin-button,
.dt-filter__range input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dt-filter__range input[type="number"] {
    -moz-appearance: textfield;
}


/* BOTÓN APLICAR */

.dt-filters__submit {
    width: 100%;
    height: 38px;

    margin-top: 4px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 0;
    border-radius: 5px;

    background: #ef641f;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.dt-filters__submit svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-filters__submit:hover {
    background: #d95313;
}

.dt-filters__submit:active {
    transform: translateY(1px);
}


/* LIMPIAR */

.dt-filters__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: #888;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: color .15s ease;
}

.dt-filters__clear svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-filters__clear:hover {
    color: #ef641f;
}


/* ==========================================================
   FILTROS - MODO NOCHE
   El panel sigue blanco; solo cambia el acento naranja -> verde
   ========================================================== */

html[data-theme="dark"] .dt-filters__header {
    background: #55a630;
}

html[data-theme="dark"] .dt-filter select:focus,
html[data-theme="dark"] .dt-filter__range input:focus {
    border-color: #55a630;
    box-shadow: 0 0 0 2px rgba(85, 166, 48, .12);
}

html[data-theme="dark"] .dt-filters__submit {
    background: #55a630;
}

html[data-theme="dark"] .dt-filters__submit:hover {
    background: #3f7f24;
}

html[data-theme="dark"] .dt-filters__clear:hover {
    color: #55a630;
}

/* ==========================================================
   DESTACADOS
   ========================================================== */

.dt-highlights {
    min-width: 0;
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid #e9e9e9;
    border-radius: 8px;

    box-sizing: border-box;
    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

/* ==========================================================
   CABECERA
   ========================================================== */

.dt-highlights__header {
    height: 42px;

    padding: 0 18px;

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

    box-sizing: border-box;

    border-bottom: 1px solid #eeeeee;
}


.dt-highlights__title {
    position: relative;

    height: 42px;

    display: flex;
    align-items: center;
    gap: 6px;

    color: #222;

    font-size: 15px;
    font-weight: 800;

    text-transform: uppercase;
}


.dt-highlights__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 44px;
    height: 2px;

    background: #ef641f;
}


.dt-highlights__bolt {
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    fill: #ef641f !important;
    stroke: none !important;
}

.dt-highlights__bolt path {
    fill: #ef641f !important;
    stroke: none !important;
}


.dt-highlights__all {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #ef641f;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    text-decoration: none;

    transition: color .15s ease;
}


.dt-highlights__all span {
    font-size: 16px;
    line-height: 1;
}


.dt-highlights__all:hover {
    color: #d95313;
}

html[data-theme="dark"] .dt-highlights__title::after {
    background: #55a630 !important;
}

html[data-theme="dark"] .dt-highlights__bolt,
html[data-theme="dark"] .dt-highlights__bolt path {
    fill: #55a630 !important;
    stroke: none !important;
}
/* ==========================================================
   VIEWPORT
   ========================================================== */

.dt-highlights__viewport {
    position: relative;

    width: 100%;
    flex: 1;
    min-height: 0;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding: 14px 24px;

    overflow: hidden;
}


/* ==========================================================
   TRACK
   ========================================================== */

.dt-highlights__track {
    display: flex;
    align-items: stretch;

    gap: 12px;

    width: 100%;

    overflow: hidden;

    scroll-behavior: smooth;
}


/* ==========================================================
   TARJETA
   ========================================================== */

.dt-highlight-card {
    flex: 0 0 180px;

    min-width: 0;

    display: block;

    color: inherit;
    text-decoration: none;

    border-radius: 7px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}


.dt-highlight-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}


/* ==========================================================
   PORTADA
   ========================================================== */

.dt-highlight-card__cover {
    position: relative;

    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #e9e9e9;
}


.dt-highlight-card__cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .25s ease;
}


.dt-highlight-card:hover .dt-highlight-card__cover img {
    transform: scale(1.025);
}


/* ==========================================================
   SIN PORTADA
   ========================================================== */

.dt-highlight-card__no-cover {
    width: 100%;
    height: 100%;

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

    background: #ececec;
    color: #999;

    font-size: 11px;
    font-weight: 600;
}


/* ==========================================================
   ETIQUETA HOT / CLASSIC / RECOM
   ========================================================== */

.dt-highlight-card__tag {
    position: absolute;

    top: 8px;
    right: 8px;

    padding: 4px 7px;

    border-radius: 4px;

    color: #fff;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    z-index: 2;
}


.dt-highlight-card__tag.is-hot {
    background: #ef641f;
}


.dt-highlight-card__tag.is-classic {
    background: #ef641f;
}


.dt-highlight-card__tag.is-recommended {
    background: #ef641f;
}


/* ==========================================================
   META INFERIOR SOBRE PORTADA
   ========================================================== */

.dt-highlight-card__meta {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 34px;

    padding: 0 8px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    background: rgba(15, 15, 15, .93);

    color: #fff;

    font-size: 10px;
    font-weight: 700;
}


.dt-highlight-card__size {
    margin-right: auto;

    color: #f2f2f2;
}


.dt-highlight-card__seed {
    margin-left: 8px;

    color: #59b934;
}


.dt-highlight-card__leech {
    margin-left: 8px;

    color: #ef563c;
}


/* ==========================================================
   NOMBRE
   ========================================================== */

.dt-highlight-card__name {
    height: 66px;

    padding: 8px 10px 10px;

    box-sizing: border-box;

    overflow: hidden;

    color: #333;

    font-size: 11px;
    font-weight: 600;

    line-height: 14px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

    background: #fff;
}


/* ==========================================================
   CONTROLES INFERIORES DESTACADOS
   ========================================================== */

.dt-highlights__controls {
    position: relative;

    height: 42px;

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

    padding: 0 16px;

    box-sizing: border-box;
}


/* FLECHAS ABAJO A LA IZQUIERDA */

.dt-highlights__arrows {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 5px;
}


.dt-highlights__arrow {
    width: 48px;
    height: 28px;

    padding: 0;

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

    border: 0;
    border-radius: 3px;

    background: #ef641f;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition: background .15s ease;
}


.dt-highlights__arrow:hover {
    background: #d95313;
}


/* DOTS CENTRADOS */

.dt-highlights__dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}


.dt-highlights__dot {
    width: 15px;
    height: 15px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ccc;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}


.dt-highlights__dot:hover {
    transform: scale(1.2);
}


.dt-highlights__dot.is-active {
    background: #ef641f;
}


/* MODO NEGRO / VERDE */

html[data-theme="dark"] .dt-highlights__arrow {
    background: #55a630;
}

html[data-theme="dark"] .dt-highlights__arrow:hover {
    background: #3f7f24;
}

html[data-theme="dark"] .dt-highlights__dot.is-active {
    background: #55a630;
}
/* ==========================================================
   VACÍO
   ========================================================== */

.dt-highlights__empty {
    min-height: 300px;

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

    color: #999;

    font-size: 12px;
}


/* ==========================================================
   MODO NOCHE
   El bloque central sigue blanco.
   Solo naranja -> verde.
   ========================================================== */


html[data-theme="dark"] .dt-highlights__all {
    color: #55a630;
}


html[data-theme="dark"] .dt-highlights__all:hover {
    color: #3f7f24;
}


html[data-theme="dark"] .dt-highlight-card__tag {
    background: #55a630;
}


html[data-theme="dark"] .dt-highlights__arrow {
    background: #55a630;
}


html[data-theme="dark"] .dt-highlights__arrow:hover {
    background: #3f7f24;
}


html[data-theme="dark"] .dt-highlights__dot.is-active {
    background: #55a630;
}

.dt-side-nav {
    position: fixed;

    left: 0;
    top: 145px;
    bottom: 0;

    width: 58px;

    /* resto igual */
}
/* ==========================================================
   DT DESKTOP · FILTROS POR PESTAÑAS
   ========================================================== */

.dt-filters__header {
    margin-bottom: 12px;
}

.dt-filters__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4px;

    padding: 4px;

    border-radius: 12px;

    background: rgba(0,0,0,.045);
}

.dt-filters__tab {
    height: 34px;

    padding: 0 8px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #777;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.dt-filters__tab.is-active {
    background: #fff;
    color: #ef5218;

    box-shadow:
        0 3px 10px rgba(0,0,0,.07);
}

.dt-filters__panel[hidden] {
    display: none;
}

.dt-filters__panel {
    display: block;
}

.dt-filter {
    margin-bottom: 10px;
}

.dt-filter label {
    margin-bottom: 4px;
}

.dt-filter select,
.dt-filter input {
    min-height: 36px;
}

.dt-filter-dead-check {
    margin: 3px 0 10px;
}

.dt-filters__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;

    margin-top: 4px;
}

.dt-filters__actions .dt-filters__submit,
.dt-filters__actions .dt-filters__clear {
    min-height: 38px;
}


/* ==========================================================
   DT DESKTOP · FILTROS · AJUSTE VISUAL
   ========================================================== */

/* más aire entre cada bloque */
.dt-filter {
    margin-bottom: 14px;
}

.dt-filter label {
    display: block;

    margin: 0 0 7px;

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    color: #302b28;
}

/* checkbox separado del último select */
.dt-filter-dead-check {
    margin: 2px 0 16px;
}


/* ==========================================================
   PESTAÑAS FILTROS / AVANZADO
   ========================================================== */

.dt-filters__header {
    padding: 10px 12px;
    margin: 0;

    background:
        linear-gradient(
            135deg,
            #ff6d1d,
            #f05220
        );
}

.dt-filters__tabs {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4px;

    padding: 3px;

    border-radius: 10px;

    background: rgba(255,255,255,.18);
}

.dt-filters__tab {
    height: 32px;

    padding: 0 10px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: rgba(255,255,255,.82);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.dt-filters__tab.is-active {
    background: #fff;
    color: #ef5218;

    box-shadow:
        0 3px 10px rgba(80,25,5,.14);
}

html[data-theme="dark"] .dt-filters__tab.is-active {
    color: #55a630;
}


/* un poco de aire al empezar los campos */
.dt-filters__form {
    padding-top: 14px;
}


/* acciones más separadas del último campo */
.dt-filters__actions {
    margin-top: 8px;
}


/* DT desktop · filtros aún más compactos */

.dt-filter {
    margin-bottom: 10px;
}

.dt-filter label {
    margin-bottom: 5px;
}

.dt-filter select,
.dt-filter input {
    height: 34px;
    min-height: 34px;
}

.dt-filter-dead-check {
    margin: 0 0 10px;
}

.dt-filters__form {
    padding-top: 10px;
}


/* DT desktop · quitar aire vertical de filtros */

.dt-filters__form {
    padding-top: 7px;
}

.dt-filter {
    margin-bottom: 6px;
}

.dt-filter label {
    margin-bottom: 3px;
}

.dt-filter-dead-check {
    margin: 2px 0 7px;
}

.dt-filters__actions {
    margin-top: 2px;
}


.dt-filter__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.dt-filter__dates input {
    width: 100%;
    min-width: 0;
    height: 34px;
}


.dt-header__link.is-active {
    color: var(--dt-orange);
}

html[data-theme="dark"] .dt-header__link.is-active {
    color: #55a630;
}

.dt-header__link.is-active::after {
    transform: scaleX(1);
}


/* ==========================================================
   DT - DONATE FLOTANTE DESKTOP
   ========================================================== */

.donate-float {
    position: fixed !important;
    right: 22px !important;
    bottom: 80px !important;
    z-index: 99999 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    height: 42px;
    padding: 0 18px;

    background: #50b632;
    color: #fff !important;

    border: 1px solid #50b632;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;

    box-shadow: 0 5px 16px rgba(0,0,0,.22);
    transition:
        transform .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.donate-float:hover {
    background: #5cc53b;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,.28);
}

/* solo desktop */
@media (max-width: 760px) {
    .donate-float {
        display: none !important;
    }
}


/* Donate DT: naranja claro / verde oscuro */
.donate-float {
    background: #f28c18 !important;
    border-color: #f28c18 !important;
    color: #fff !important;
}

.donate-float:hover {
    background: #ff9d2d !important;
    border-color: #ff9d2d !important;
    color: #fff !important;
}

html[data-theme="dark"] .donate-float {
    background: #50b632 !important;
    border-color: #50b632 !important;
    color: #fff !important;
}

html[data-theme="dark"] .donate-float:hover {
    background: #5cc53b !important;
    border-color: #5cc53b !important;
    color: #fff !important;
}

/* ==========================================================
   BUSCADOR DT - selector área
   ========================================================== */

.dt-search__area {
    width: 44px;
    height: 100%;
    flex: 0 0 44px;

    border: 0;
    border-left: 1px solid #e0e3e6;
    background-color: transparent;

    cursor: pointer;
    outline: none;

    /* En cerrado solo queremos ver la flecha nativa */
    font-size: 0;
}

.dt-search__area option {
    font-size: 13px;
    color: #111;
    background: #fff;
}

html[data-theme="dark"] .dt-search__area {
    border-left-color: rgba(255,255,255,.12);
    color-scheme: dark;
}

html[data-theme="dark"] .dt-search__area option {
    color: #fff;
    background: #171b1d;
}


/* ==========================================================
   BUSCADOR DT - flecha selector dentro del campo
   ========================================================== */

.dt-search {
    position: relative !important;
}

.dt-search > input[name="search"] {
    padding-right: 48px !important;
}

.dt-search__area {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;

    width: 44px !important;
    height: 100% !important;
    margin: 0 !important;

    border: 0 !important;
    border-left: 1px solid #e0e3e6 !important;
    border-radius: 0 9px 9px 0 !important;

    background: transparent !important;

    cursor: pointer;
    font-size: 0 !important;

    z-index: 3;
}

.dt-search__area option {
    font-size: 13px !important;
}

html[data-theme="dark"] .dt-search__area {
    border-left-color: rgba(255,255,255,.12) !important;
}


/* ==========================================================
   BUSCADOR DT - acabado selector área
   ========================================================== */

.dt-search__area {
    width: 44px !important;
    min-width: 44px !important;

    padding: 0 8px 0 6px !important;

    border-left: 1px solid #d9dde1 !important;
    border-radius: 0 10px 10px 0 !important;

    background-color: #fafafa !important;

    color: transparent !important;
    font-size: 0 !important;

    appearance: auto;
    -webkit-appearance: auto;

    cursor: pointer;
}

.dt-search__area:hover {
    background-color: #f3f4f5 !important;
}

.dt-search__area:focus {
    outline: none !important;
    box-shadow: inset 0 0 0 1px rgba(241, 92, 24, .22);
}

/* El desplegable abierto sí muestra texto normal */
.dt-search__area option {
    font-size: 13px !important;
    color: #111 !important;
    background: #fff !important;
    padding: 6px 10px;
}

html[data-theme="dark"] .dt-search__area {
    background-color: rgba(255,255,255,.035) !important;
    border-left-color: rgba(255,255,255,.12) !important;
    color-scheme: dark;
}

html[data-theme="dark"] .dt-search__area:hover {
    background-color: rgba(255,255,255,.07) !important;
}

html[data-theme="dark"] .dt-search__area option {
    color: #fff !important;
    background: #171b1d !important;
}


/* ==========================================================
   DT SEARCH AREA - MENU
   ========================================================== */

.dt-search-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 100%;
    z-index: 50;
}

.dt-search-area__toggle {
    width: 44px;
    height: 100%;
    box-sizing: border-box;

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

    border-left: 1px solid #dde1e4;
    border-radius: 0 10px 10px 0;

    background: #fafafa;
    cursor: pointer;
    list-style: none;
}

.dt-search-area__toggle::-webkit-details-marker {
    display: none;
}

.dt-search-area__toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #555;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dt-search-area__toggle:hover {
    background: #f3f4f5;
}

.dt-search-area[open] .dt-search-area__toggle svg {
    transform: rotate(180deg);
}

.dt-search-area__menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;

    width: 180px;
    padding: 6px;

    background: #fff;
    border: 1px solid #dde1e4;
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.dt-search-area__option {
    width: 100%;
    padding: 9px 11px;

    display: block;

    border: 0;
    border-radius: 7px;
    background: transparent;

    color: #222;
    font-size: 13px;
    text-align: left;

    cursor: pointer;
}

.dt-search-area__option:hover {
    background: #f3f4f5;
}

.dt-search-area__option.is-active {
    background: rgba(241,92,24,.10);
    color: #f15c18;
    font-weight: 700;
}

html[data-theme="dark"] .dt-search-area__toggle {
    background: #171b1d;
    border-left-color: rgba(255,255,255,.12);
}

html[data-theme="dark"] .dt-search-area__toggle svg {
    stroke: #ddd;
}

html[data-theme="dark"] .dt-search-area__menu {
    background: #171b1d;
    border-color: rgba(255,255,255,.12);
}

html[data-theme="dark"] .dt-search-area__option {
    color: #eee;
}

html[data-theme="dark"] .dt-search-area__option:hover {
    background: rgba(255,255,255,.07);
}


/* Buscador DT - borde del botón de opciones */
.dt-search-area {
    padding: 4px !important;
    box-sizing: border-box;
}

.dt-search-area__toggle {
    width: 36px !important;
    height: 100% !important;

    border: 1px solid #d9dde1 !important;
    border-radius: 8px !important;

    background: #fafafa !important;
}

.dt-search-area__toggle:hover {
    border-color: #c9ced3 !important;
    background: #f4f5f6 !important;
}

.dt-search-area[open] .dt-search-area__toggle {
    border-color: rgba(241,92,24,.45) !important;
    background: rgba(241,92,24,.05) !important;
}

html[data-theme="dark"] .dt-search-area__toggle {
    border-color: rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.035) !important;
}

html[data-theme="dark"] .dt-search-area[open] .dt-search-area__toggle {
    border-color: #50b632 !important;
}


/* Botón real de buscar */
.dt-search-submit {
    position: absolute;
    top: 4px;
    right: 48px;

    width: 36px;
    height: calc(100% - 8px);

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

    border: 1px solid #d9dde1;
    border-radius: 8px;

    background: #fafafa;
    cursor: pointer;
}

.dt-search-submit:hover {
    background: #f4f5f6;
    border-color: #c9ced3;
}

.dt-search-submit svg {
    width: 16px;
    height: 16px;
    fill: #555;
}

.dt-search > input[name="search"] {
    padding-right: 92px !important;
}

html[data-theme="dark"] .dt-search-submit {
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.14);
}

html[data-theme="dark"] .dt-search-submit svg {
    fill: #ddd;
}


/* Lupa izquierda = botón real de búsqueda */
.dt-search__submit-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

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

    padding: 0;
    border: 0;
    border-radius: 6px;

    background: transparent;
    cursor: pointer;
    z-index: 4;
}

.dt-search__submit-left:hover {
    background: rgba(0,0,0,.045);
}

.dt-search__submit-left .dt-search__icon {
    position: static !important;
    transform: none !important;
    width: 16px;
    height: 16px;
}

html[data-theme="dark"] .dt-search__submit-left:hover {
    background: rgba(255,255,255,.07);
}

/* Ya no necesitamos el intento de botón extra derecho */
.dt-search-submit {
    display: none !important;
}



/* ==========================================================
   MI CUENTA - DESPLEGABLE
   ========================================================== */

.dt-header__account-dropdown {
    background: #fff;
    border: 1px solid #dde1e4;
}

.dt-header__account-option {
    display: block;
    padding: 9px 11px;
    border-radius: 7px;

    color: #222;
    text-decoration: none;

    transition:
        color .15s ease,
        background .15s ease,
        transform .15s ease;
}

.dt-header__account-option:hover {
    background: rgba(239, 82, 24, .10);
    color: #ef5218;
    text-decoration: none;
    transform: scale(1.03);
}


/* Oscuro */

html[data-theme="dark"] .dt-header__account-dropdown {
    background: #fff;
    border-color: #dde1e4;
}

html[data-theme="dark"] .dt-header__account-option {
    color: #222;
}

html[data-theme="dark"] .dt-header__account-option:hover {
    background: rgba(85, 166, 48, .16);
    color: #69c84a;
}


/* ==========================================================
   STAFF - mismo comportamiento que Mi cuenta
   ========================================================== */

.dt-header__staff-tools > div {
    background: #fff !important;
    border-color: #dde1e4 !important;
}

.dt-header__staff-tools > div > a {
    color: #222 !important;
    text-decoration: none !important;

    transition:
        color .15s ease,
        background .15s ease,
        transform .15s ease;
}

.dt-header__staff-tools > div > a:hover {
    background: rgba(239, 82, 24, .10) !important;
    color: #ef5218 !important;
    text-decoration: none !important;
    transform: scale(1.03);
}

html[data-theme="dark"] .dt-header__staff-tools > div > a:hover {
    background: rgba(85, 166, 48, .16) !important;
    color: #69c84a !important;
}


/* ==========================================================
   DESTACADOS - QUITAR
   ========================================================== */

.dt-highlight-card-wrap {
    position: relative;

    flex: 0 0 180px;
    min-width: 0;
}

.dt-highlight-card-wrap .dt-highlight-card {
    width: 100%;
}

.dt-highlight-card__remove-form {
    position: absolute;

    top: 7px;
    left: 7px;

    z-index: 20;

    margin: 0;
    padding: 0;
}

.dt-highlight-card__remove {
    width: 19px;
    height: 19px;

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

    padding: 0;

    border: 1px solid rgba(220, 40, 40, .35);
    border-radius: 50%;

    background: rgba(255,255,255,.94);
    color: #e53935;

    font-size: 16px;
    font-weight: 900;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 7px rgba(0,0,0,.18);

    transition:
        transform .15s ease,
        background .15s ease,
        color .15s ease;
}

.dt-highlight-card__remove:hover {
    background: #e53935;
    color: #fff;

    transform: scale(1.14);
}

.dt-highlights__outside-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    margin: 0 10px 7px 0;
}

.dt-highlights__outside-link .dt-highlights__all {
    transition:
        color .15s ease,
        transform .15s ease;
}

.dt-highlights__outside-link .dt-highlights__all:hover {
    transform: scale(1.04);
}

html[data-theme="dark"]
.dt-highlights__outside-link .dt-highlights__all {
    color: #55a630;
}


/* =========================================================
   DT · PAGINACIÓN LISTADO
   ========================================================= */

.dt-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    margin: 0 0 10px;
    padding: 8px 10px;

    font-size: 12px;
}


.dt-pager__count {
    margin-right: auto;

    color: #666;
    white-space: nowrap;
}

.dt-pager__count span {
    margin: 0 3px;

    color: #999;
}

.dt-pager__count strong {
    color: #222;
}


.dt-pager__sizes {
    display: flex;
    align-items: center;
    gap: 4px;
}


.dt-pager__size,
.dt-pager__nav a,
.dt-pager__nav > span {
    min-width: 30px;
    height: 30px;

    box-sizing: border-box;

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

    padding: 0 8px;

    border: 1px solid #ddd;
    border-radius: 7px;

    background: #fff;
    color: #444;

    text-decoration: none;
    font-weight: 700;
}


.dt-pager__size:hover,
.dt-pager__nav a:hover {
    border-color: #ef641f;
    color: #ef641f;
}


.dt-pager__size.is-active {
    border-color: #ef641f;

    background: #ef641f;
    color: #fff;
}


.dt-pager__custom {
    display: flex;
    align-items: center;

    margin-left: 3px;
}


.dt-pager__custom input {
    width: 58px;
    height: 30px;

    box-sizing: border-box;

    padding: 0 7px;

    border: 1px solid #ddd;
    border-radius: 7px 0 0 7px;

    outline: none;

    background: #fff;
    color: #222;

    text-align: center;
    font-size: 12px;
}


.dt-pager__custom input:focus {
    border-color: #ef641f;
}


.dt-pager__custom button {
    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 0 7px 7px 0;

    background: #ef641f;
    color: #fff;

    cursor: pointer;
    font-weight: 900;
}


.dt-pager__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}


.dt-pager__nav a,
.dt-pager__nav > span {
    font-size: 18px;
}


.dt-pager__nav .dt-pager__page {
    min-width: auto;

    border: 0;
    background: transparent;

    color: #666;

    font-size: 11px;
    font-weight: 700;
}


.dt-pager__nav .is-disabled {
    opacity: .35;
}


/* DARK */

html[data-theme="dark"] .dt-pager__count {
    color: #a9b0b2;
}

html[data-theme="dark"] .dt-pager__count span {
    color: #747c7e;
}

html[data-theme="dark"] .dt-pager__count strong {
    color: #fff;
}


html[data-theme="dark"] .dt-pager__size,
html[data-theme="dark"] .dt-pager__nav a,
html[data-theme="dark"] .dt-pager__nav > span {
    border-color: #303638;

    background: #15191a;
    color: #d9dede;
}


html[data-theme="dark"] .dt-pager__size:hover,
html[data-theme="dark"] .dt-pager__nav a:hover {
    border-color: #55a630;
    color: #55a630;
}


html[data-theme="dark"] .dt-pager__size.is-active {
    border-color: #55a630;

    background: #55a630;
    color: #fff;
}


html[data-theme="dark"] .dt-pager__custom input {
    border-color: #303638;

    background: #15191a;
    color: #fff;
}


html[data-theme="dark"] .dt-pager__custom input:focus {
    border-color: #55a630;
}


html[data-theme="dark"] .dt-pager__custom button {
    background: #55a630;
}


html[data-theme="dark"] .dt-pager__nav .dt-pager__page {
    background: transparent;
    color: #a9b0b2;
}

/* ==========================================================
   TORRENT LIST · SEEDS / LEECHERS POR THEME
   ========================================================== */

/* Theme claro */
html:not([data-theme="dark"]) .dt-torrent-col--seeders {
    color: #e87500 !important;
}

html:not([data-theme="dark"]) .dt-torrent-col--leechers {
    color: #111 !important;
}

/* Theme oscuro */
html[data-theme="dark"] .dt-torrent-col--seeders {
    color: #55a630 !important;
}

html[data-theme="dark"] .dt-torrent-col--leechers {
    color: #fff !important;
}


/* ==========================================================
   TORRENT LIST · LEECHERS NEUTRO COMO COMPLETOS
   ========================================================== */

.dt-torrent-col--leechers {
    color: inherit !important;
    font-weight: inherit !important;
}


/* ==========================================================
   TORRENT LIST · LEECHERS FINAL
   ========================================================== */

/* Toda la columna Leechers: neutra como Completos */
.dt-torrent-col--leechers {
    color: #111 !important;
    font-weight: 400 !important;
}

/* Cabecera: mismo peso que Completos */
.dt-torrent-table__head .dt-torrent-col--leechers {
    color: #111 !important;
    font-weight: 400 !important;
}


/* ==========================================================
   TORRENT LIST · LEECHERS SIEMPRE NEUTRO
   El listado mantiene fondo blanco en ambos themes.
   ========================================================== */

html:not([data-theme="dark"]) .dt-torrent-col--leechers,
html[data-theme="dark"] .dt-torrent-col--leechers {
    color: #111 !important;
    font-weight: 400 !important;
}

html:not([data-theme="dark"]) .dt-torrent-table__head .dt-torrent-col--leechers,
html[data-theme="dark"] .dt-torrent-table__head .dt-torrent-col--leechers {
    color: #111 !important;
    font-weight: 400 !important;
}


/* ==========================================================
   SHELL · MODO OSCURO · LUNA VERDE
   ========================================================== */

html[data-theme="dark"] #dt-theme-toggle,
html[data-theme="dark"] #dt-theme-toggle.is-active {
    color: #55a630 !important;
}

html[data-theme="dark"] #dt-theme-toggle svg,
html[data-theme="dark"] #dt-theme-toggle.is-active svg {
    color: #55a630 !important;
    stroke: #55a630 !important;
}

html[data-theme="dark"] #dt-theme-toggle svg path,
html[data-theme="dark"] #dt-theme-toggle.is-active svg path {
    fill: none !important;
    stroke: #55a630 !important;
}

/* hover: verde más vivo, no naranja */
html[data-theme="dark"] #dt-theme-toggle:hover,
html[data-theme="dark"] #dt-theme-toggle.is-active:hover {
    color: #69c84a !important;
    background: #1c2818 !important;
}

html[data-theme="dark"] #dt-theme-toggle:hover svg,
html[data-theme="dark"] #dt-theme-toggle:hover svg path {
    stroke: #69c84a !important;
}


/* =========================================================
   DT · STDMSG / STDERR DESKTOP
   ========================================================= */

body.dt-error-page .dt-workspace__content > main {
    padding:36px 28px 70px !important;
    max-width:1100px !important;
    margin:0 auto !important;
}

/* Tabla exterior legacy */
body.dt-error-page table.main[width="500"] {
    width:min(760px,100%) !important;
    margin:18px auto 0 !important;
    border:0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:transparent !important;
}

/* Contenedor */
body.dt-error-page table.main[width="500"] > tbody > tr > td.embedded {
    padding:0 !important;
    border:1px solid #e0e4e7 !important;
    border-radius:14px !important;
    background:#fff !important;
    overflow:hidden !important;
    box-shadow:0 8px 28px rgba(0,0,0,.05) !important;
}

/* Título */
body.dt-error-page td.embedded > h2 {
    margin:0 !important;
    padding:22px 26px 16px !important;
    color:#22272a !important;
    font-size:22px !important;
    line-height:1.2 !important;
    font-weight:850 !important;
    text-align:left !important;
    border-bottom:1px solid #eceff1 !important;
}

/* Tabla interior */
body.dt-error-page td.embedded > table {
    width:100% !important;
    margin:0 !important;
    border:0 !important;
    border-collapse:collapse !important;
    background:transparent !important;
}

body.dt-error-page td.embedded > table > tbody > tr > td.text {
    padding:24px 26px 26px !important;
    border:0 !important;
    background:#fff !important;
    color:#555c60 !important;
    font-size:14px !important;
    line-height:1.65 !important;
}

/* Links */
body.dt-error-page td.text a {
    color:#ef651d !important;
    font-weight:750 !important;
    text-decoration:none !important;
}

body.dt-error-page td.text a:hover {
    text-decoration:underline !important;
}

/* Formularios que vienen dentro de stderr(), como report.php */
body.dt-error-page td.text form {
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin:20px 0 0 !important;
    padding:18px 0 0 !important;
    border-top:1px solid #eceff1 !important;
}

body.dt-error-page td.text input[type="text"] {
    flex:1 1 360px !important;
    width:auto !important;
    min-width:200px !important;
    height:40px !important;
    padding:0 12px !important;
    box-sizing:border-box !important;
    border:1px solid #d6dbde !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#222 !important;
    outline:none !important;
    font-size:13px !important;
}

body.dt-error-page td.text input[type="text"]:focus {
    border-color:#ef651d !important;
    box-shadow:0 0 0 3px rgba(239,101,29,.10) !important;
}

body.dt-error-page td.text input[type="submit"] {
    height:40px !important;
    padding:0 18px !important;
    border:0 !important;
    border-radius:8px !important;
    background:#ef651d !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:800 !important;
    cursor:pointer !important;
}

body.dt-error-page td.text input[type="submit"]:hover {
    filter:brightness(.96);
}


/* DARK */
html[data-theme="dark"] body.dt-error-page table.main[width="500"] > tbody > tr > td.embedded {
    border-color:#303638 !important;
    background:#171a1b !important;
    box-shadow:none !important;
}

html[data-theme="dark"] body.dt-error-page td.embedded > h2 {
    border-color:#2c3133 !important;
    color:#f2f3f3 !important;
}

html[data-theme="dark"] body.dt-error-page td.embedded > table > tbody > tr > td.text {
    background:#171a1b !important;
    color:#bbc1c3 !important;
}

html[data-theme="dark"] body.dt-error-page td.text a {
    color:#55a630 !important;
}

html[data-theme="dark"] body.dt-error-page td.text form {
    border-color:#2c3133 !important;
}

html[data-theme="dark"] body.dt-error-page td.text input[type="text"] {
    border-color:#363c3f !important;
    background:#111415 !important;
    color:#eee !important;
}

html[data-theme="dark"] body.dt-error-page td.text input[type="text"]:focus {
    border-color:#55a630 !important;
    box-shadow:0 0 0 3px rgba(85,166,48,.10) !important;
}

html[data-theme="dark"] body.dt-error-page td.text input[type="submit"] {
    background:#55a630 !important;
}

/* DT · STDERR VOLVER */
body.dt-error-page .dt-error-back {
    width:min(760px,100%);
    margin:0 auto 10px;
    display:flex;
    justify-content:flex-end;
}

body.dt-error-page .dt-error-back a {
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border:1px solid #dfe3e6;
    border-radius:8px;
    background:#fff;
    color:#555 !important;
    font-size:12px;
    font-weight:800;
    text-decoration:none !important;
}

body.dt-error-page .dt-error-back a:hover {
    border-color:#ef651d;
    color:#ef651d !important;
}

html[data-theme="dark"] body.dt-error-page .dt-error-back a {
    border-color:#303638;
    background:#171a1b;
    color:#d9dede !important;
}

html[data-theme="dark"] body.dt-error-page .dt-error-back a:hover {
    border-color:#55a630;
    color:#55a630 !important;
}

/* ==========================================================
   DT SHELL · NAV COLOR FIJO
   Nunca heredar color de rango/usuario
   ========================================================== */

html:not([data-theme="dark"]) .dt-mainnav__item,
html:not([data-theme="dark"]) .dt-mainnav__item:link,
html:not([data-theme="dark"]) .dt-mainnav__item:visited {
    color:#171717 !important;
}

html:not([data-theme="dark"]) .dt-mainnav__item svg,
html:not([data-theme="dark"]) .dt-mainnav__item span {
    color:inherit !important;
}

/* hover */
html:not([data-theme="dark"]) .dt-mainnav__item:hover {
    color:var(--dt-orange) !important;
}

/* activo */
html:not([data-theme="dark"]) .dt-mainnav__item.is-active,
html:not([data-theme="dark"]) .dt-mainnav__item.is-active:link,
html:not([data-theme="dark"]) .dt-mainnav__item.is-active:visited,
html:not([data-theme="dark"]) .dt-mainnav__item.is-active:hover {
    color:#fff !important;
}

/* DARK */
html[data-theme="dark"] .dt-mainnav__item,
html[data-theme="dark"] .dt-mainnav__item:link,
html[data-theme="dark"] .dt-mainnav__item:visited {
    color:#e8e8e8 !important;
}

html[data-theme="dark"] .dt-mainnav__item:hover {
    color:#55a630 !important;
}

html[data-theme="dark"] .dt-mainnav__item.is-active,
html[data-theme="dark"] .dt-mainnav__item.is-active:link,
html[data-theme="dark"] .dt-mainnav__item.is-active:visited,
html[data-theme="dark"] .dt-mainnav__item.is-active:hover {
    color:#fff !important;
}

/* DT USERSTATS ALTERNOS */

/* Sin tarjetas redondeadas */
.dt-userstat,
.dt-userstatus {
    border-radius: 0 !important;
}

/* Primera fila: verde / naranja / verde */
.dt-userstat:nth-child(1) {
    background: #eef8eb !important;
}

.dt-userstat:nth-child(2) {
    background: #fff1e7 !important;
}

.dt-userstat:nth-child(3) {
    background: #eef8eb !important;
}

/* Segunda fila: naranja / verde / naranja / verde */
.dt-userstatus:nth-child(1) {
    background: #fff1e7 !important;
}

.dt-userstatus:nth-child(2) {
    background: #eef8eb !important;
}

.dt-userstatus:nth-child(3) {
    background: #fff1e7 !important;
}

.dt-userstatus:nth-child(4) {
    background: #eef8eb !important;
}

/* Separación visual limpia */
.dt-userstats__main,
.dt-userstats__secondary {
    gap: 2px !important;
}

/* Dark */
html[data-theme="dark"] .dt-userstat:nth-child(1),
html[data-theme="dark"] .dt-userstat:nth-child(3),
html[data-theme="dark"] .dt-userstatus:nth-child(2),
html[data-theme="dark"] .dt-userstatus:nth-child(4) {
    background: #182219 !important;
}

html[data-theme="dark"] .dt-userstat:nth-child(2),
html[data-theme="dark"] .dt-userstatus:nth-child(1),
html[data-theme="dark"] .dt-userstatus:nth-child(3) {
    background: #261c16 !important;
}

/* /DT USERSTATS ALTERNOS */

/* DT USERSTATS THEME */

/* Sin huecos blancos entre piezas */
.dt-userstats__main,
.dt-userstats__secondary {
    gap: 0 !important;
}

/* Sin redondeos */
.dt-userstat,
.dt-userstatus {
    border-radius: 0 !important;
    border: 0 !important;
}

/* LIGHT: naranja suave uniforme */
.dt-userstat,
.dt-userstatus {
    background: #fff0e6 !important;
}

/* Alternancia sutil dentro del naranja */
.dt-userstat:nth-child(even),
.dt-userstatus:nth-child(even) {
    background: #ffe7d6 !important;
}

/* DARK: verde suave uniforme */
html[data-theme="dark"] .dt-userstat,
html[data-theme="dark"] .dt-userstatus {
    background: #18251c !important;
}

/* Alternancia sutil dentro del verde */
html[data-theme="dark"] .dt-userstat:nth-child(even),
html[data-theme="dark"] .dt-userstatus:nth-child(even) {
    background: #1d2d21 !important;
}

/* /DT USERSTATS THEME */

/* DT USERSTATS ZEBRA */

.dt-userstats__main,
.dt-userstats__secondary {
    gap: 0 !important;
}

.dt-userstat,
.dt-userstatus {
    border: 0 !important;
    border-radius: 0 !important;
}

/* LIGHT: naranja / blanco */
.dt-userstat:nth-child(odd),
.dt-userstatus:nth-child(odd) {
    background: #fff0e6 !important;
}

.dt-userstat:nth-child(even),
.dt-userstatus:nth-child(even) {
    background: #fff !important;
}

/* DARK: verde / negro */
html[data-theme="dark"] .dt-userstat:nth-child(odd),
html[data-theme="dark"] .dt-userstatus:nth-child(odd) {
    background: #1d2d21 !important;
}

html[data-theme="dark"] .dt-userstat:nth-child(even),
html[data-theme="dark"] .dt-userstatus:nth-child(even) {
    background: #111516 !important;
}

/* /DT USERSTATS ZEBRA */

/* DT USERSTATS · AJUSTE SUAVE */

/* LIGHT: naranja muy suave / blanco */
.dt-userstat:nth-child(odd),
.dt-userstatus:nth-child(odd) {
    background: #fff7f1 !important;
}

.dt-userstat:nth-child(even),
.dt-userstatus:nth-child(even) {
    background: #fff !important;
}

/* DARK: verde visible / negro */
html[data-theme="dark"] .dt-userstat:nth-child(odd),
html[data-theme="dark"] .dt-userstatus:nth-child(odd) {
    background: #223629 !important;
}

html[data-theme="dark"] .dt-userstat:nth-child(even),
html[data-theme="dark"] .dt-userstatus:nth-child(even) {
    background: #111516 !important;
}


/* DT USERSTATS · TIPOGRAFÍA */

.dt-userstat__label,
.dt-userstatus__label {
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.dt-userstat strong {
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.dt-userstatus__value,
.dt-userstatus__value b {
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 750 !important;
}

.dt-userstat {
    padding-left: 11px !important;
    padding-right: 11px !important;
}

.dt-userstatus {
    padding-left: 10px !important;
    padding-right: 10px !important;
}


/* DT USERSTATS · ALTERNANCIA FILA INFERIOR */

/* LIGHT: Activo blanco / Conectable naranja / Slots blanco / H&R naranja */
.dt-userstats__secondary .dt-userstatus:nth-child(1),
.dt-userstats__secondary .dt-userstatus:nth-child(3) {
    background: #fff !important;
}

.dt-userstats__secondary .dt-userstatus:nth-child(2),
.dt-userstats__secondary .dt-userstatus:nth-child(4) {
    background: #fff7f1 !important;
}

/* DARK: Activo negro / Conectable verde / Slots negro / H&R verde */
html[data-theme="dark"] .dt-userstats__secondary .dt-userstatus:nth-child(1),
html[data-theme="dark"] .dt-userstats__secondary .dt-userstatus:nth-child(3) {
    background: #111516 !important;
}

html[data-theme="dark"] .dt-userstats__secondary .dt-userstatus:nth-child(2),
html[data-theme="dark"] .dt-userstats__secondary .dt-userstatus:nth-child(4) {
    background: #223629 !important;
}


/* DT USERSTATS · SIN CORTE ENTRE FILAS */

.dt-userstats {
    gap: 0 !important;
}

.dt-userstats__main,
.dt-userstats__secondary {
    margin: 0 !important;
    padding: 0 !important;
}

.dt-userstats__main {
    border-bottom: 0 !important;
}

