    /* Controls Toolbar & Filters Redesign ("Pintar mejor los filtros") */
    .controls-panel {
      background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 20px 24px;
      margin-bottom: 24px;
      box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .filter-row-primary {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      width: 100%;
    }

    .filter-row-secondary {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding-top: 14px;
      border-top: 1px dashed rgba(255, 255, 255, 0.08);
    }

    .filter-group-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .filter-item-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .select-wrapper {
      position: relative;
      flex: 1;
      min-width: 190px;
    }

    .select-wrapper select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      padding-right: 36px !important;
      cursor: pointer;
    }

    .select-wrapper::after {
      content: '▾';
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 14px;
      pointer-events: none;
      transition: color 0.2s;
    }

    .select-wrapper:hover::after {
      color: var(--accent);
    }

    input[type="text"], select {
      width: 100%;
      background: var(--surface-card);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 11px 16px;
      border-radius: 12px;
      font-size: 13.5px;
      font-weight: 500;
      outline: none;
      transition: all 0.25s ease;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    select.gen-era-select {
      border-color: rgba(59, 130, 246, 0.5);
      font-weight: 800;
      background: linear-gradient(135deg, #0d1b2a 0%, #172a54 100%);
      color: #93c5fd;
      font-size: 15px;
      padding: 12px 16px;
    }

    select.gen-era-select:hover, select.gen-era-select:focus {
      border-color: #3b82f6;
      box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
    }

    select.game-select {
      border-color: rgba(16, 185, 129, 0.5);
      font-weight: 800;
      background: linear-gradient(135deg, #091f18 0%, #112820 100%);
      color: #34d399;
      font-size: 15px;
      padding: 12px 16px;
    }

    select.game-select:hover, select.game-select:focus {
      border-color: #10b981;
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
    }

    select.mode-select {
      border-color: rgba(168, 85, 247, 0.5);
      font-weight: 800;
      background: linear-gradient(135deg, #1d0f2e 0%, #2b1740 100%);
      color: #c084fc;
      font-size: 15px;
      padding: 12px 16px;
    }

    select.mode-select:hover, select.mode-select:focus {
      border-color: #a855f7;
      box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
    }

    .search-wrapper {
      position: relative;
      flex: 1.5;
      min-width: 220px;
    }

    .search-wrapper input {
      padding-left: 42px;
      padding-right: 20px;
    }

    .search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 15px;
      pointer-events: none;
    }

    input[type="text"]:focus, select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
      background-color: var(--surface-hover);
    }

    .filter-badges-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      flex: 1;
      align-items: center;
    }

    .action-group {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--surface-card);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 10px 16px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .btn:hover {
      background: var(--surface-hover);
      border-color: var(--text-muted);
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    }

    .btn:active {
      transform: translateY(0);
    }

    .btn-accent {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      border: none;
      box-shadow: 0 4px 14px var(--accent-glow);
    }

    .btn-accent:hover {
      opacity: 0.95;
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }

    .btn-db {
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      color: #fff;
      border: none;
      box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    }

    .btn-db:hover {
      opacity: 0.95;
      box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }


    /* Controls Dashboard Panel - Menú de selección diferenciado */
    .controls-panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 22px;
      margin-bottom: 28px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .filter-category-card {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 16px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .filter-category-card:hover {
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .filter-category-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--accent);
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      width: 100%;
    }

    .filter-category-header > span:first-child {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .filter-category-header.collapsible {
      cursor: pointer;
      user-select: none;
      transition: color 0.2s;
    }

    .filter-category-header.collapsible:hover {
      color: var(--text);
    }

    .collapse-indicator {
      flex-shrink: 0;
      white-space: nowrap;
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      padding: 3px 10px;
      border-radius: 99px;
      letter-spacing: 0.3px;
      text-transform: none;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .collapsible-card.collapsed .filter-category-header {
      border-bottom: none;
      padding-bottom: 0;
    }

    .collapsible-card.collapsed .filter-category-body {
      display: none !important;
    }

    .filter-category-body {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      width: 100%;
    }

    /* Mobile Controls Responsive Styles */
    @media (max-width: 640px) {
      .controls-panel {
        padding: 14px;
        border-radius: 16px;
        margin-bottom: 18px;
        gap: 10px;
      }

      .filter-category-card {
        padding: 12px 14px;
        border-radius: 14px;
      }

      .filter-group-item,
      .select-wrapper,
      .search-wrapper {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
      }

      select.gen-era-select,
      select.game-select,
      select.mode-select,
      input[type="text"],
      select,
      .btn {
        font-size: 14px;
        padding: 11px 14px;
        min-height: 44px; /* Standard Touch Target Size */
      }

      .collapse-indicator {
        font-size: 10px;
        padding: 2px 8px;
      }
    }

/* Shared Progress Banner Notification */
.shared-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
  animation: fadeInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shared-banner-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.shared-banner-icon {
  font-size: 24px;
}

.shared-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

