/* Pillow Plot is drawn on one canvas (see js/engine.js). This file only places that canvas and
   styles the one normal input box used for typing a name or a party code. */
@font-face {
  font-family: 'DotGothic16';
  src: url('/fonts/dotgothic16-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF;
  font-display: swap;
}
html,
body {
  margin: 0;
  height: 100%;
  background: #120e26;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
#stage {
  position: fixed;
  transform-origin: 50% 50%;
}
#game {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
#ask {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  background: rgba(16, 10, 36, 0.8);
  font-family: 'DotGothic16', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
}
#ask[hidden] {
  display: none;
}
.ask-box {
  width: min(340px, 86vw);
  padding: 16px;
  background: #2f2456;
  border: 4px solid #cfc4ff;
  outline: 4px solid #2a1d3f;
  box-shadow: 0 8px 0 #120e26;
}
.ask-box label {
  display: block;
  margin-bottom: 10px;
  color: #ff8fb1;
  font-size: 18px;
}
.ask-box input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  font: inherit;
  font-size: 22px;
  color: #2b2140;
  background: #fff8ef;
  border: 4px solid #2a1d3f;
  border-radius: 0;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
}
.ask-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.ask-row button {
  flex: 1;
  padding: 10px;
  font: inherit;
  font-size: 18px;
  color: #4a1f38;
  background: #ff8fb1;
  border: 4px solid #2a1d3f;
  border-radius: 0;
  box-shadow: inset 0 -4px 0 #d65c87;
}
.ask-row .cancel {
  background: #cfc4ff;
  color: #2b2140;
  box-shadow: inset 0 -4px 0 #9d8ad6;
}
