/* Responsive — Ghost Frequency */

@media (max-width: 768px) {
  .ghost-container {
    padding: 1.2rem 1rem;
  }

  .ghost-header h1 {
    font-size: 1.6rem;
  }

  .ghost-panel {
    padding: 1rem;
  }

  .ghost-readout {
    font-size: 1.5rem;
  }

  .ghost-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 44px;
  }

  .ghost-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .ghost-nav .ghost-btn {
    width: 100%;
    text-align: center;
  }

  .ghost-counter {
    font-size: 0.6rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .ghost-container {
    padding: 1rem 0.75rem;
  }

  .ghost-header h1 {
    font-size: 1.3rem;
  }

  .ghost-header .phase-desc {
    font-size: 0.8rem;
  }

  .ghost-panel {
    padding: 0.8rem;
    border-radius: 6px;
  }

  .ghost-readout {
    font-size: 1.2rem;
  }

  .ghost-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .ghost-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

/* Touch target enforcement */
@media (pointer: coarse) {
  .ghost-btn,
  .ghost-slider::-webkit-slider-thumb,
  .ghost-slider::-moz-range-thumb {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Tall screens / landscape adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .ghost-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .ghost-header h1 {
    font-size: 1.4rem;
  }
}
