.catalog-command--atlas .inline-filters .filter-section-title {
  min-height: 1.2rem;
  margin-bottom: .24rem;
  padding: 0;
  border: 0;
}

.catalog-command--atlas .inline-filters .filter-section-title h3 {
  color: #d9e8ea;
  font-size: .63rem;
  font-weight: 760;
  letter-spacing: .02em;
}

.catalog-command--atlas .inline-filters .filter-section-title span {
  color: #6f898d;
  font-size: .41rem;
  letter-spacing: .065em;
}

.catalog-command--atlas .inline-filters .element-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .22rem;
}

.catalog-command--atlas .inline-filters .work-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .22rem;
}

.catalog-command--atlas .inline-filters .misc-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .22rem;
}

.catalog-command--atlas .inline-filters .atlas-compact-option {
  --filter-accent: #70f4ff;
  position: relative;
  overflow: visible;
  min-height: 2rem;
  padding: 2px 5px;
  grid-template-columns: 20px minmax(0, 1fr) 12px;
  gap: 1px 5px;
  border: 1px solid rgba(61, 104, 113, .33);
  border-radius: 2px;
  background: rgba(6, 20, 26, .56);
  box-shadow: none;
  clip-path: none;
}


.catalog-command--atlas .element-filter[data-element="Neutral"],
.catalog-command--atlas .active-chip-shell[data-element="Neutral"],
.catalog-command--atlas .active-chip[data-element="Neutral"] { --filter-accent: #d9d6ce; }
.catalog-command--atlas .element-filter[data-element="Fire"],
.catalog-command--atlas .active-chip-shell[data-element="Fire"],
.catalog-command--atlas .active-chip[data-element="Fire"] { --filter-accent: #ff7058; }
.catalog-command--atlas .element-filter[data-element="Water"],
.catalog-command--atlas .active-chip-shell[data-element="Water"],
.catalog-command--atlas .active-chip[data-element="Water"] { --filter-accent: #55c5f3; }
.catalog-command--atlas .element-filter[data-element="Grass"],
.catalog-command--atlas .active-chip-shell[data-element="Grass"],
.catalog-command--atlas .active-chip[data-element="Grass"] { --filter-accent: #83dc69; }
.catalog-command--atlas .element-filter[data-element="Electric"],
.catalog-command--atlas .active-chip-shell[data-element="Electric"],
.catalog-command--atlas .active-chip[data-element="Electric"] { --filter-accent: #f2d957; }
.catalog-command--atlas .element-filter[data-element="Ice"],
.catalog-command--atlas .active-chip-shell[data-element="Ice"],
.catalog-command--atlas .active-chip[data-element="Ice"] { --filter-accent: #81e7ef; }
.catalog-command--atlas .element-filter[data-element="Ground"],
.catalog-command--atlas .active-chip-shell[data-element="Ground"],
.catalog-command--atlas .active-chip[data-element="Ground"] { --filter-accent: #dfa261; }
.catalog-command--atlas .element-filter[data-element="Dark"],
.catalog-command--atlas .active-chip-shell[data-element="Dark"],
.catalog-command--atlas .active-chip[data-element="Dark"] { --filter-accent: #da78c4; }
.catalog-command--atlas .element-filter[data-element="Dragon"],
.catalog-command--atlas .active-chip-shell[data-element="Dragon"],
.catalog-command--atlas .active-chip[data-element="Dragon"] { --filter-accent: #bc9af0; }

.catalog-command--atlas .inline-filters .atlas-compact-option img {
  width: 19px;
  height: 19px;
}

.catalog-command--atlas .inline-filters .misc-filter-icon {
  width: 17px;
  height: 17px;
}

.catalog-command--atlas .inline-filters .atlas-compact-option > span {
  font-size: 9px;
  font-weight: 630;
}


.catalog-command--atlas .inline-filters .work-filters,
.catalog-command--atlas .inline-filters .misc-filters { position: relative; isolation: auto; }


.catalog-command--atlas .misc-filter-menu[data-misc-menu="partner"] > .misc-filter-options {
  max-height: min(22rem, 62vh);
}


.catalog-command--atlas .active-filters {
  margin-top: .3rem;
  padding: .35rem 0 .08rem;
  border-top: 1px solid rgba(98, 231, 237, .12);
  background: transparent;
}

.catalog-command--atlas .active-chip-shell {
  --filter-accent: #70f4ff;
  position: relative;
  z-index: 1;
  display: inline-grid;
  isolation: isolate;
}

.catalog-command--atlas .active-chip-shell:hover,
.catalog-command--atlas .active-chip-shell:focus-within { z-index: 20; }

.catalog-command--atlas .active-chip-shell > .filter-selection-frame {
  position: absolute;
  z-index: 4;
  inset: -.22rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(.2, .72, .25, 1);
}

.catalog-command--atlas .active-chip-shell > .filter-selection-frame i {
  position: absolute;
  width: .62rem;
  height: .62rem;
  border-color: var(--filter-accent);
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--filter-accent) 62%, transparent));
  transition: filter 180ms ease, transform 180ms ease;
}

.catalog-command--atlas .active-chip-shell > .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid var(--filter-accent); border-left: 2px solid var(--filter-accent); transform-origin: bottom right; }
.catalog-command--atlas .active-chip-shell > .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid var(--filter-accent); border-right: 2px solid var(--filter-accent); transform-origin: bottom left; }
.catalog-command--atlas .active-chip-shell > .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid var(--filter-accent); border-bottom: 2px solid var(--filter-accent); transform-origin: top left; }
.catalog-command--atlas .active-chip-shell > .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid var(--filter-accent); border-left: 2px solid var(--filter-accent); transform-origin: top right; }

.catalog-command--atlas .active-chip-shell:hover > .filter-selection-frame,
.catalog-command--atlas .active-chip-shell:focus-within > .filter-selection-frame { opacity: 1; }

.catalog-command--atlas .active-chip-shell:hover > .filter-selection-frame i,
.catalog-command--atlas .active-chip-shell:focus-within > .filter-selection-frame i {
  animation: paldeck-corner-breathe 980ms ease-in-out 160ms infinite alternate;
}

.catalog-command--atlas .active-chip {
  --filter-accent: inherit;
  min-height: 2rem;
  padding: .18rem .34rem .18rem .42rem;
  display: inline-grid;
  grid-template-columns: 18px auto 16px;
  align-items: center;
  gap: .38rem;
  color: #cde1e3;
  border: 1px solid color-mix(in srgb, var(--filter-accent) 38%, rgba(43, 76, 83, .48));
  border-radius: 0;
  background: linear-gradient(105deg, color-mix(in srgb, var(--filter-accent) 11%, #081b23), rgba(5, 18, 24, .96));
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  clip-path: polygon(5px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 5px);
  animation-duration: 180ms;
}

.catalog-command--atlas .active-chip > * { margin: 0; }

.catalog-command--atlas .active-chip-icon,
.catalog-command--atlas .active-chip-icon-image,
.catalog-command--atlas .active-chip .misc-filter-icon {
  width: 17px;
  height: 17px;
  color: var(--filter-accent);
  object-fit: contain;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--filter-accent) 32%, transparent));
}

.catalog-command--atlas .active-chip-copy {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
  white-space: nowrap;
}

.catalog-command--atlas .active-chip-copy small {
  color: color-mix(in srgb, var(--filter-accent) 76%, #b5c9cc);
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.catalog-command--atlas .active-chip-copy small::after { content: ":"; }

.catalog-command--atlas .active-chip-copy strong {
  overflow: hidden;
  color: #edfafa;
  font-size: .58rem;
  font-weight: 720;
  text-overflow: ellipsis;
}

.catalog-command--atlas .active-chip-close {
  position: relative;
  width: 16px;
  height: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--filter-accent) 72%, #b7c9cb);
  border-left: 1px solid color-mix(in srgb, var(--filter-accent) 24%, transparent);
  font-size: 0;
  line-height: 1;
}

.catalog-command--atlas .active-chip-close::before,
.catalog-command--atlas .active-chip-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

.catalog-command--atlas .active-chip-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.catalog-command--atlas .active-chip:hover,
.catalog-command--atlas .active-chip:focus-visible {
  color: #fff;
  border-color: color-mix(in srgb, var(--filter-accent) 68%, #607b80);
  background: linear-gradient(105deg, color-mix(in srgb, var(--filter-accent) 18%, #0a222b), rgba(7, 27, 34, .98));
  box-shadow: 0 0 12px color-mix(in srgb, var(--filter-accent) 12%, transparent);
  outline: 0;
}

