/* Angry Birds — web edition : shell styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1b12;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#wrap {
  position: fixed;
  inset: 0;
  display: block;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

body[data-mode="play"] #game:active { cursor: grabbing; }
body[data-mode="menu"] #game,
body[data-mode="select"] #game { cursor: pointer; }

#loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff8e0;
  font-size: 18px;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  pointer-events: none;
}

#rotate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #12210f;
  color: #ffe9b0;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  letter-spacing: 2px;
}

@media (orientation: portrait) and (max-width: 820px) {
  #rotate { display: flex; }
}
