/* ===== SALON ===== */
.salon-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.animal-stage {
  background: linear-gradient(180deg, #E8F4FF 0%, #D0E8FF 60%, #C8E6B8 100%);
  border-radius: 24px; border: 4px solid var(--sky); padding: 28px;
  text-align: center; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(74,144,217,0.15);
}
.stage-clouds { position: absolute; top: 16px; left: 0; right: 0; display: flex; justify-content: space-around; pointer-events: none; }
.cloud { font-size: 2rem; opacity: 0.4; animation: cloudFloat 6s ease-in-out infinite; }
.cloud:nth-child(2) { animation-delay: 2s; font-size: 1.6rem; }
.cloud:nth-child(3) { animation-delay: 4s; }
@keyframes cloudFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.photo-wrap { position: relative; width: 200px; height: 200px; cursor: pointer; transition: transform 0.2s; }
.photo-wrap:hover { transform: scale(1.04); }
.photo-wrap:active { transform: scale(0.97); }
.animal-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid white; box-shadow: 0 8px 32px rgba(0,0,0,0.2); display: block; transition: all 0.5s; }
.photo-loading { position: absolute; inset: 0; background: var(--peach); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.1) } }
.fell-canvas { position: absolute; top: 0; left: 0; width: 200px; height: 200px; pointer-events: none; z-index: 5; border-radius: 50%; }
.overlay-hat { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); font-size: 3.8rem; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); pointer-events: none; z-index: 10; }
.outfit-canvas-wrap { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 130px; height: 88px; pointer-events: none; z-index: 10; }
.outfit-canvas-wrap canvas { width: 100%; height: 100%; }
.animal-name-display { font-family: 'Baloo 2', cursive; font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-top: 14px; }
.happiness-bar { width: 190px; margin: 10px auto 0; }
.happiness-label { font-weight: 700; color: var(--dark); margin-bottom: 5px; font-size: 0.88rem; }
.bar-track { background: rgba(255,255,255,0.6); border-radius: 20px; height: 16px; border: 3px solid white; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, #FF5F8F, #FF8C42); transition: width 0.6s cubic-bezier(0.34,1.56,0.64,1); position: relative; overflow: hidden; }
.bar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%) } 100% { transform: translateX(200%) } }
.style-panel { display: flex; flex-direction: column; gap: 12px; }
.animal-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.animal-btn { background: var(--cream); border: 3px solid transparent; border-radius: 12px; padding: 4px; cursor: pointer; transition: all 0.2s; text-align: center; position: relative; overflow: hidden; }
.animal-btn:hover { transform: scale(1.08); border-color: var(--peach); }
.animal-btn.active { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.animal-btn img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.animal-btn .alabel { font-size: 0.6rem; font-weight: 700; color: var(--dark); margin-top: 2px; }
.animal-btn .lock { position: absolute; top: 3px; right: 3px; font-size: 0.75rem; background: rgba(0,0,0,0.4); border-radius: 50%; padding: 1px; }
.hat-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.hat-btn { background: var(--cream); border: 3px solid transparent; border-radius: 10px; padding: 5px; font-size: 1.5rem; cursor: pointer; transition: all 0.2s; text-align: center; position: relative; }
.hat-btn:hover { transform: scale(1.1); border-color: var(--mint); }
.hat-btn.active { border-color: var(--green); background: var(--mint); }
.saved-outfit-thumb { width: 48px; height: 48px; border-radius: 10px; border: 3px solid var(--peach); cursor: pointer; overflow: hidden; transition: all 0.2s; background: white; }
.saved-outfit-thumb:hover { border-color: var(--pink); transform: scale(1.08); }
.saved-outfit-thumb.active { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.saved-outfit-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ===== FELL PANEL ===== */
.fell-color-palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-bottom: 8px; }
.fell-color-btn { width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: all 0.15s; padding: 0; }
.fell-color-btn:hover { transform: scale(1.2); }
.fell-color-btn.active { border-color: var(--dark); box-shadow: 0 0 0 2px white, 0 0 0 4px var(--dark); }
.fell-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fell-label { font-size: 0.8rem; font-weight: 700; color: var(--brown); white-space: nowrap; }
.fell-custom-color { width: 36px; height: 28px; border: 3px solid var(--peach); border-radius: 8px; cursor: pointer; padding: 0; background: none; }
.fell-slider { flex: 1; accent-color: var(--pink); }
.fell-patterns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; }
.fell-pattern-btn { background: var(--cream); border: 3px solid var(--peach); border-radius: 10px; padding: 6px 4px; font-size: 0.72rem; font-weight: 700; color: var(--dark); cursor: pointer; transition: all 0.15s; font-family: 'Baloo 2', cursive; }
.fell-pattern-btn:hover { border-color: var(--pink); transform: scale(1.05); }
.fell-pattern-btn.active { border-color: var(--pink); background: var(--rose); }
.fell-btn-row { display: flex; gap: 8px; }
.fell-reset-btn { flex: 1; background: var(--cream); border: 3px solid var(--peach); border-radius: 12px; padding: 8px; font-family: 'Baloo 2', cursive; font-size: 0.8rem; font-weight: 700; color: var(--brown); cursor: pointer; }
.fell-save-btn { flex: 1; background: linear-gradient(135deg, var(--green), #2ea87a); border: none; border-radius: 12px; padding: 8px; font-family: 'Baloo 2', cursive; font-size: 0.8rem; font-weight: 700; color: white; cursor: pointer; }
