/* ── Medieval Pixel Art LOOKS Menu (New Overlay Style) ── */

/* Main container: full-bleed overlay panel */
.slimefox-looks-shell {
  background: linear-gradient(180deg, rgba(20, 13, 8, 0.98) 0%, rgba(9, 6, 4, 0.98) 100%);
  border: 3px solid #2a1509;
  box-shadow: 0 0 0 3px #8d5826, 0 16px 32px rgba(0,0,0,0.38);
  padding: 0;
  min-width: 800px;
  max-width: min(1000px, calc(100vw - 40px));
  width: fit-content;
}

/* Header */
.slimefox-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 2px solid #2a1509;
  gap: 12px;
}
.slimefox-overlay-copy {
  flex: 1;
}
.slimefox-overlay-title {
  font-family: pixel, "Courier New", monospace;
  font-size: 24px;
  line-height: 24px;
  color: #f5d48d;
  letter-spacing: 1px;
}
.slimefox-overlay-subtitle {
  font-size: 12px;
  line-height: 16px;
  color: #bfa88a;
  margin-top: 2px;
}
.slimefox-overlay-close {
  min-width: 44px;
  min-height: 44px;
}
.slimefox-overlay-close .btn-icon {
  font-size: 20px;
  color: #f5d48d;
}

/* Body layout */
.slimefox-looks-body {
  display: flex;
  gap: 16px;
  padding: 16px;
}

/* Left column: preview + status */
.slimefox-looks-preview-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  flex-shrink: 0;
}
.slimefox-looks-preview-panel {
  background: linear-gradient(180deg, rgba(31, 20, 12, 0.96) 0%, rgba(12, 8, 5, 0.98) 100%);
  border: 2px solid #2a1509;
  padding: 12px;
  text-align: center;
}
.slimefox-looks-preview-kicker {
  font-size: 10px;
  line-height: 12px;
  color: #bfa88a;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.slimefox-looks-preview-name {
  font-family: pixel, "Courier New", monospace;
  font-size: 18px;
  line-height: 22px;
  color: #f5d48d;
  margin-top: 6px;
}
.slimefox-looks-preview-stage {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
.slimefox-looks-status-list {
  background: linear-gradient(180deg, rgba(27, 18, 10, 0.98) 0%, rgba(11, 7, 4, 0.98) 100%);
  border: 2px solid #2a1509;
  padding: 10px 12px;
}
.slimefox-looks-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 18px;
  color: #bfa88a;
}
.slimefox-looks-status-line strong {
  color: #f5d48d;
  font-family: pixel, "Courier New", monospace;
  font-weight: normal;
}

/* Right column: sections */
.slimefox-looks-sections {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slimefox-looks-section {
  background: linear-gradient(180deg, rgba(32, 20, 12, 0.96) 0%, rgba(13, 9, 5, 0.98) 100%);
  border: 2px solid #2a1509;
  padding: 12px;
}
.slimefox-looks-section-head {
  margin-bottom: 10px;
}
.slimefox-looks-section-title {
  font-family: pixel, "Courier New", monospace;
  font-size: 16px;
  line-height: 18px;
  color: #f5d48d;
  letter-spacing: 1px;
}
.slimefox-looks-section-subtitle {
  font-size: 11px;
  line-height: 14px;
  color: #bfa88a;
  margin-top: 2px;
}
.slimefox-looks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

/* Cosmetic cards */
.slimefox-look-card {
  background: linear-gradient(180deg, rgba(27, 18, 10, 0.96) 0%, rgba(11, 7, 4, 0.98) 100%);
  border: 2px solid #2a1509;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  transition: transform 0.12s steps(2), filter 0.12s steps(2);
  text-align: center;
  position: relative;
}
.slimefox-look-card.editable {
  cursor: pointer;
}
.slimefox-look-card.editable:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.slimefox-look-card.editable:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
.slimefox-look-card.big {
  grid-column: span 2;
  grid-row: span 2;
}
.slimefox-look-card-label {
  font-family: pixel, "Courier New", monospace;
  font-size: 10px;
  line-height: 12px;
  color: #bfa88a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.slimefox-look-card-frame {
  border: 2px solid #2a1509;
  box-shadow: inset 0 0 0 2px rgba(141, 88, 38, 0.26);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 6, 4, 0.6);
}
.slimefox-look-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--look-accent, #17B8E3);
}
.slimefox-look-card-sprite {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slimefox-look-card-footer {
  margin-top: 4px;
  font-size: 9px;
  line-height: 12px;
  color: #8d5826;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.slimefox-look-card.editable .slimefox-look-card-footer {
  color: #f5d48d;
}

/* Inventory Looks hotbar button */
.inventory-looks-hotbar-btn {
  min-width: 132px;
  min-height: 44px;
}
.inventory-looks-hotbar-icon {
  font-size: 12px;
  color: #f5d48d;
  font-family: pixel, "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}
