:root {
  --bg: #171324;
  --cream: #f6e7c8;
  --amber: #f5b85a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--cream);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  user-select: none;
}

#root {
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  touch-action: none;
  overscroll-behavior: none;
}

#game {
  position: absolute;
  left: 0;
  top: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  background: #2b233b;
  touch-action: none;
}

#pulse {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  display: none;
  touch-action: none;
}

body.wide #pulse {
  display: block;
}

#strip {
  display: none;
  flex: 0 0 64px;
  height: 64px;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 12px 12px;
  background: var(--bg);
  touch-action: none;
}

body.compact #strip {
  display: flex;
}

#pulse-strip {
  width: 96px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  touch-action: none;
}

#pulse-cv {
  width: 96px;
  height: 44px;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
