/* ========== Tweaks Panel ========== */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  padding: 18px 18px 16px;
  z-index: 1000;
  font-family: var(--font-body);
  display: none;
  animation: tweakIn 0.2s ease-out;
}
.tweaks-panel.open { display: block; }
@keyframes tweakIn { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: none;} }

.tweaks-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.tweaks-title { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.tweaks-close { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--muted); padding: 4px; line-height: 1;}

.tweak-group { margin-bottom: 16px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tweak-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tweak-opt {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  font-family: inherit;
  color: var(--ink);
}
.tweak-opt:hover { border-color: var(--ink); }
.tweak-opt.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.tweak-swatch {
  display: flex; gap: 4px; justify-content: center; margin-bottom: 4px;
}
.tweak-swatch span { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); }

.tweak-opt.spring .tweak-swatch { }
.tweak-opt.spring .s1 { background: #F4C430;} .tweak-opt.spring .s2 { background: #7AAE5B;} .tweak-opt.spring .s3 { background: #E38AA6;}
.tweak-opt.summer .s1 { background: #F4C430;} .tweak-opt.summer .s2 { background: #2E6FB5;} .tweak-opt.summer .s3 { background: #BFD6EE;}
.tweak-opt.fall .s1 { background: #E5A227;} .tweak-opt.fall .s2 { background: #C95B1E;} .tweak-opt.fall .s3 { background: #4B6B2E;}
