/* skin-store.css — sits on top of styles.css + packaging.css, only styling the chooser. */

.skin-store {
  background: rgba(20, 22, 36, 0.62);
  border: 1px solid rgba(94, 116, 160, 0.32);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin: 6px 0 14px;
}

.skin-store-header h2 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #e9ecf5;
}

.skin-store-hint {
  margin: 0 0 10px;
  font-size: 11px;
  color: #9ba3b8;
  line-height: 1.4;
}

.skin-store-row {
  margin-top: 8px;
}

.skin-store-row h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b6c0d6;
}

.skin-store-active {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: #ffd66b;
  text-transform: none;
}

.skin-store-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.skin-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(38, 42, 64, 0.74);
  border: 2px solid transparent;
  border-radius: 8px;
  color: #e9ecf5;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  transition: transform 100ms ease, border-color 100ms ease, background 100ms ease;
}

.skin-thumb:hover {
  background: rgba(58, 64, 96, 0.78);
  transform: translateY(-1px);
}

.skin-thumb[aria-pressed="true"] {
  border-color: #ffd66b;
  background: rgba(80, 70, 30, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 214, 107, 0.18);
}

.skin-thumb img {
  width: 84px;
  height: 105px;
  object-fit: cover;
  border-radius: 5px;
  image-rendering: auto;
}

.skin-thumb-label {
  font-size: 11px;
  color: #e9ecf5;
  text-align: center;
  white-space: nowrap;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skin-thumb-character {
  min-width: 156px;
  padding: 8px 10px;
  text-align: left;
  align-items: flex-start;
}

.skin-thumb-textbox {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.skin-thumb-character strong {
  font-size: 13px;
  color: #e9ecf5;
}

.skin-thumb-character small {
  font-size: 10px;
  color: #94a0bd;
}

.skin-thumb-character .skin-thumb-note {
  color: #c2cae0;
  font-size: 10px;
  margin-top: 2px;
}

/* -------- Hero cover banner -------- */
.skin-store-cover {
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 22, 36, 0) 0%, rgba(20, 22, 36, 0.75) 80%);
  box-shadow: 0 18px 36px rgba(8, 10, 22, 0.45), 0 0 0 1px rgba(255, 214, 107, 0.18);
  position: relative;
}
.skin-store-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.skin-store-cover figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, rgba(13, 14, 24, 0) 0%, rgba(13, 14, 24, 0.78) 60%, rgba(13, 14, 24, 0.92) 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.skin-store-cover figcaption strong {
  color: #ffd66b;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.skin-store-cover figcaption span {
  color: #b6c0d6;
  font-size: 11px;
  line-height: 1.4;
}

/* -------- Size Knobs panel -------- */
.size-knobs {
  background: rgba(20, 22, 36, 0.62);
  border: 1px solid rgba(94, 116, 160, 0.32);
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin: 6px 0 14px;
}
.size-knobs-header h2 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #e9ecf5;
}
.size-knobs-hint {
  margin: 0 0 8px;
  font-size: 11px;
  color: #9ba3b8;
  line-height: 1.4;
}
.size-knobs-row {
  display: flex;
  flex-direction: column;
  margin: 6px 0;
  gap: 2px;
}
.size-knobs-row label {
  font-size: 12px;
  color: #b6c0d6;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.03em;
}
.size-knobs-row label strong {
  color: #ffd66b;
  font-size: 12px;
}
.size-knobs-row input[type="range"] {
  width: 100%;
  accent-color: #ffd66b;
}
.size-knobs-advanced {
  margin: 8px 0 6px;
}
.size-knobs-advanced summary {
  font-size: 12px;
  color: #b6c0d6;
  cursor: pointer;
  margin-bottom: 4px;
}
.size-knobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}
.size-knobs-mini {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: #b6c0d6;
}
.size-knobs-mini span {
  display: flex;
  justify-content: space-between;
}
.size-knobs-mini strong {
  color: #ffd66b;
  font-size: 11px;
}
.size-knobs-mini input[type="range"] {
  width: 100%;
  accent-color: #ffd66b;
}
.size-knobs-reset {
  margin-top: 6px;
  font-size: 11px;
  background: rgba(58, 64, 96, 0.78);
  border: 1px solid rgba(94, 116, 160, 0.32);
  color: #e9ecf5;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.size-knobs-reset:hover {
  background: rgba(80, 90, 130, 0.8);
}

/* -------- AI-vs-AI toggle -------- */
.ai-mode {
  background: rgba(20, 22, 36, 0.62);
  border: 1px solid rgba(94, 116, 160, 0.32);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 6px 0 14px;
}
.ai-mode header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ai-mode header h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #e9ecf5;
}
.ai-mode header small { color: #9ba3b8; font-size: 11px; }
.ai-mode-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.ai-mode-row button {
  font-size: 12px;
  background: rgba(58, 64, 96, 0.78);
  border: 1px solid rgba(94, 116, 160, 0.32);
  color: #e9ecf5;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.ai-mode-row button[aria-pressed="true"] {
  background: rgba(80, 70, 30, 0.55);
  border-color: #ffd66b;
  color: #ffd66b;
}
.ai-mode-row label {
  font-size: 12px;
  color: #b6c0d6;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ai-mode-row select {
  background: rgba(38, 42, 64, 0.74);
  border: 1px solid rgba(94, 116, 160, 0.32);
  border-radius: 6px;
  color: #e9ecf5;
  padding: 4px 6px;
  font-size: 12px;
}
