/* DARK DEAD™ R113 — corrección puntual Archivo Diblet + filtros de Galería.
   Referencia: R102; no cambia la paleta original, dimensiones, fotografías ni navegación. */

/* 1. FILTROS DE GALERÍA: restituir exactamente los fondos originales.
   En R102, el filtro activo es #661321, y los inactivos #100b0c. */
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"]::before {
  background: #661321 !important;
}
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="false"]::before {
  background: #100b0c !important;
}
/* El filtro rojo seleccionado nunca se vuelve negro, con o sin cursor. */
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch)::before {
  background: #661321 !important;
}
/* Los filtros oscuros responden en dorado (relleno aprobado en R102). */
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="false"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch)::before {
  background: #332715 !important;
}

/* Relleno y contorno de cada filtro en su color de estado ORIGINAL. */
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"] > .dd-archive-frame,
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame {
  --dd-frame-edge: var(--red-bright, #bc2635) !important;
  --dd-frame-corner: var(--red-bright, #bc2635) !important;
  --dd-frame-inner: var(--red-bright, #bc2635) !important;
  --dd-frame-highlight: var(--red-bright, #bc2635) !important;
  --dd-frame-tab: var(--red-bright, #bc2635) !important;
}
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"] > .dd-archive-frame :is(.file-outer, .file-corner),
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="true"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame :is(.file-outer, .file-corner) {
  filter: drop-shadow(0 0 2px var(--red-bright, #bc2635)) drop-shadow(0 0 4px rgba(188,38,53,.5)) !important;
}
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="false"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame {
  --dd-frame-edge: #e6c77f !important;
  --dd-frame-corner: #d9b96e !important;
  --dd-frame-inner: #eedaa2 !important;
  --dd-frame-highlight: #fff0c5 !important;
  --dd-frame-tab: #d9b96e !important;
}
body .site-shell .gallery-filters .filter-btn.dd-archive-action[aria-pressed="false"]:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame :is(.file-outer, .file-corner) {
  filter: drop-shadow(0 0 2px #e3bb62) drop-shadow(0 0 4px #bc882b80) !important;
}

/* 2. ARCHIVO DIBLET, BLOQUE DE PORTADA: conservar el degradado original
   (#191215 -> #100f12), iluminando temporalmente marco e interior SVG. */
body .site-shell .franchise-home .diblet-promo.dd-archive-box:is(:hover, :focus-within, .dd-r110-lit, .dd-r112-touch) {
  --dd-r110-wash: #e3bb62;
}
body .site-shell .franchise-home .diblet-promo.dd-archive-box:is(:hover, :focus-within, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame {
  --dd-frame-edge: #e6c77f !important;
  --dd-frame-corner: #d9b96e !important;
  --dd-frame-inner: #eedaa2 !important;
  --dd-frame-highlight: #fff0c5 !important;
  --dd-frame-tab: #d9b96e !important;
}
body .site-shell .franchise-home .diblet-promo.dd-archive-box:is(:hover, :focus-within, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame :is(.file-outer, .file-corner) {
  filter: drop-shadow(0 0 2px #e3bb62) drop-shadow(0 0 4px #bc882b80) !important;
}
/* Reutilizar la capa SVG del marco; sin tintar permanentemente el fondo. */
body .site-shell .franchise-home .diblet-promo.dd-archive-box:is(:hover, :focus-within, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame > .dd-r110-light-wash {
  display: block !important;
  opacity: 1 !important;
  --dd-r110-wash: #e3bb62;
}
body .site-shell .franchise-home .diblet-promo.dd-archive-box > .dd-archive-frame > .dd-r110-light-defs .dd-r110-light-stop:nth-child(1) { stop-opacity: .14 !important; }
body .site-shell .franchise-home .diblet-promo.dd-archive-box > .dd-archive-frame > .dd-r110-light-defs .dd-r110-light-stop:nth-child(2) { stop-opacity: .17 !important; }
body .site-shell .franchise-home .diblet-promo.dd-archive-box > .dd-archive-frame > .dd-r110-light-defs .dd-r110-light-stop:nth-child(3) { stop-opacity: .20 !important; }

/* Botón del Archivo Diblet: su propio interior y contorno dorados originales. */
body .site-shell .franchise-home .diblet-promo .diblet-promo-link.dd-archive-action:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch)::before {
  background: #332715 !important;
}
body .site-shell .franchise-home .diblet-promo .diblet-promo-link.dd-archive-action:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame {
  --dd-frame-edge: #e6c77f !important;
  --dd-frame-corner: #d9b96e !important;
  --dd-frame-inner: #eedaa2 !important;
  --dd-frame-highlight: #fff0c5 !important;
  --dd-frame-tab: #d9b96e !important;
}
body .site-shell .franchise-home .diblet-promo .diblet-promo-link.dd-archive-action:is(:hover, :active, :focus-visible, .dd-r110-lit, .dd-r112-touch) > .dd-archive-frame :is(.file-outer, .file-corner) {
  filter: drop-shadow(0 0 2px #e3bb62) drop-shadow(0 0 4px #bc882b80) !important;
}

/* No se toca ningún cuadro de galería, imagen ni ficha fuera de estos filtros. */
