/* Detalle de guante
   (archivo: css/pages/glove-detail.css) */
/* ============================================================
   GLOVE DETAIL VIEW
   ============================================================ */
#glove-detail-view {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,8,8,0.98);
  flex-direction: column;
  animation: fadeInDetail .22s ease;
}
#glove-detail-view.open { display: flex; }

#glove-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  background: linear-gradient(90deg, #0a0a0a 0%, #181818 100%);
  border-bottom: 4px solid var(--yellow-bright);
  flex-shrink: 0;
}
#glove-detail-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.7rem;
  color: var(--yellow-bright);
  text-shadow: 0 0 16px rgba(255,215,0,0.6), 2px 2px 0 #000;
  letter-spacing: 1.5px;
}
#btn-close-glove-detail {
  background: var(--red-close);
  color: #fff;
  border: 3px solid #000;
  border-radius: 10px;
  width: 44px; height: 44px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 3px 0 #000;
  transition: filter .15s, transform .1s;
  display: flex; align-items: center; justify-content: center;
}
#btn-close-glove-detail:hover  { filter: brightness(1.2); }
#btn-close-glove-detail:active { transform: scale(0.91); }

#glove-detail-body {
  flex: 1;
  display: grid;
  grid-template-columns: 400px 1fr;
  overflow: hidden;
  min-height: 0;
}

/* LEFT */
#glove-detail-left {
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 12px;
  background: #181818;
  border-right: 3px solid #2a2a2a;
  overflow-y: auto;
  min-height: 0;
}
#glove-detail-left::-webkit-scrollbar { width: 5px; }
#glove-detail-left::-webkit-scrollbar-thumb { background: var(--yellow-dark); border-radius: 4px; }

#glove-detail-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
  border: 3px solid #333;
  background: #0d0d0d;
  aspect-ratio: 640 / 411;
  flex-shrink: 0;
}
#glove-detail-banner-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  filter: none;
}
#glove-detail-banner-ph {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: repeating-linear-gradient(-45deg,#1e1600 0,#1e1600 18px,#130f00 18px,#130f00 36px);
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: #555;
}
#glove-detail-tut-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.68);
  border: 3px solid var(--yellow-bright);
  border-radius: 10px;
  color: var(--yellow-bright);
  font-family: 'Fredoka One', cursive;
  font-size: 0.88rem;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 4;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7);
  display: none;
}
#glove-detail-tut-btn.visible {
  display: flex; align-items: center; gap: 5px;
}
#glove-detail-tut-btn:hover { background: var(--yellow-bright); color: #111; transform: scale(1.08); }

#glove-detail-glove-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  flex-shrink: 0;
}
#glove-detail-img-wrap {
  width: 88px;
  background: #0d0d0d;
  border: 3px solid #333;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
#glove-detail-glove-img { width: 100%; height: auto; object-fit: contain; display: block; }
#glove-detail-glove-ph { font-size: 2.8rem; display: none; }
#glove-detail-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
#glove-detail-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--yellow-bright);
  text-shadow: 1px 1px 0 #000;
}
#glove-detail-obtain-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}
/* Palabras del método de obtención que coinciden con un ID de guante */
.obtain-glove-link {
  color: var(--yellow-bright);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--yellow-dark);
  transition: color .15s, border-color .15s;
}
.obtain-glove-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.obtain-glove-link.locked-link {
  color: #ff6b6b;
  border-bottom-color: #5c1f1f;
}
.obtain-glove-link.locked-link:hover {
  color: #ffaaaa;
  border-bottom-color: #ff6b6b;
}
.slap-icon-inline {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
  vertical-align: -0.18em;
  margin-right: 5px;
}
/* Fix: #slap-view img (placeholder) tenía más especificidad y forzaba un ancho enorme al icono de slaps */
#slap-view .slap-icon-inline { width: 1.05em; height: 1.05em; opacity: 1 !important; }

/* RIGHT */
#glove-detail-right {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
#glove-detail-right-bgvideo { display: none; }

#glove-detail-right-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 14px;
  overflow-y: auto;
  height: 100%;
  min-height: 0;
}
#glove-detail-right-scroll::-webkit-scrollbar { width: 5px; }
#glove-detail-right-scroll::-webkit-scrollbar-thumb { background: var(--yellow-dark); border-radius: 4px; }

.glove-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #111;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.45;
  animation: missionSlide .25s ease both;
}
.glove-detail-item-bullet {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: -1px;
}

/* ── Bloque badge (logro) en glove detail ── */
#glove-detail-badge-wrap {
  display: none;
  align-items: center;
  gap: 12px;
  background: #0e1200;
  border: 2px solid #2a2f00;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 6px;
  flex-shrink: 0;
}
#glove-detail-badge-wrap.visible { display: flex; }

#glove-detail-badge-img-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,0.45);
  background: #111;
  cursor: pointer;
  transition: box-shadow .18s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
#glove-detail-badge-img-wrap:hover {
  box-shadow: 0 0 20px rgba(251,191,36,0.75);
  transform: scale(1.08);
}
#glove-detail-badge-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  filter: none !important;
  opacity: 1 !important;
}

#glove-detail-badge-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
#glove-detail-badge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glove-detail-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.glove-detail-badge-name {
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251,191,36,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-glove-badge-roblox {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a0e00;
  color: #fbbf24;
  border: 2px solid #fbbf24;
  border-radius: 7px;
  font-family: 'Fredoka One', cursive;
  font-size: 0.78rem;
  padding: 5px 11px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, filter .15s, transform .1s;
  white-space: nowrap;
}
.btn-glove-badge-roblox:hover {
  background: #fbbf24;
  color: #1a0e00;
  filter: brightness(1.1);
}
.btn-glove-badge-roblox:active { transform: scale(0.93); }

/* ── Bloque gamepass (robux) en glove detail ── */
#glove-detail-gamepass-wrap {
  display: none;
  align-items: center;
  gap: 12px;
  background: #050a16;
  border: 2px solid #14233f;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 6px;
  flex-shrink: 0;
}
#glove-detail-gamepass-wrap.visible { display: flex; }

#glove-detail-gamepass-img-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #60a5fa;
  box-shadow: 0 0 10px rgba(96,165,250,0.45);
  background: #111;
  cursor: pointer;
  transition: box-shadow .18s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
#glove-detail-gamepass-img-wrap:hover {
  box-shadow: 0 0 20px rgba(96,165,250,0.75);
  transform: scale(1.08);
}
#glove-detail-gamepass-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  filter: none !important;
  opacity: 1 !important;
}

#glove-detail-gamepass-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
#glove-detail-gamepass-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glove-detail-gamepass-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.glove-detail-gamepass-name {
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(96,165,250,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-glove-gamepass-roblox {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #050a16;
  color: #60a5fa;
  border: 2px solid #60a5fa;
  border-radius: 7px;
  font-family: 'Fredoka One', cursive;
  font-size: 0.78rem;
  padding: 5px 11px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, filter .15s, transform .1s;
  white-space: nowrap;
}
.btn-glove-gamepass-roblox:hover {
  background: #60a5fa;
  color: #050a16;
  filter: brightness(1.1);
}
.btn-glove-gamepass-roblox:active { transform: scale(0.93); }

/* ── Acento de color del banner según tipo ── */
#glove-detail-banner-wrap.gbtype-slaps::after,
#glove-detail-banner-wrap.gbtype-robux::after,
#glove-detail-banner-wrap.gbtype-logro::after,
#glove-detail-banner-wrap.gbtype-otro::after,
#glove-detail-banner-wrap.gbtype-staff::after,
#glove-detail-banner-wrap.gbtype-royale::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  z-index: 3;
}
#glove-detail-banner-wrap.gbtype-slaps::after { background: #4ade80; box-shadow: 0 0 10px rgba(74,222,128,0.65); }
#glove-detail-banner-wrap.gbtype-robux::after { background: #60a5fa; box-shadow: 0 0 10px rgba(96,165,250,0.65); }
#glove-detail-banner-wrap.gbtype-logro::after { background: #fbbf24; box-shadow: 0 0 10px rgba(251,191,36,0.65); }
#glove-detail-banner-wrap.gbtype-otro::after  { background: #c084fc; box-shadow: 0 0 10px rgba(192,132,252,0.65); }
#glove-detail-banner-wrap.gbtype-staff::after { background: linear-gradient(90deg,#FFD700,#a855f7); box-shadow: 0 0 10px rgba(255,215,0,0.6); }
#glove-detail-banner-wrap.gbtype-royale::after { background: linear-gradient(90deg,#6b7280,#0a0a0b); box-shadow: 0 0 10px rgba(107,114,128,0.6); }
#glove-detail-banner-wrap.gbtype-royale { border-color: #3f3f46; }

/* ── Banner duotono B&N + dorado para Staff-only (igual técnica que en la tarjeta) ── */
#glove-detail-banner-wrap.gbtype-staff { border-color: #4c1d8a; }
#glove-detail-banner-wrap.gbtype-staff #glove-detail-banner-img {
  filter: grayscale(1) contrast(1.05) brightness(1.08);
}
#glove-detail-banner-wrap.gbtype-staff::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFD700;
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}

/* ── Fila de meta (badge tipo + estado) en el detalle ── */
.glove-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 3px 0 4px;
}
.glove-detail-meta-row .glove-type-badge { margin: 0; }

.glove-detail-release {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.76rem;
  color: #8a8a8a;
  margin-bottom: 5px;
}

/* ── Caja de cita / quote ── */
.glove-detail-quote {
  position: relative;
  background: #14110a;
  border-left: 4px solid var(--yellow-bright);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px 10px 32px;
  font-style: italic;
  font-size: 0.85rem;
  color: #d8cfa8;
  line-height: 1.5;
  margin: 2px 0 8px;
}
.glove-detail-quote::before {
  content: '\201C';
  position: absolute;
  left: 8px; top: 0px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  color: var(--yellow-bright);
  opacity: 0.65;
  line-height: 1;
}

/* ── Mini caja de rating reutilizando estilo de #detail-ratings ── */
.mini-rating-box {
  margin-top: 6px;
  background: #111;
  border: 2px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
}
.mini-rating-box .rating-row { border-bottom: none; }

/* ── Caja de estadísticas (Poder / Velocidad): número con fondo de color ── */
.glove-stats-box {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.glove-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  border: 2px solid #2a2a2a;
  border-radius: 10px;
  padding: 8px 12px;
}
.glove-stat-key {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
}
.glove-stat-num {
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  min-width: 28px;
  text-align: center;
  padding: 3px 12px;
  border-radius: 7px;
  border: 1.5px solid;
}
/* Cuanto más alto el valor, más verde. Cuanto más bajo, más rojo. */
.glove-stat-num.sval-1 { color: var(--red-close);    background: #1a0404; border-color: #3d0a0a; }
.glove-stat-num.sval-2 { color: var(--text-orange);  background: #1a0d00; border-color: #3d2000; }
.glove-stat-num.sval-3 { color: var(--yellow-bright); background: #1a1500; border-color: #3d3000; }
.glove-stat-num.sval-4 { color: #a8e63d;             background: #0d1a04; border-color: #2a4010; }
.glove-stat-num.sval-5 { color: var(--green-done);   background: #081a04; border-color: #1a4a0a; }

@media (max-width: 860px) {
  #glove-detail-body { grid-template-columns: 1fr; }
  #glove-detail-left { border-right: none; border-bottom: 3px solid #2a2a2a; max-height: 48vh; }
}

/* ============================================================
   ██████  ██████   █████  ██████  ██ ███    ██  ██████
   ██   ██ ██   ██ ██   ██ ██   ██ ██ ████   ██ ██
   ██████  ██   ██ ███████ ██████  ██ ██ ██  ██ ██   ███
   ██   ██ ██   ██ ██   ██ ██   ██ ██ ██  ██ ██ ██    ██
   ██   ██ ██████  ██   ██ ██   ██ ██ ██   ████  ██████
   ─── ROARING GLOVE — DELTARUNE THEME ───────────────────
   Applies ONLY when #glove-detail-view.roaring-active
   ============================================================ */

/* Load pixel font — fall back gracefully */
@font-face {
  font-family: '8bitoperatorplus2';
  src: local('8bitoperatorplus2'), local('Press Start 2P'), local('Courier New');
  font-display: swap;
}

/* ── FONT ── */
.roaring-active,
.roaring-active * {
  font-family: '8bitoperatorplus2', 'Press Start 2P', 'Courier New', monospace !important;
  letter-spacing: 0.5px;
}

/* (Fondo de batalla eliminado) */

/* ── Panel principal: negro puro, sin radius ── */
#glove-detail-view.roaring-active {
  background: #000000 !important;
  border: 4px solid #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

/* ── Header ── */
#glove-detail-view.roaring-active #glove-detail-header {
  background: #000000 !important;
  border-bottom: 4px solid #ffffff !important;
  border-radius: 0 !important;
  position: relative;
}

/* Title */
#glove-detail-view.roaring-active #glove-detail-title {
  color: #ffffff !important;
  text-shadow: none !important;
  letter-spacing: 2px;
}

/* Corazón parpadeante estilo Deltarune */
@keyframes drBlink {
  0%,49% { opacity: 1; }
  50%,100% { opacity: 0; }
}
#glove-detail-view.roaring-active #glove-detail-title::before {
  content: '❤ ';
  display: inline-block;
  animation: drBlink 1s step-end infinite;
  color: #ff2020;
  text-shadow: none;
  font-size: 0.8em;
  vertical-align: middle;
}

/* Botón cerrar */
#glove-detail-view.roaring-active #btn-close-glove-detail {
  background: #000000 !important;
  color: #ffffff !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
#glove-detail-view.roaring-active #btn-close-glove-detail:hover {
  background: #ffffff !important;
  color: #000000 !important;
  filter: none !important;
}

/* ── Body & columnas ── */
#glove-detail-view.roaring-active #glove-detail-body { background: #000000 !important; }

#glove-detail-view.roaring-active #glove-detail-left {
  background: #000000 !important;
  border-right: 3px solid #ffffff !important;
  border-radius: 0 !important;
}
#glove-detail-view.roaring-active #glove-detail-right {
  background: #000000 !important;
  border-radius: 0 !important;
}
#glove-detail-view.roaring-active #glove-detail-right-bgvideo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
#glove-detail-view.roaring-active #glove-detail-left::-webkit-scrollbar-thumb,
#glove-detail-view.roaring-active #glove-detail-right-scroll::-webkit-scrollbar-thumb {
  background: #ffffff !important;
  border-radius: 0 !important;
}

/* ── Banner ── */
#glove-detail-view.roaring-active #glove-detail-banner-wrap {
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  background: #000000 !important;
}
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-slaps::after,
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-robux::after,
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-logro::after,
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-otro::after,
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-staff::after {
  background: #ffffff !important;
  box-shadow: none !important;
}
#glove-detail-view.roaring-active #glove-detail-banner-img { border-radius: 0 !important; }
/* En modo roaring, el banner de Staff vuelve a B&N puro (sin el tinte dorado) */
#glove-detail-view.roaring-active #glove-detail-banner-wrap.gbtype-staff::before { display: none !important; }

/* ── Botón tutorial ── */
#glove-detail-view.roaring-active #glove-detail-tut-btn {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
#glove-detail-view.roaring-active #glove-detail-tut-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* ── Imagen del guante ── */
#glove-detail-view.roaring-active #glove-detail-img-wrap {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
}
#glove-detail-view.roaring-active #glove-detail-img-wrap img,
#glove-detail-view.roaring-active #glove-detail-glove-img {
  border-radius: 0 !important;
  image-rendering: pixelated;
}

/* ── Nombre y textos ── */
#glove-detail-view.roaring-active #glove-detail-name {
  color: #ffffff !important;
  text-shadow: none !important;
}
#glove-detail-view.roaring-active .detail-section-label {
  color: #ffffff !important;
  text-shadow: none !important;
  display: block;
  border-bottom: 2px solid #ffffff !important;
  padding-bottom: 4px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
#glove-detail-view.roaring-active .glove-stat-key { color: #cccccc !important; text-shadow: none !important; }
#glove-detail-view.roaring-active #glove-detail-obtain-text { color: #dddddd !important; text-shadow: none !important; }
#glove-detail-view.roaring-active .glove-detail-release { color: #aaaaaa !important; text-shadow: none !important; }
#glove-detail-view.roaring-active .glove-detail-release span:first-child { filter: grayscale(1); }

/* ── Quote ── */
#glove-detail-view.roaring-active .glove-detail-quote {
  background: #111111 !important;
  border-left: 4px solid #ffffff !important;
  border-radius: 0 !important;
  color: #dddddd !important;
  text-shadow: none !important;
}
#glove-detail-view.roaring-active .glove-detail-quote::before { color: #ffffff !important; }

/* ── Badges / pills ── */
#glove-detail-view.roaring-active .glove-type-badge,
#glove-detail-view.roaring-active .gtbadge-slaps,
#glove-detail-view.roaring-active .gtbadge-robux,
#glove-detail-view.roaring-active .gtbadge-logro,
#glove-detail-view.roaring-active .gtbadge-otro,
#glove-detail-view.roaring-active .gtbadge-staff,
#glove-detail-view.roaring-active .glove-status-pill,
#glove-detail-view.roaring-active [class^="gstatus-"],
#glove-detail-view.roaring-active [class*=" gstatus-"] {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* ── Stats ── */
#glove-detail-view.roaring-active .glove-stats-box,
#glove-detail-view.roaring-active #glove-detail-stats-wrap { background: transparent !important; }
#glove-detail-view.roaring-active .glove-stat-row {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
#glove-detail-view.roaring-active .glove-stat-num,
#glove-detail-view.roaring-active .glove-stat-num.sval-1,
#glove-detail-view.roaring-active .glove-stat-num.sval-2,
#glove-detail-view.roaring-active .glove-stat-num.sval-3,
#glove-detail-view.roaring-active .glove-stat-num.sval-4,
#glove-detail-view.roaring-active .glove-stat-num.sval-5 {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 0 !important;
  text-shadow: none !important;
}

/* ── Badge / Gamepass block ── */
#glove-detail-view.roaring-active #glove-detail-badge-wrap,
#glove-detail-view.roaring-active #glove-detail-gamepass-wrap {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
}
#glove-detail-view.roaring-active #glove-detail-badge-img-wrap,
#glove-detail-view.roaring-active #glove-detail-gamepass-img-wrap {
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000000 !important;
}
#glove-detail-view.roaring-active #glove-detail-badge-img-wrap:hover,
#glove-detail-view.roaring-active #glove-detail-gamepass-img-wrap:hover {
  box-shadow: 3px 3px 0 #ffffff !important;
  transform: none !important;
}
#glove-detail-view.roaring-active #glove-detail-badge-img,
#glove-detail-view.roaring-active #glove-detail-gamepass-img { border-radius: 0 !important; }
#glove-detail-view.roaring-active .glove-detail-badge-name,
#glove-detail-view.roaring-active .glove-detail-gamepass-name {
  color: #ffffff !important;
  text-shadow: none !important;
}
#glove-detail-view.roaring-active .btn-glove-badge-roblox,
#glove-detail-view.roaring-active .btn-glove-gamepass-roblox {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 0 !important;
  text-shadow: none !important;
}
#glove-detail-view.roaring-active .btn-glove-badge-roblox:hover,
#glove-detail-view.roaring-active .btn-glove-gamepass-roblox:hover {
  background: #ffffff !important;
  color: #000000 !important;
}
#glove-detail-view.roaring-active .glove-detail-badge-row,
#glove-detail-view.roaring-active .glove-detail-gamepass-row {
  border-top: 1px solid #444 !important;
  padding-top: 4px;
  color: #dddddd !important;
}

/* ── Items (mecánicas / habilidades) ── */
#glove-detail-view.roaring-active .glove-detail-item {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
  color: #dddddd !important;
  text-shadow: none !important;
  overflow: visible !important;
}
#glove-detail-view.roaring-active .glove-detail-item-bullet { filter: grayscale(1) brightness(5); }
#glove-detail-view.roaring-active #glove-detail-mechanics-wrap .detail-section-label,
#glove-detail-view.roaring-active #glove-detail-abilities-wrap .detail-section-label {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* ── Vinyl ── */
#glove-detail-view.roaring-active #glove-vinyl-box {
  background: #000000 !important;
  border: 3px solid #ffffff !important;
  border-radius: 0 !important;
}
#glove-detail-view.roaring-active #glove-vinyl-disc { border: 2px solid #ffffff; }

/* ── Scrollbar ── */
#glove-detail-view.roaring-active ::-webkit-scrollbar { width: 6px; }
#glove-detail-view.roaring-active ::-webkit-scrollbar-track { background: #000000; }
#glove-detail-view.roaring-active ::-webkit-scrollbar-thumb { background: #ffffff !important; border-radius: 0 !important; }

/* ── Inline icon ── */
#glove-detail-view.roaring-active .slap-icon-inline { filter: grayscale(1) brightness(5); border-radius: 0 !important; }

/* ── Mobile ── */
@media (max-width: 860px) {
  #glove-detail-view.roaring-active #glove-detail-left {
    border-right: none !important;
    border-bottom: 3px solid #ffffff !important;
  }
}

/* ── INTERACCIÓN: filas de mecánicas/habilidades funcionan como
   opciones de menú (estilo ACT/ITEM de Deltarune): al pasar el
   cursor se invierten a blanco y aparece una flechita roja ── */
#glove-detail-view.roaring-active .glove-detail-item {
  position: relative;
  cursor: pointer;
  transition: background-color .05s steps(1), color .05s steps(1);
}
#glove-detail-view.roaring-active .glove-detail-item:hover {
  background: #ffffff !important;
  color: #000000 !important;
}
#glove-detail-view.roaring-active .glove-detail-item:hover span {
  color: #000000 !important;
}
#glove-detail-view.roaring-active .glove-detail-item:hover .glove-detail-item-bullet {
  filter: grayscale(1) brightness(0) !important;
}
#glove-detail-view.roaring-active .glove-detail-item::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #ff2020;
  transition: transform .08s steps(1);
}
#glove-detail-view.roaring-active .glove-detail-item:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* La caja de vinilo también se resalta como opción seleccionable */
#glove-detail-view.roaring-active #glove-vinyl-box { transition: filter .05s steps(1); }
#glove-detail-view.roaring-active #glove-vinyl-box:hover { filter: invert(1); }

