/* Phase 2 and 3. Paper look, 44px targets, motion at or under 150ms. */

.gate, .wardrobe-tools, .wire-tools, .palette-block, .chart-presets, .outfit-form {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 1rem;
}
.gate label, .wardrobe-tools label, .wire-tools label, .outfit-form label, .mode-panel label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
}
.gate input, .outfit-form input, .mode-panel input[type="text"], .palette-block input[type="text"] {
  min-height: 44px;
}
.gate legend { font-weight: 700; }
.ba-wrap { display: grid; gap: 0.6rem; margin: 0.8rem 0 1rem; }
.ba-wrap canvas, #charts-compare { width: 100%; height: auto; border-radius: 16px; background: #12100e; }
.ba-label, .chart-presets button, .palette-block button, #save-chart, #hand-back {
  min-height: 44px;
}
.ba-label { display: grid; gap: 0.35rem; font-weight: 650; }
input[type="range"]#ba-split { min-height: 44px; width: 100%; }
.chart-presets, .wardrobe-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.charts-views { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#job-read { margin: 0.35rem 0 0.6rem; font-weight: 650; }
.outfit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.outfit-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; }
#palette-out .is-hit { font-weight: 750; }
#match-goes { margin: 0.35rem 0 0; }

#hand-back {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  min-width: 8rem;
  min-height: 64px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 0;
  background: #f6efe4;
  color: #1c1712;
  font: 700 1.1rem Georgia, serif;
}
body.hand-phone .site-header,
body.hand-phone .site-footer,
body.hand-phone .id-card,
body.hand-phone .live-bar,
body.hand-phone .reticle,
body.hand-phone .pin { display: none !important; }
.id-stage.is-hand .split { position: fixed; inset: 0; z-index: 40; grid-template-rows: 1fr; }
.id-stage.is-hand .split .pane:first-child { display: none; }
.id-stage.is-hand .split .pane .tag { display: none; }

.cone-blue .track span,
#blue-cones {
  background-image: repeating-linear-gradient(0deg, var(--blue) 0 4px, var(--raise) 4px 6px);
}

@media (prefers-reduced-motion: reduce) {
  #hand-back { transition: none; }
}
