* {
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --page: #141218;
  --surface: #211e25;
  --surface-strong: #2a2630;
  --surface-soft: #302b36;
  --text: #f5f1f7;
  --muted: #bdb5c2;
  --border: #403947;
  --shadow: rgb(0 0 0 / 35%);
}

:root.theme-light {
  color-scheme: light;
  --page: #fff;
  --surface: rgb(255 255 255 / 88%);
  --surface-strong: #fff;
  --surface-soft: #f4f4f4;
  --text: #222;
  --muted: #666;
  --border: #e1e1e1;
  --shadow: rgb(0 0 0 / 8%);
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  min-height: 100vh;
  color: var(--text);
  background: var(--page);
  transition: color 180ms ease, background-color 180ms ease;
}

.effects-hidden body {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

.is-awaiting-double-tap,
.is-awaiting-double-tap * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.effects-hidden .effects-layer,
.effects-hidden .move-indicator,
.effects-hidden .dust,
.effects-hidden .falling-star {
  display: none !important;
}
