/**
 * 皮肤面板 - 底纹 section 样式
 *
 * 拆自 skin-panel.css，对应 SkinTextureSection.tsx。
 */

.skin-panel__texture-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.skin-panel__texture-btn {
  padding: var(--space-2) var(--space-1);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.skin-panel__texture-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
}

.skin-panel__texture-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.skin-panel__texture-btn--active {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.skin-panel__texture-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--glass-border);
}

.skin-panel__slider-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.skin-panel__slider-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.skin-panel__slider-value {
  font-family: var(--font-mono);
  color: var(--color-text-secondary);
  text-transform: none;
  letter-spacing: 0;
}

.skin-panel__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-full);
  outline: none;
  cursor: pointer;
}

.skin-panel__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px var(--color-accent-glow);
  transition: transform var(--duration-fast);
}

.skin-panel__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.skin-panel__slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.skin-panel__select-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.skin-panel__select {
  width: 100%;
  padding: var(--space-1) var(--space-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-size: var(--text-xs);
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.skin-panel__select:hover:not(:disabled) {
  border-color: var(--glass-border-hover);
}

.skin-panel__select:focus {
  border-color: var(--color-accent);
}

.skin-panel__select option {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}
