/* Lily Chain -- the few things that are this game's own.

   Bars, readout, stage, dialogs and the screens are css/games/arcade.css,
   screens.css and handheld.css, as in every arcade game. The board itself
   is drawn on the canvas (js/games/lilyChain/view.js). */

/* The board is wide (1000 by 640): the column takes the window, and the
   stage keeps the board's shape inside it. */
.lc-main {
  align-self: center;
  flex: 1 1 auto;
  width: min(100%, 78rem);
}

.lc-stage { flex: 1; min-width: 0; }

.ar-has-backdrop .ar-shell.is-focus:not(:fullscreen) .lc-main {
  padding: 8px;
  border-radius: 18px;
  background: var(--ground);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.ar-has-backdrop .ar-shell.is-focus:not(:fullscreen) .lc-main .ar-stage canvas,
.ar-has-backdrop .ar-shell.is-focus:not(:fullscreen) .lc-main .hh-dock {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.ar-has-backdrop .ar-shell.is-focus:not(:fullscreen) .ar-readout {
  align-self: center;
  width: min(100%, 78rem);
  box-sizing: border-box;
  padding: 6px 12px;
  flex-wrap: nowrap;
  justify-content: space-between;
  white-space: nowrap;
}

.hh-dock { gap: 6px; }
.hh-dock button { flex: 0 1 8rem; min-width: 0; }

.lc-stars { color: #d9a400; }
.lc-lives { color: #d8352f; }
.ar-readout__item[hidden] { display: none; }
