/* The board fills the whole window, with no frame (the owner's wish): the top bar, the day's track and the to-do strip float over it, a little
   see-through, as do the panels on the board. The game measures the bars (layoutStage, 35-loop) into --hudh (the top bar and the track, from
   the top of the window) and --todoh (the to-do strip, from the bottom), and what sits at the board's top or bottom edge keeps clear of them.
   Phones keep their own layout (body.mobile). */
body:not(.mobile) { padding: 0; overflow: hidden; }
body:not(.mobile) .app { max-width: none; display: block; }
body:not(.mobile) .stage { position: fixed; inset: 0; z-index: 0; border: 0 !important; border-radius: 0; box-shadow: none;
  display: flex; align-items: center; justify-content: center; }
body:not(.mobile) .top, body:not(.mobile) .trackrow { position: relative; z-index: 10; margin: 8px 10px 0; }
body:not(.mobile) .todo { position: fixed; left: 10px; right: 10px; bottom: 8px; z-index: 10; }

/* a little see-through: the farm shows behind */
body:not(.mobile) .top .chips, body:not(.mobile) .top .stat, body:not(.mobile) .top .btn, body:not(.mobile) .trackrow .btn, body:not(.mobile) .todo,
body:not(.mobile) .todo .btn {
  background: color-mix(in srgb, var(--panel) 82%, transparent); backdrop-filter: blur(2px); }
body:not(.mobile) .top .chips .stat { background: transparent; backdrop-filter: none; }      /* the cards sit on the chips' own panel */

/* clear of the bars */
body:not(.mobile) .stage .invpanel { top: calc(var(--hudh, 0px) + 6px); max-height: calc(100% - var(--hudh, 0px) - var(--todoh, 0px) - 12px); }
body:not(.mobile) .flockpanel { max-height: calc(100% - var(--hudh, 0px) - var(--todoh, 0px) - 62px); }
body:not(.mobile) #tutBox { top: calc(var(--hudh, 0px) + 66px); }
body:not(.mobile) #toast { top: calc(var(--hudh, 0px) + 52px); }      /* below the row of Build, Craft and Talk, whose headings covered its ends */
body:not(.mobile) #custPops { top: calc(var(--hudh, 0px) + 40px); }      /* what visitors say: below the bars and the messages, never under them */
body:not(.mobile) #dayCard { top: calc(var(--hudh, 0px) + 60px); left: 6px; }      /* below the Build heading, lined up with it (the owner) */
body:not(.mobile) .dropbar { top: calc(var(--hudh, 0px) + 6px); }
body:not(.mobile) .adjustbar { top: calc(var(--hudh, 0px) + 6px); }
body:not(.mobile) #layoutPanel { top: calc(var(--hudh, 0px) + 6px); }      /* layout mode's buttons, likewise: under the bars they were hidden */      /* Build's Move, Rotate and Remove: below the bars, where you can use them */
body:not(.mobile) #dashRow { bottom: calc(var(--todoh, 0px) + 6px); }
body:not(.mobile) #verRow { bottom: calc(var(--todoh, 0px) + 3px); }
body:not(.mobile) #saveChip { bottom: calc(var(--todoh, 0px) + 18px); }
body:not(.mobile) .choose { bottom: calc(var(--todoh, 0px) + 10px); }
body:not(.mobile) #reelBtn { bottom: calc(var(--todoh, 0px) + 64px); }
body:not(.mobile) .stagebtns { bottom: calc(var(--todoh, 0px) + 8px); }
body:not(.mobile) #banner { top: calc(var(--hudh, 0px) + 104px); }      /* the day's big news, below the messages (#toast), not under them (the owner) */
