








#elegantCabinet {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}




#scentWardrobe {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  

  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px 0;
  box-sizing: border-box;
}

#scentWardrobe h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 6.4vw, 34px);
}


.wardrobe-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  width: min(94%, 420px);
  max-height: 52vh;
  overflow-y: auto;
  padding: 2px;
  -webkit-overflow-scrolling: touch;
}
.wardrobe-card {
  width: 23%;
  min-width: 66px;
  max-width: 96px;
  box-sizing: border-box;
  

  margin: 3px;
  padding: 6px 3px 5px;
  background: linear-gradient(160deg, rgba(48, 24, 58, 0.9), rgba(24, 12, 30, 0.9));
  border: 1.5px solid rgba(186, 104, 200, 0.35);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s, box-shadow 0.2s, border-color 0.2s;
}
.wardrobe-card:active { transform: scale(0.95); }
.wardrobe-card:hover {
  border-color: #ba68c8;
  box-shadow: 0 0 12px rgba(186, 104, 200, 0.4);
}
.wardrobe-portrait {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}
.wardrobe-card-name {
  margin-top: 3px;
  font-size: 11px;
  color: #efe3f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wardrobe-card-skin {
  margin-top: 2px;
  font-size: 10px;
  color: #d3aee0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wardrobe-empty {
  width: min(94%, 380px);
  text-align: center;
  font-size: 12px;
  color: #b795c9;
  line-height: 1.7;
  padding: 26px 0;
}


.wardrobe-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.wardrobe-page-text {
  min-width: 46px;
  text-align: center;
  font-size: 12px;
  color: #c9b0d6;
  letter-spacing: 1px;
}
.wardrobe-nav .deck-nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}




.skin-picker-panel {
  width: min(90%, 340px);
  max-height: 84vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  background: linear-gradient(180deg, #2e1a38, #1d1026);
  border: 2px solid #ba68c8;
  border-radius: 14px;
  padding: 18px 16px 12px;
  box-shadow: 0 0 36px rgba(186, 104, 200, 0.35);
  text-align: center;
}
.skin-picker-title {
  font-size: 19px;
  font-weight: bold;
  color: #f0dcf7;
  text-shadow: 0 0 12px rgba(186, 104, 200, 0.6);
}
.skin-picker-sub {
  font-size: 11px;
  color: #b795c9;
  margin: 6px 0 14px;
}
.skin-picker-chips {
  margin-bottom: 12px;
}
.skin-chip {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 30px 8px 10px;
  margin-bottom: 8px;
  background: rgba(20, 10, 26, 0.75);
  border: 1.5px solid rgba(186, 104, 200, 0.28);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.skin-chip:active { transform: scale(0.98); }
.skin-chip.active {
  border-color: #e9c8f5;
  box-shadow: 0 0 12px rgba(186, 104, 200, 0.5);
  background: rgba(58, 30, 70, 0.85);
}
.skin-chip-icon { font-size: 20px; line-height: 1; flex-shrink: 0; margin-right: 8px; }
.skin-chip-name {
  font-size: 13px;
  font-weight: bold;
  color: #f0dcf7;
  flex-shrink: 0;
  margin-right: 6px;
}
.skin-chip-desc {
  font-size: 10px;
  color: #b795c9;
  line-height: 1.4;
}
.skin-chip-check {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ee787;
  font-weight: bold;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(126, 231, 135, 0.7);
}

.skin-chip.locked {
  opacity: 0.62;
  border-style: dashed;
  border-color: rgba(186, 104, 200, 0.25);
}
.skin-chip.locked .skin-chip-check { color: #8d7d97; text-shadow: none; }
.wardrobe-card-skin.locked { color: #8d7d97; }

.tailor-item-sub {
  font-size: 10px;
  color: #d3aebd;
  letter-spacing: 1px;
}



#tailorShop .monument-slot.tailor-item-locked {
  border-color: rgba(150, 132, 140, 0.38) !important;
  background: linear-gradient(160deg, rgba(82, 66, 76, 0.18), rgba(24, 18, 22, 0.92)) !important;
  animation: none;
}
#tailorShop .tailor-item-locked .arthur-item-icon {
  filter: grayscale(1) brightness(0.62);
}
#tailorShop .tailor-item-locked .arthur-item-name { color: #a498a4; }
#tailorShop .tailor-item-locked .tailor-item-sub { color: #8d7d87; }
#tailorShop .tailor-item-locked .arthur-item-price,
#tailorShop .tailor-item-locked .tailor-locked-price { color: #8f97a3; }


@media (max-height: 560px) {
  #scentWardrobe { padding-top: 6px; }
  #scentWardrobe h1 { font-size: 24px; }
  .wardrobe-grid { max-height: 44vh; }
  .wardrobe-portrait { font-size: 24px; height: 44px; }
}
