/* Desktop enhancements (>= 900px). Mobile layout lives in style.css. */

@media (min-width: 600px) {
  .tracker-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (min-width: 900px) {
  :root { --lights-h: 60px; }

  /* dense: Check The List backfills the cell beside the countdown */
  .layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: row dense; gap: 24px; }
  .span-2 { grid-column: 1 / -1; }

  .rainbow { font-size: 3.4rem; }
  .santa-sprite .sprite { width: 176px; }
  .hero-tree .sprite { width: 80px; }
  .hero { gap: 48px; }

  .led, .led-sep { font-size: clamp(2rem, 3.4vw, 3rem); } /* countdown now shares its row with Check The List */
  .led-row { gap: 6px; }
  .led-unit { font-size: 0.9rem; }

  .radar { width: 340px; }
  #radar-panel { gap: 48px; padding: 24px; }
  .crt-big { font-size: 1.8rem; }
  .tracker-grid { grid-template-columns: 3fr 2fr; }

  .bulb { width: 14px; height: 26px; }
  .bulb::after { width: 14px; height: 19px; }

  .flyer .sprite { width: 80px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .recipes { align-content: start; }
}

/* Hover states only for real pointers */
@media (hover: hover) and (pointer: fine) {
  .btn8:hover:not(:disabled) { background: var(--btn-bg-hover); }
  .switch8:hover .switch-knob { background: #ffffff; }
  .recipe-card summary:hover { text-decoration: underline; }
  a.badge-top:hover { background: #fff07a; }
}
