.icon-store {
  --ui-icon: url("/_assets/b88d45443fa2dbfe501f/icons/store.svg");
}

.icon-pokeball {
  --ui-icon: url("/_assets/b88d45443fa2dbfe501f/icons/pokeball.svg");
}

.collection-drawer [data-equip-pokemon][data-team-add-available="true"] {
  border-color: var(--ui-color-action);
  background: var(--ui-color-action);
  color: var(--ui-color-on-primary);
}
.collection-drawer [data-equip-pokemon][data-team-add-available="true"]:hover {
  border-color: var(--ui-color-action-hover);
  background: var(--ui-color-action-hover);
  color: var(--ui-color-on-primary);
}

/* The drawer, its controls and sticky areas share one surface. */
:is(.bag-drawer, .collection-drawer) .drawer-panel {
  background: var(--ui-color-surface-raised);
}

.bag-drawer .drawer-panel {
  --bag-sticky-top: 0px;
  --bag-panel-padding: var(--ui-space-4);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.bag-drawer .drawer-head {
  flex: none;
}

.bag-drawer #drawer-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin: 0 calc(-1 * var(--bag-panel-padding));
  padding: 0 var(--bag-panel-padding);
  scrollbar-color: inherit;
}

:is(.bag-drawer, .collection-drawer)
  :is(.shop-row, .team-card, .depot-row, .depot-detail, .iv-cell) {
  background: transparent;
}

:is(.bag-drawer, .collection-drawer) :is(.shop-row:hover, .depot-row:hover) {
  background: color-mix(
    in srgb,
    var(--ui-color-accent) 5%,
    var(--ui-color-surface-raised)
  );
}

:is(.bag-drawer, .collection-drawer) .depot-row.selected,
:is(.bag-drawer, .collection-drawer)
  .depot-row:has(.depot-check input:checked) {
  background: color-mix(
    in srgb,
    var(--ui-color-accent) 9%,
    var(--ui-color-surface-raised)
  );
}

:is(.bag-drawer, .collection-drawer) .bulk-bar {
  background: transparent;
  box-shadow: none;
}

:is(.bag-drawer, .collection-drawer) .drawer-head {
  align-items: center;
  padding-bottom: var(--ui-space-2);
}

:is(.bag-drawer, .collection-drawer) .drawer-head h2 {
  margin-top: 2px;
  font-size: 23px;
  line-height: 1;
}

.bag-sticky {
  position: sticky;
  top: var(--bag-sticky-top);
  z-index: 8;
  margin: 0 calc(-1 * var(--ui-space-4));
  padding: var(--ui-space-1) var(--ui-space-4);
  border-bottom: 1px solid var(--ui-color-border-subtle);
  background: var(--ui-color-surface-raised);
}

.bag-drawer .sale-selection-sticky {
  position: sticky;
  top: calc(var(--bag-sticky-height, 64px) + var(--bag-sticky-top));
  z-index: 7;
  margin-top: var(--ui-space-2);
  padding: var(--ui-space-1) 0;
  background: var(--ui-color-surface-raised);
}

.sale-selection-sticky.bulk-bar {
  min-height: 34px;
  margin: 0;
  padding: var(--ui-space-1) var(--ui-space-2);
}

.bag-drawer .sale-filters + .sale-selection-sticky {
  margin-top: var(--ui-space-2);
}

.sale-selection-sticky > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px var(--ui-space-2);
}

.sale-selection-sticky > div:first-child small {
  margin-top: 0;
}

.sale-selection-sticky .bulk-controls button {
  min-height: 26px;
  padding: var(--ui-space-1) 6px;
}

.bag-sticky .bag-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: 0;
  padding: var(--ui-space-1) 0;
  border: 0;
  background: transparent;
}

.bag-sticky .bag-totals > div {
  display: flex;
  align-items: baseline;
  gap: var(--ui-space-2);
}

.bag-sticky [data-bag-owned-total] {
  grid-column: 3;
  justify-content: flex-end;
}

.bulk-controls .ui-button.bulk-sell {
  border-color: var(--ui-color-action);
  background: var(--ui-color-action);
  color: var(--ui-color-on-accent);
}

.bulk-controls .ui-button.bulk-sell:hover:not(:disabled) {
  border-color: var(--ui-color-action-hover);
  background: var(--ui-color-action-hover);
  color: var(--ui-color-on-accent);
}

.bag-sticky .bag-totals strong {
  font-size: 15px;
}

.bag-sticky .drawer-tabs {
  position: static;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ui-space-1);
  margin-top: var(--ui-space-1);
  padding: 0;
  background: transparent;
}

.bag-sticky .drawer-tabs button {
  min-height: 28px;
  padding: var(--ui-space-1);
  font-size: 10px;
  line-height: 1.2;
}

.bag-sticky .bulk-bar,
.depot-sticky .bulk-bar {
  position: static;
  margin: var(--ui-space-1) 0 0;
  box-shadow: none;
}

.bag-drawer .bulk-bar {
  flex-wrap: wrap;
}

.bag-drawer .bulk-controls {
  flex-wrap: wrap;
}

.sale-filters {
  margin-top: var(--ui-space-2);
}

.sale-filters .section-heading h3 {
  margin: 0;
  color: var(--ui-color-accent);
  font-size: 12px;
}

.sale-filter-note {
  margin: var(--ui-space-1) 0 0;
  font-size: 10px;
  line-height: 1.4;
}

.shop-row {
  min-height: 84px;
  padding: 6px;
}

.shop-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--ui-space-3);
  min-height: 32px;
}

.shop-row-head > .shop-row-main {
  grid-column: 1;
  grid-row: 1;
}

.shop-row-main small {
  font-size: 10px;
  line-height: 1.2;
}

.shop-row-meta {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  gap: var(--ui-space-3);
  min-width: 0;
}

.shop-row-meta > span,
.shop-row-meta > strong {
  flex: none;
  white-space: nowrap;
}

.shop-row-meta .shop-owned {
  color: var(--ui-color-text-muted);
  font-size: 10px;
  font-weight: 400;
}

.shop-owned strong {
  font-weight: 700;
}

.shop-row-meta .shop-price {
  margin-left: 0;
  color: var(--ui-color-accent-strong);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.shop-quantity-slider {
  display: flex;
  flex: 1 1 80px;
  align-items: center;
  min-width: 80px;
  width: 80px;
  max-width: 140px;
  margin: 0;
  accent-color: var(--ui-color-accent);
  cursor: pointer;
}

input.shop-quantity-slider,
.shop-quantity-slider input {
  height: 20px;
  padding: 0;
}

.shop-quantity-slider input {
  width: 100%;
  min-width: 0;
  margin: 0;
  accent-color: var(--ui-color-accent);
  cursor: pointer;
}

.shop-quantity-slider:disabled,
.shop-quantity-slider input:disabled {
  opacity: 0.45;
  cursor: default;
}

.shop-buy-line {
  flex-wrap: wrap;
  margin-top: var(--ui-space-1);
  padding-top: 3px;
  gap: var(--ui-space-2);
}

.shop-steps {
  margin-right: 0;
}

.shop-steps button,
.shop-buy,
.shop-use {
  min-height: 26px;
  padding-top: var(--ui-space-1);
  padding-bottom: var(--ui-space-1);
}

.shop-exact input {
  width: 64px;
  height: 26px;
  background: transparent;
}

.shop-total small {
  font-size: 9px;
}

.shop-total {
  min-width: 68px;
}

.pokemon-filter-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--ui-space-1) 0 0;
  color: var(--ui-color-text-muted);
  font-size: 10px;
}

.pokemon-filter-toolbar .depot-search {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-width: 110px;
  max-width: none;
  flex-basis: 130px;
  font-weight: 800;
}

.pokemon-filter-toolbar input:not([type="checkbox"]) {
  height: 30px;
  border: 1px solid var(--ui-color-border-subtle);
  border-radius: var(--ui-radius);
  background: transparent;
  color: var(--ui-color-text);
  font: 600 12px var(--ui-font-body);
}

.iv-range-filter {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.iv-range-filter label,
label.iv-range-filter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  color: var(--ui-color-text-muted);
  font-size: 10px;
  font-weight: 800;
}

.iv-range-filter input {
  width: 64px;
  min-width: 0;
  padding: var(--ui-space-1) 6px;
  font-variant-numeric: tabular-nums;
}

.sale-quality-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-1);
  margin: var(--ui-space-1) 0 0;
  padding: 0;
  border: 0;
}

.sale-quality-options legend {
  margin-bottom: var(--ui-space-1);
  padding: 0;
  color: var(--ui-color-text-muted);
  font-size: 10px;
  font-weight: 800;
}

.sale-quality-options label {
  display: inline-flex;
  align-items: center;
  gap: var(--ui-space-1);
  min-height: 26px;
  padding: var(--ui-space-1) 6px;
  border: 1px solid var(--ui-color-border-subtle);
  background: transparent;
  color: var(--ui-color-text-muted);
  font-size: 10px;
  cursor: pointer;
}

.sale-quality-options label:has(input:checked) {
  border-color: color-mix(
    in srgb,
    var(--quality-color, var(--ui-color-accent)) 65%,
    var(--ui-color-border)
  );
  background: color-mix(
    in srgb,
    var(--quality-color, var(--ui-color-accent)) 9%,
    var(--ui-color-surface-raised)
  );
  color: var(--ui-color-text);
}

.sale-quality-options label:hover {
  border-color: var(--quality-color, var(--ui-color-accent-strong));
}

.sale-quality-options label:focus-within {
  outline: var(--ui-focus-width) solid var(--ui-color-focus);
  outline-offset: var(--ui-focus-offset);
}

.sale-quality-options input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--quality-color, var(--ui-color-accent));
  cursor: pointer;
}

.pokemon-sale-list {
  display: grid;
  gap: var(--ui-space-1);
  margin-top: var(--ui-space-1);
}

.bag-drawer .depot-row {
  border-left-color: var(--quality-color, var(--ui-color-accent));
}

/* Team and depot keep independent scroll positions on a wide drawer. */
.drawer.collection-drawer {
  width: min(calc(1000px + var(--ui-nav-rail-size)), 100%);
}

.collection-drawer .drawer-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  container: collection-panel / inline-size;
}

.collection-drawer .drawer-head {
  flex: none;
}

.collection-drawer #drawer-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.collection-drawer .collection-summary {
  flex: none;
  align-items: center;
  flex-wrap: nowrap;
  margin: 6px 0;
  line-height: 20px;
}

.collection-drawer .collection-summary > strong {
  font-size: 16px;
}

.collection-drawer .collection-summary small {
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.collection-mobile-tabs {
  display: none;
  flex: none;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: var(--ui-space-3);
  flex: 1;
  min-height: 0;
}

.team-panel,
.depot-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--ui-color-border) var(--ui-color-surface-raised);
  scrollbar-width: thin;
}

.team-panel {
  padding-right: var(--ui-space-1);
}

.team-card-power .team-card-iv {
  font-size: 11px;
}

.team-card-iv strong {
  font-size: inherit;
}

.pokemon-iv-total {
  font-weight: 700;
}

.pokemon-iv-total .pokemon-iv-max {
  color: inherit;
  font-size: inherit;
  font-weight: 300;
}

.depot-panel {
  padding-left: var(--ui-space-3);
  border-left: 1px solid var(--ui-color-border-subtle);
}

.team-panel > .drawer-section,
.depot-panel > .drawer-section,
.collection-layout > .drawer-section {
  margin-top: 0;
}

.team-panel-header,
.depot-sticky {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: var(--ui-space-1) 0;
  background: var(--ui-color-surface-raised);
  border-bottom: 1px solid var(--ui-color-border-subtle);
}

.team-panel-header h3,
.team-panel-header .section-heading,
.depot-sticky .section-heading {
  margin: 0;
}

.team-panel-header h3,
.depot-sticky .section-heading h3 {
  color: var(--ui-color-accent);
  font-size: 12px;
}

.team-panel-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--ui-space-1) var(--ui-space-2);
}

.team-panel-header > span {
  color: var(--ui-color-text-muted);
  font-size: 10px;
}

.depot-sticky .depot-toolbar {
  margin: var(--ui-space-1) 0 0;
  gap: var(--ui-space-1) 6px;
}

.depot-sticky .depot-toolbar .depot-search {
  flex: 1 1 100px;
  min-width: 96px;
}

.depot-sticky .quality-filter {
  flex: 1 1 112px;
  min-width: 105px;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.depot-quality-mount {
  width: 100%;
  min-width: 105px;
}

.depot-sticky .iv-range-filter input {
  width: 62px;
}

.depot-quality-mount .custom-select-trigger {
  min-height: 30px;
  padding: var(--ui-space-1) 6px;
  border-color: var(--ui-color-border-subtle);
  background: transparent;
}

.depot-quality-mount .custom-select-trigger:hover,
.depot-quality-mount.is-open .custom-select-trigger {
  background: transparent;
}

.depot-quality-mount .custom-select-primary {
  font-size: 11px;
}

.depot-quality-mount
  :is(.custom-select-trigger, .custom-select-option)
  .custom-select-primary {
  color: var(--quality-color, var(--ui-color-text));
}

.depot-quality-mount .custom-select-option[data-value="all"] {
  --quality-color: var(--ui-color-text);
}

.depot-quality-mount .custom-select-menu {
  min-width: 145px;
  background: var(--ui-color-surface-raised);
}

.depot-quality-mount .custom-select-option {
  padding: 6px;
}

.depot-quality-mount .custom-select-row:is(:hover, .is-active, :focus-within) {
  background: color-mix(
    in srgb,
    var(--ui-color-accent) 7%,
    var(--ui-color-surface-raised)
  );
}

.depot-sticky .collection-sort {
  flex-basis: 100%;
  justify-content: flex-end;
  margin-top: 0;
}

.depot-sticky .collection-sort button {
  min-height: 24px;
  padding: 3px 6px;
  font-size: 10px;
}

.depot-sticky .bulk-bar {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--ui-space-1);
  min-height: 32px;
  padding: var(--ui-space-1);
}

.depot-sticky .bulk-bar > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}

.depot-sticky .bulk-bar > div:first-child small {
  margin: 0;
}

.depot-sticky .bulk-controls {
  justify-content: flex-start;
  gap: var(--ui-space-1);
}

.depot-sticky .bulk-controls button {
  min-height: 24px;
  padding: 3px 5px;
  font-size: 10px;
}

.depot-panel .depot-list {
  margin-top: var(--ui-space-1);
}

.depot-panel .depot-row {
  grid-template-columns: 16px 30px minmax(0, 1fr) 64px 112px;
  gap: 5px;
  min-height: 78px;
  padding: 6px;
}

.depot-panel .depot-sprite {
  width: 30px;
  height: 30px;
}

.depot-panel .depot-sprite .ot-pokemon-icon {
  width: 28px;
  height: 28px;
}

.depot-panel .depot-metrics {
  grid-column: 4;
  font-size: 10px;
}

.depot-panel .depot-actions {
  grid-column: 5;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  max-width: none;
}

.depot-panel .depot-actions > strong {
  flex-basis: auto;
  margin: 0;
  text-align: right;
}

.depot-panel .depot-actions button {
  min-height: 24px;
  padding: 3px 5px;
  font-size: 10px;
}

.team-card-actions {
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--ui-space-2);
}

.team-member-actions,
.team-order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ui-space-1);
}

.team-order-actions {
  margin-left: auto;
  flex-wrap: nowrap;
}

.team-order-actions button {
  display: inline-flex;
  align-items: center;
  gap: var(--ui-space-1);
}

.team-card-actions :is([data-evolve-pokemon], [data-capture-record]) {
  border-color: var(--ui-color-accent);
  color: var(--ui-color-accent-strong);
  text-transform: uppercase;
}

.team-card-body .pokemon-card-foot {
  align-items: flex-start;
  flex-direction: column;
  gap: var(--ui-space-2);
}

.team-reserves {
  margin-top: var(--ui-space-3);
  padding-top: var(--ui-space-2);
  border-top: 1px solid var(--ui-color-border-subtle);
}

.team-reserves > .section-heading {
  margin: 0;
}

.team-reserves h3 {
  margin: 0;
  color: var(--ui-color-accent);
  font-size: 12px;
}

.team-reserves .drawer-note,
.reserve-empty {
  margin: var(--ui-space-1) 0 var(--ui-space-2);
  color: var(--ui-color-text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.reserve-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ui-space-1) var(--ui-space-2);
  min-width: 0;
  padding: var(--ui-space-2) 0;
  border-top: 1px solid var(--ui-color-border-subtle);
}

.reserve-row .depot-sprite {
  width: 32px;
  height: 32px;
}

.reserve-row .ot-pokemon-icon {
  width: 30px;
  height: 30px;
}

.reserve-identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.reserve-identity > strong {
  color: var(--ui-color-text);
  font-size: 13px;
}

.reserve-identity small {
  color: var(--ui-color-text-muted);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.reserve-identity .quality-badge {
  font-size: 9px;
}

.reserve-row .reserve-iv {
  font-size: 11px;
  white-space: nowrap;
}

.reserve-actions {
  display: flex;
  grid-column: 2 / -1;
  flex-wrap: wrap;
  gap: var(--ui-space-1);
}

.reserve-actions button {
  min-height: 26px;
  padding: var(--ui-space-1) 6px;
  font-size: 10px;
}

@container collection-panel (max-width: 850px) {
  .collection-mobile-tabs {
    display: grid;
    position: static;
    margin: 0 0 var(--ui-space-1);
    background: transparent;
  }

  .collection-mobile-tabs button {
    min-height: 28px;
    font-size: 10px;
  }

  .collection-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-layout[data-active-tab="team"] .depot-panel,
  .collection-layout[data-active-tab="depot"] .team-panel {
    display: none;
  }

  .depot-panel,
  .team-panel {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .depot-sticky .bulk-controls {
    margin-left: auto;
  }
}

/* Keep the desktop reserve action beside the lock instead of adding a full
   button row to every inventory item. Narrow layouts retain their touch flow. */
@container collection-panel (min-width: 481px) {
  .depot-panel .depot-actions:has(> [data-reserve-pokemon]) {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    justify-items: end;
  }

  .depot-panel .depot-actions:has(> [data-reserve-pokemon]) > strong,
  .depot-panel .depot-actions > [data-equip-pokemon] {
    grid-column: 1 / -1;
  }

  .depot-panel .depot-actions:has(> [data-reserve-pokemon]) > .pokemon-lock {
    grid-column: 1;
  }

  .depot-panel .depot-actions > [data-reserve-pokemon] {
    grid-column: 2;
  }
}

@container collection-panel (max-width: 480px) {
  .depot-panel .depot-row {
    grid-template-columns: 16px 32px minmax(0, 1fr) 70px;
    gap: var(--ui-space-1);
    padding: var(--ui-space-1);
  }

  .depot-panel .depot-actions {
    grid-column: 3 / -1;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
  }

  .depot-panel .depot-actions > strong {
    text-align: left;
  }

  .depot-sticky .iv-range-filter {
    flex: 1 1 calc(50% - var(--ui-space-2));
  }

  .depot-sticky .iv-range-filter input {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .bag-drawer .drawer-panel {
    --bag-panel-padding: 12px;
  }

  .bag-sticky {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .bag-sticky .drawer-tabs button,
  .collection-mobile-tabs button {
    min-height: 32px;
  }

  .bag-sticky .bag-totals {
    gap: var(--ui-space-1) var(--ui-space-2);
  }

  .bag-sticky .bag-totals > div {
    gap: var(--ui-space-1);
    flex-wrap: wrap;
  }

  .shop-row {
    min-height: 108px;
    padding: 6px;
  }

  .shop-row-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px var(--ui-space-1);
  }

  .shop-row-meta {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    gap: var(--ui-space-1);
  }

  .shop-quantity-slider {
    grid-column: 2 / -1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    max-width: none;
  }

  .shop-buy-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px 70px;
    justify-content: stretch;
  }

  .shop-steps {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .shop-steps button,
  .shop-buy,
  .shop-use {
    min-height: 24px;
  }

  .shop-exact input {
    width: 60px;
    height: 24px;
  }

  .shop-exact {
    grid-column: 1;
    grid-row: 2;
  }

  .shop-total {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
  }

  .shop-buy {
    grid-column: 3;
    grid-row: 2;
  }

  .sale-selection-sticky > div:first-child,
  .depot-sticky .bulk-bar > div:first-child {
    flex-basis: 100%;
  }

  .pokemon-filter-toolbar .depot-search {
    min-width: 110px;
    flex-basis: 110px;
  }

  .depot-sticky .bulk-controls {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .bag-sticky .drawer-tabs button {
    font-size: 10px;
  }

  .sale-quality-options label {
    padding-right: var(--ui-space-1);
    padding-left: var(--ui-space-1);
    font-size: 10px;
  }

  .depot-panel .depot-identity > strong {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .shop-row-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .shop-steps {
    grid-column: 1 / -1;
  }

  .shop-quantity-slider {
    grid-column: 1;
    grid-row: 2;
  }

  .shop-exact {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-content: flex-end;
  }

  .shop-total,
  .shop-buy {
    grid-row: 3;
  }
}
.pokemon-usage-restriction {
  display: flex;
  align-items: flex-start;
  gap: var(--ui-space-1);
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--ui-space-2);
  border-left: 2px solid var(--ui-color-danger);
  background: var(--ui-color-surface);
  color: var(--ui-color-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
  overflow-wrap: anywhere;
}

.pokemon-usage-restriction .ui-icon {
  flex: 0 0 14px;
  margin-top: 2px;
  color: var(--ui-color-danger);
}

.team-card-main > .pokemon-usage-restriction {
  width: 100%;
}
