/* ghost-notes.css v2 (Claude, 1 Dec 2026)
   City View and Treetops, touch screens (phones and iPads). The dotted "Move me to a treasure chest" label
   over the ghost is slimmer and a little narrower, and it now floats clear of the ghost's head, with about
   12px of air above the sunglasses (City View) or the mask's ears (Treetops). Before, it sat 3px above the
   head on phones, touched it on upright iPads, and overlapped the mask's ears by about 3px on iPads.
   - Slimmer: 24px tall instead of 30px (line height 1.25, 3px above and 4px below the words).
   - Narrower: 8px beside the words instead of 12px (and no letter spacing on phones, as on iPads).
   - Same words, 12px italic Georgia, same dotted line, same colours, same place above the ghost.
     It still goes away after the first move (the site's .ghost-move-invitation).
   Only padding, line-height, letter-spacing and the label's top change. Laptops and desktops used with a
   mouse are not changed. Forest is not touched. Load it as the last stylesheet.
   v2: the label sits 5px higher everywhere (about 12px of air instead of 7px). v1 was not put on the site. */

/* 1. Phones (680px and narrower). The look comes from city-mobile.css (3) and treetop-mobile.css (1). */
@media (max-width: 680px) {
  html body.home-view[data-site-scene="nyc"] .forest-stage[data-scene="nyc"] .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after,
  html body.home-view[data-site-scene="treetop"] .forest-stage[data-scene="treetop"] .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after {
    padding: 3px 8px 4px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  /* City View: the label hangs from its bottom edge (translate -100%). Was top: -7px. */
  html body.home-view[data-site-scene="nyc"] .forest-stage[data-scene="nyc"] .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after {
    top: -16px;
  }
  /* Treetops: the label is placed by its top edge. Was top: -52px. */
  html body.home-view[data-site-scene="treetop"] .forest-stage[data-scene="treetop"] .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after {
    top: -53px;
  }
}

/* 2. Upright iPads (681 to 900px, touch). The look and place come from city-mobile.css (6A). */
@media (min-width: 681px) and (max-width: 900px) and (hover: none) and (pointer: coarse) {
  html body.home-view .forest-stage:is([data-scene="nyc"], [data-scene="treetop"]) .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after {
    top: -18px;
    padding: 3px 8px 4px;
    line-height: 1.25;
  }
  html body.home-view .forest-stage[data-scene="treetop"] .spirit-wrap.touch-draggable-ghost.ghost-move-invitation::after {
    top: -61px;
  }
}

/* 3. iPads held sideways, and big iPads upright (901px and up, touch). The look and place come from
      city-mobile.css (9), which laptops share; this block is for touch screens only. */
@media (min-width: 901px) and (hover: none) and (pointer: coarse) {
  html body.home-view .forest-stage:is([data-scene="nyc"], [data-scene="treetop"]) .connections .spirit-wrap::after {
    top: -18px;
    padding: 3px 8px 4px;
    line-height: 1.25;
  }
  html body.home-view .forest-stage[data-scene="treetop"] .connections .spirit-wrap::after {
    top: -37px;
  }
}
