/* style.css — letterbox-scaled canvas for Anna's Château */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  background: #050409;
  overflow: hidden;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Georgia", serif;
  color: #e8e0e6;
  user-select: none;
  -webkit-user-select: none;
}

#stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game {
  /* native 960x540, scaled up via JS-friendly CSS preserving aspect */
  width: min(100vw, 177.78vh);   /* 16:9 */
  height: min(56.25vw, 100vh);
  image-rendering: auto;          /* smooth scaling for crisp photographic art + text */
  background: #0b0a10;
  box-shadow: 0 0 60px rgba(120, 0, 30, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  cursor: pointer;
}

#hint {
  position: fixed;
  bottom: 18px;
  left: 0; right: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(220, 180, 190, 0.55);
  pointer-events: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 0.85; } }

/* hidden once the game starts (M6 toggles body.playing) */
body.playing #hint { display: none; }
