[hidden] {
  display: none !important;
}
.collection-name img {
  float: left;
  margin-right: 10px;
  border: 1px solid #796744;
  border-radius: 4px;
}
@media (min-width: 651px) {
  .look-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    min-height: 112px;
  }
  .look-card img {
    height: 112px;
    object-fit: cover;
    object-position: center;
  }
  .look-card .look-card-text {
    padding: 8px;
  }
  .look-card strong {
    font-size: 12px;
  }
}
.browse-shortcut {
  display: block;
  margin-top: 18px;
  padding: 9px 0;
  font-size: 12px;
}
.look-name-label {
  display: block;
  font-size: 12px;
  margin-top: 18px;
  color: #a3b6c6;
}
.look-name-label input,
.rename-look input,
.item-controls input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 10px 12px;
  min-height: 44px;
  background: #091421;
  border: 1px solid #3a4b5a;
  border-radius: 5px;
  color: #e5ebef;
  font: inherit;
}
.save-actions {
  margin-top: 12px;
}
.saved-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 24px;
}
.saved-heading span {
  font: 400 10px system-ui;
  color: #8c9fac;
}
.saved-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  padding-bottom: 6px;
  border-bottom: 1px solid #253747;
}
.saved-row button:first-child {
  overflow-wrap: anywhere;
}
.saved-row button {
  padding: 7px;
  font-size: 11px;
  min-height: 44px;
}
.rename-look {
  grid-column: 1/-1;
  display: flex;
  gap: 6px;
  align-items: end;
}
.rename-look input {
  flex: 1;
  font-size: 12px;
}
.rename-look button {
  white-space: nowrap;
}
.backup-tools {
  margin-top: 20px;
  font-size: 12px;
  border-top: 1px solid #2b3e4d;
  padding-top: 14px;
}
.backup-tools summary {
  cursor: pointer;
  color: #bdad88;
}
.backup-tools > button {
  margin-top: 12px;
  min-height: 44px;
  font-size: 12px;
}
.backup-tools p {
  font-size: 11px;
  color: #8ea4b7;
  margin-top: 10px;
}
.import-label {
  display: block;
  margin-top: 12px;
  color: #b5c3d0;
}
.import-label input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  font-size: 11px;
  color: #b5c3d0;
}
.item-browser {
  margin-top: 36px;
  padding: 26px;
  background: #0d1b29;
  border: 1px solid #2b3e4d;
  border-radius: 8px;
  scroll-margin-top: 24px;
}
.browser-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.browser-heading h2 {
  font-size: 30px;
  margin-bottom: 6px;
}
.browser-heading p:not(.eyebrow) {
  font-size: 13px;
  color: #99adbf;
}
.browser-heading > span {
  font-size: 12px;
  color: #c8b789;
  white-space: nowrap;
}
.item-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 16px 0 20px;
}
.item-controls label {
  display: block;
  min-width: 0;
  font-size: 12px;
  color: #9fb2c3;
}
.item-controls select {
  margin-top: 6px;
}
.item-controls button {
  min-height: 44px;
}
.item-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.item-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #091421;
  border: 1px solid #304455;
  border-radius: 6px;
  padding: 14px;
}
.item-card img {
  border: 1px solid #8e7e56;
  border-radius: 5px;
}
.item-card h3 {
  font-size: 13px;
  margin: 0;
  color: #eadfc5;
}
.item-card p {
  font-size: 11px;
  margin: 4px 0 0;
  color: #8fa5b7;
}
.item-card button {
  grid-column: 1/-1;
  min-height: 44px;
  font-size: 12px;
}
.item-card button[aria-pressed='true'] {
  border-color: #806e40;
  color: #ddc58e;
  background: #19252a;
}
.item-card:has(button[aria-pressed='true']) {
  border-color: #726440;
}
.item-browser #item-status {
  font-size: 12px;
  color: #cdb988;
  margin: 12px 0 0;
  min-height: 18px;
}
.missing-control {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #b5c6d3;
  margin: 8px 0 18px;
}
.missing-control input {
  width: 18px;
  height: 18px;
  accent-color: #d5b675;
}
.collection-empty,
#item-empty {
  color: #b6c6d4;
}
.equipment #copy-fallback {
  width: 100%;
  min-height: 120px;
  background: #091421;
  color: #e5ebef;
}
.backup-tools input::file-selector-button {
  background: #132232;
  color: #e5ebef;
  border: 1px solid #3a4b5a;
  border-radius: 4px;
  padding: 9px;
  margin-right: 6px;
}
@media (max-width: 1100px) {
  .item-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .equipment .look-name-label {
    max-width: 400px;
  }
  .equipment .saved-row,
  .equipment .backup-tools {
    max-width: 550px;
  }
  .saved-heading {
    max-width: 550px;
  }
}
@media (max-width: 650px) {
  .item-browser {
    padding: 18px 14px;
    margin-top: 22px;
  }
  .browser-heading {
    display: block;
  }
  .browser-heading > span {
    display: block;
    margin-bottom: 10px;
  }
  .item-controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .item-controls label:first-child {
    grid-column: 1/-1;
  }
  .item-controls button {
    grid-column: 1/-1;
  }
  .item-results {
    grid-template-columns: 1fr;
  }
  .item-card {
    grid-template-columns: 44px minmax(0, 1fr) 76px;
    padding: 12px;
  }
  .item-card button {
    grid-column: auto;
  }
  .item-card h3 {
    font-size: 12px;
  }
  .item-card p {
    font-size: 10px;
  }
  .item-card button {
    padding: 5px;
    font-size: 11px;
  }
  .backup-tools {
    font-size: 12px;
  }
  .saved-row {
    grid-template-columns: minmax(0, 1fr) auto 40px;
  }
  .look-name-label input {
    font-size: 16px;
  }
}

.look-filter {
  display: block;
  font-size: 11px;
  color: #a3b6c6;
  margin-bottom: 10px;
}
.look-filter select {
  font-size: 12px;
  margin-top: 4px;
}
.item-source {
  display: inline-block;
  font-size: 11px;
  margin-top: 5px;
}
.item-controls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.item-controls label:first-child {
  grid-column: span 2;
}
#look-empty {
  font-size: 12px;
  color: #bdad88;
}
@media (max-width: 650px) {
  .item-controls {
    grid-template-columns: 1fr 1fr;
  }
  .look-filter {
    display: inline-block;
    width: calc(50% - 6px);
  }
  .look-filter + .look-filter {
    margin-left: 8px;
  }
  #outfits {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 2px 2px 8px;
  }
  .look-card {
    flex: 0 0 145px;
    scroll-snap-align: start;
  }
  .item-card .item-source {
    font-size: 10px;
  }
}
