@import url('./palette.css');

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  user-select: none;
}

body {
  background: var(--cy-bg-shell);
  color: var(--cy-text-on-dark);
  font-family: system-ui, sans-serif;
  display: flex;
  flex-direction: column;
}

#root {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.hud {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--cy-bg-stage);
}

.stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--cy-bg-stage);
}

.hint {
  flex-shrink: 0;
  padding: 4px 10px 8px;
  font-size: 11px;
  opacity: 0.55;
  text-align: center;
}

.controls {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 6px 10px 8px;
}

.controls button {
  background: var(--cy-bg-stage);
  border: 1px solid var(--cy-accent);
  color: var(--cy-text-on-dark);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.hud button {
  background: var(--cy-accent);
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--cy-text-on-light);
  font-weight: 600;
}
