/* phone-ghost-size.css · sorahseong.com home · v1, 30 Nov 2026
   Phones only: the City View and Treetops ghost is drawn the same size as the Forest ghost.
   Before this file, on every phone (320 to 440px wide, the iPhone Pro Max included), the City View and Treetops ghost
   was drawn about 27% larger than the Forest ghost: 79px wide against 62px.
   - It makes the ghost's box (.spirit-wrap) 21% smaller. Everything drawn inside it shrinks with it (the costumes,
     the satchel, the shadow), and everything placed from the box keeps its place next to the ghost: the
     "Move me to a treasure chest" bubble, the spot by a chest, and how far it can be dragged up under the header.
     The box stands on its bottom centre, so the ghost still stands on the same spot.
   - The artwork's own scale stays as it is (scale 1.18 in styles.css; scale(1.12) on touch screens in
     touch-ghost-size.css).
   - Forest, iPads and laptops (681px and wider) do not change. On iPads the three ghosts already match.
   - script.js measures the ghost as drawn, so dragging, dropping and parking need no change.
   Load it as the last stylesheet, right after touch-ghost-size.css. */

/* Phones, 600px and narrower. Was 104 × 120 (styles.css). */
@media (max-width: 600px) {
  html body.home-view .forest-stage:is([data-scene="nyc"], [data-scene="treetop"]) .spirit-wrap {
    width: 82px;
    height: 95px;
  }
}

/* The phone layout from 601 to 680px (a narrow laptop window, a large foldable). Was 119 × 137. */
@media (min-width: 601px) and (max-width: 680px) {
  html body.home-view .forest-stage:is([data-scene="nyc"], [data-scene="treetop"]) .spirit-wrap {
    width: 94px;
    height: 108px;
  }
}
