/* ============================================================================
   D2 GUN LOCKER  -  01-core-3.css  (part 3 of 4)
   ----------------------------------------------------------------------------
   Contiguous slice of the original stylesheet, cut only at rule boundaries and
   kept in EXACT cascade order (no rules reordered/removed). Load parts in order.
   See README for the component map; rules for one component may span parts.
   ============================================================================ */

  @media (max-width: 1250px) {
    .stats-grid,
    .stats-insight-grid {
      grid-template-columns: 1fr;
    }
    .stats-hero-left {
      max-width: 100%;
    }
    .stats-weapon-art {
      opacity: 0.22;
    }
  }

  .stats-warning-banner {
    border: 1px solid rgba(255,214,122,0.28);
    background: rgba(255,214,122,0.07);
    color: rgba(255,235,180,0.9);
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
  }

  .reload-time-grid,
  .range-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
  }

  .range-summary {
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin-bottom: 10px;
  }

  .reload-time-grid div,
  .range-summary div {
    border: 1px solid var(--border-dim);
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 9px;
  }

  .reload-time-grid span,
  .range-summary span {
    display: block;
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .reload-time-grid strong,
  .range-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
  }

  .cone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }

  .cone-card {
    border: 1px solid var(--border-dim);
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
  }

  .cone-title {
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .cone-svg {
    width: 100%;
    height: 72px;
    margin-top: 4px;
  }

  .cone-line,
  .cone-ellipse {
    stroke: rgba(255,255,255,0.72);
    fill: none;
    stroke-width: 1.7;
  }

  .cone-dot {
    fill: #68e394;
  }

  .cone-value {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
  }
  /* Perk tightened (green) / widened (red) the cone vs its base size. */
  .cone-value.cone-better { color: #68e394; }
  .cone-value.cone-worse { color: #ff7676; }
  .cone-delta {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
  }
  .cone-delta .cs-add.positive { color: #68e394; }
  .cone-delta .cs-add.negative { color: #ff7676; }
  .cone-delta .cone-base-val { color: var(--text-primary); }

  @media (max-width: 1250px) {
    .reload-time-grid,
    .range-summary,
    .cone-grid {
      grid-template-columns: 1fr;
    }
  }

  .stats-row-delta {
    margin-left: 5px;
    font-size: 10px;
    font-weight: 900;
  }
  .stats-row-delta.positive { color: #68e394; }
  .stats-row-delta.negative { color: #ff7676; }

  .stats-damage-perk-banner {
    border: 1px solid rgba(104,227,148,0.32);
    background: rgba(104,227,148,0.08);
    color: #b8ffd0;
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
  }

  .stats-mod-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border-dim);
    background: var(--bg-perk);
    border-radius: 10px;
    padding: 10px;
  }

  .stats-mod-sub {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
  }

  .stats-mod-boxes {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  #statsMasterworkBox,
  #statsModBox {
    width: 54px;
    height: 54px;
  }

  .stats-mod-wrap {
    position: relative;
  }

  .stats-mod-wrap .stats-dropdown {
    top: 62px;
    left: auto;
    right: 0;
    min-width: 220px;
    z-index: 5000;
  }

  .stats-mod-wrap:first-child .stats-dropdown {
    left: 0;
    right: auto;
  }

  .reload-time-grid.single-reload {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .reload-time-grid.single-reload {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  /* Perk toggles: one horizontal row of icon chips. Active = theme glow,
     inactive = dim. Stacking perks carry a small corner badge (x1, x2...).
     Replaces the old stacked .stack-control boxes. */
  .stack-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .stack-btn.stack-chip {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border-dim);
    background: var(--bg-secondary);
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s, border-color 0.15s, box-shadow 0.15s;
  }

  .stack-btn.stack-chip img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: block;
  }

  .stack-btn.stack-chip .chip-mono {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
  }

  .stack-btn.stack-chip:hover { opacity: 0.85; }

  .stack-btn.stack-chip.active {
    opacity: 1;
    border-color: rgba(var(--accent-rgb), 0.85);
    background: rgba(var(--accent-rgb), 0.10);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.5), 0 0 12px rgba(var(--accent-rgb), 0.55);
  }

  .stack-btn.stack-chip .chip-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #0b0d12;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    pointer-events: none;
  }

  .stack-btn.active {
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.35) inset;
  }

  /* Perk toggles now sit on the SAME line as the mod box, to its right. The mod
     track keeps its natural width; the strip takes the remaining space. */
  .dc-mods-and-toggles {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .dc-mods-and-toggles .dc-mod-track {
    flex: 0 0 auto;
  }
  .stack-chip-strip {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .stack-chip-strip .stack-chip-row {
    width: 100%;
  }
  /* Display-only chip: a selected perk with no toggle behaviour (e.g. Outlaw).
     Shown at full strength like a normal selected perk, but not interactive. */
  .stack-chip.stack-chip-static {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border-dim);
    background: var(--bg-secondary);
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    opacity: 0.9;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
  .stack-chip.stack-chip-static img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: block;
  }
  .stack-chip.stack-chip-static .chip-mono {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
  }

  /* Empty placeholder circle: same footprint as a chip so the row holds its
     height/position when a perk column has nothing selected yet. Border renders
     at full var(--border-dim) (no opacity knock-down) so it matches the brightness
     of the perk picker circles, which also use 1px var(--border-dim). */
  .stack-chip-empty {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px dashed var(--border-dim);
    background: transparent;
    opacity: 1;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .layout-resizer {
    position: sticky;
    top: calc(var(--strip-h) + 16px);
    height: calc(100vh - var(--strip-h) - 40px);
    border-radius: 999px;
    cursor: col-resize;
    background:
      linear-gradient(180deg, transparent, rgba(255,255,255,0.16), transparent);
    border-left: 1px solid rgba(255,255,255,0.07);
    border-right: 1px solid rgba(255,255,255,0.07);
    z-index: 20;
    transition: background 0.15s, border-color 0.15s;
  }

  .layout-resizer:hover,
  body.resizing-layout .layout-resizer {
    background:
      linear-gradient(180deg, transparent, rgba(var(--accent-rgb),0.7), transparent);
    border-color: rgba(var(--accent-rgb),0.55);
  }

  body.resizing-layout {
    cursor: col-resize !important;
    user-select: none !important;
  }

  .weapon-list-panel,
  .build-window {
    min-width: 0;
  }

  /* (The .left-compact / .right-compact narrow-pane blocks that lived here were
     dead: their setter, setupResizableLayout's updateCompactClasses, was
     removed with the drag resizer — the classes were never applied.) */

  @media (max-width: 900px) {
    .app-layout {
      grid-template-columns: 1fr !important;
    }

    .layout-resizer {
      display: none;
    }
  }

  :root {
    --ui-scale: 1;
  }

  body {
    zoom: var(--ui-scale);
  }

  .ui-scale-controls {
    position: sticky;
    top: 10px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0 0 10px auto;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,10,14,0.92);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }

  .ui-scale-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  }

  .ui-scale-btn.reset {
    width: auto;
    min-width: 68px;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 0.4px;
  }

  .ui-scale-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--accent-rgb),0.55);
    background: rgba(var(--accent-rgb),0.12);
  }

  /* Faded until hovered; hovering reveals the full control including the live percentage. */
  .ui-scale-controls { opacity: 0.32; transition: opacity 0.2s ease; }
  .ui-scale-controls:hover { opacity: 1; }
  .ui-scale-btn.reset { display: none; }
  .ui-scale-controls:hover .ui-scale-btn.reset { display: inline-flex; align-items: center; justify-content: center; }

  body.ui-scale-large .weapon-card,
  body.ui-scale-large .stats-card,
  body.ui-scale-large .compare-card,
  body.ui-scale-large .weapon-filter-group {
    border-radius: 14px;
  }

  body.ui-scale-small .build-actions {
    gap: 5px;
  }

  body.ui-scale-small .build-btn {
    padding: 5px 7px;
  }

  .ui-scale-controls {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    top: auto !important;
    left: auto !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 7px !important;
    border: 1px solid rgba(var(--accent-rgb),0.45) !important;
    background: rgba(8,10,14,0.97) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.55) !important;
  }

  .ui-scale-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.07) !important;
    color: #fff !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
  }

  .ui-scale-btn.reset {
    width: auto !important;
    min-width: 68px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .ui-scale-btn:hover {
    border-color: rgba(var(--accent-rgb),0.85) !important;
    background: rgba(var(--accent-rgb),0.16) !important;
  }

  .alt-grid-three {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  .alt-section {
    min-width: 0;
  }

  @media (max-width: 1100px) {
    .alt-grid-three {
      grid-template-columns: 1fr !important;
    }
  }

  .alt-card.multi-match {
    border-color: rgba(var(--accent-rgb),0.55) !important;
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.15) inset;
  }

  .alt-main {
    min-width: 0;
    flex: 1;
  }

  .alt-match-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
  }

  .alt-match-count {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb),0.32);
    background: rgba(var(--accent-rgb),0.14);
    color: var(--accent-bright);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .alt-match-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
  }

  .alt-match-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.055);
    color: var(--text-secondary);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .build-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .build-title-row .build-clear-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    position: relative;
    top: 0;

    width: auto;
    min-height: 28px;
    padding: 5px 11px;

    border-radius: 7px;
    border: 1px solid rgba(255,120,120,0.32);

    background: rgba(255,80,80,0.10);
    color: #ffb6b6;

    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.75px;
    line-height: 1;
    text-transform: uppercase;

    flex-shrink: 0;

    transition:
      border-color 0.14s ease,
      background 0.14s ease,
      color 0.14s ease,
      transform 0.14s ease,
      box-shadow 0.14s ease;
  }

  .build-title-row .build-clear-all-btn:hover {
    border-color: rgba(255,120,120,0.58);
    background: rgba(255,80,80,0.18);
    color: #fff;

    transform: translateY(-1px);

    box-shadow:
      0 0 0 1px rgba(255,120,120,0.10) inset,
      0 8px 20px rgba(255,80,80,0.12);
  }

  .build-title-row .build-clear-all-btn:active {
    transform: translateY(0);
  }

  .clear-list-filters,
  .clear-filter-btn,
  .compare-action-btn[data-compare-clear] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px !important;
    border: 1px solid rgba(255,120,120,0.32) !important;

    background: rgba(255,80,80,0.10) !important;
    color: #ffb6b6 !important;

    font-family: 'Rajdhani', sans-serif !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;

    transition:
      border-color 0.14s ease,
      background 0.14s ease,
      color 0.14s ease,
      transform 0.14s ease,
      box-shadow 0.14s ease;
  }

  .clear-list-filters:hover,
  .clear-filter-btn:hover,
  .compare-action-btn[data-compare-clear]:hover {
    border-color: rgba(255,120,120,0.58) !important;
    background: rgba(255,80,80,0.18) !important;
    color: #fff !important;

    transform: translateY(-1px);

    box-shadow:
      0 0 0 1px rgba(255,120,120,0.10) inset,
      0 8px 20px rgba(255,80,80,0.12);
  }

  .clear-list-filters:active,
  .clear-filter-btn:active,
  .compare-action-btn[data-compare-clear]:active {
    transform: translateY(0);
  }

  #clearAllFilters,
  #clearAllBtn,
  [data-clear-all-filters],
  .clear-all-top,
  .build-clear-all-btn,
  .filter-controls-clear-btn,
  .right-filter-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 28px !important;
    padding: 5px 11px !important;

    border-radius: 7px !important;
    border: 1px solid rgba(255,120,120,0.32) !important;

    background: rgba(255,80,80,0.10) !important;
    color: #ffb6b6 !important;

    font-family: 'Rajdhani', sans-serif !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  #clearAllFilters:hover,
  #clearAllBtn:hover,
  [data-clear-all-filters]:hover,
  .clear-all-top:hover,
  .build-clear-all-btn:hover,
  .filter-controls-clear-btn:hover,
  .right-filter-clear:hover {
    border-color: rgba(255,120,120,0.58) !important;
    background: rgba(255,80,80,0.18) !important;
    color: #fff !important;

    transform: translateY(-1px);

    box-shadow:
      0 0 0 1px rgba(255,120,120,0.10) inset,
      0 8px 20px rgba(255,80,80,0.12);
  }

  .build-title-row .build-clear-all-btn {
    font-weight: 900 !important;
    text-shadow: 0 0 0 currentColor;
  }

  .alt-section-title-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .alt-section-toggle {
    width: 26px;
    height: 24px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.055);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
  }

  .alt-section-toggle:hover {
    border-color: rgba(var(--accent-rgb),0.55);
    background: rgba(var(--accent-rgb),0.12);
    transform: translateY(-1px);
  }

  .alt-section.collapsed {
    align-self: start;
  }

  .alt-section.collapsed .alt-section-body {
    display: none !important;
  }

  .alt-section.collapsed .alt-section-title {
    margin-bottom: 0;
  }

  .alt-section {
    width: 100%;
    min-width: 0;
  }

  .alt-horizontal-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    grid-auto-flow: row;

    gap: 10px 12px;

    overflow-x: clip;
    overflow-y: visible;
    max-width: 100%;

    padding: 2px 2px 8px;

    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb),0.35) transparent;
  }

  .alt-horizontal-list::-webkit-scrollbar {
    height: 5px;
  }

  .alt-horizontal-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .alt-horizontal-list::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-rgb),0.28);
    border-radius: 999px;
  }

  .alt-horizontal-list::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb),0.45);
  }

  .alt-card {
    min-width: 0;
    height: fit-content;
  }

  .alt-section.collapsed .alt-horizontal-list {
    display: none !important;
  }

  @media (max-width: 900px) {
    .alt-horizontal-list {
      grid-template-rows: repeat(2, minmax(0, auto));
      grid-auto-columns: minmax(240px, 280px);
    }
  }

  @media (max-width: 640px) {
    .alt-horizontal-list {
      grid-template-rows: repeat(1, minmax(0, auto));
      grid-auto-columns: minmax(220px, 88vw);
    }
  }

  #buildContent .alt-grid-three {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  #buildContent .alt-section {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  #buildContent .alt-section-body {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  #buildContent .alt-horizontal-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)) !important;
    grid-auto-columns: auto !important;
    grid-template-rows: none !important;

    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  /* a weapon selected -> the whole list becomes a single column */
  #buildContent .alt-horizontal-list:has(.alt-card.open) {
    grid-template-columns: 1fr !important;
  }

  #buildContent .alt-card {
    width: 100% !important;
    max-width: none !important;
  }

  #buildContent .build-empty {
    width: 100%;
  }

  .build-content {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .build-window {
    min-width: 0 !important;
  }

  .alt-section-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .alt-section-control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;
    padding: 5px 11px;

    border-radius: 7px;
    border: 1px solid rgba(var(--accent-rgb),0.32);

    background: rgba(var(--accent-rgb),0.09);
    color: var(--accent-bright);

    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;

    cursor: pointer;

    transition:
      border-color 0.14s ease,
      background 0.14s ease,
      color 0.14s ease,
      transform 0.14s ease,
      box-shadow 0.14s ease;
  }

  .alt-section-control-btn:hover {
    border-color: rgba(var(--accent-rgb),0.58);
    background: rgba(var(--accent-rgb),0.16);
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb),0.10) inset,
      0 8px 20px rgba(var(--accent-rgb),0.10);
  }

  .alt-section.collapsed .alt-section-title-row {
    opacity: 0.92;
  }

  .filter-controls-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .filter-controls-header .filter-controls-title {
    margin-bottom: 0 !important;
  }

  .filter-controls-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;
    padding: 5px 11px;

    border-radius: 7px;
    border: 1px solid rgba(255,120,120,0.32);

    background: rgba(255,80,80,0.10);
    color: #ffb6b6;

    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;

    cursor: pointer;

    transition:
      border-color 0.14s ease,
      background 0.14s ease,
      color 0.14s ease,
      transform 0.14s ease,
      box-shadow 0.14s ease;
  }

  .filter-controls-clear-btn:hover {
    border-color: rgba(255,120,120,0.58);
    background: rgba(255,80,80,0.18);
    color: #fff;

    transform: translateY(-1px);

    box-shadow:
      0 0 0 1px rgba(255,120,120,0.10) inset,
      0 8px 20px rgba(255,80,80,0.12);
  }

  .filter-controls-clear-btn:active {
    transform: translateY(0);
  }