﻿:root {
  --bg: #f7efe2;
  --accent: #e46b3d;
  --accent-dark: #b64f2a;
  --ink: #33271d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #fff6e5 0%, #f7efe2 45%, #f1e4cf 100%);
  color: var(--ink);
  font-family: "Yusei Magic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#game-root {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  place-items: center;
}

canvas {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(75, 46, 18, 0.2);
}

#rotate-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(248, 237, 219, 0.96);
  z-index: 9999;
}

#rotate-overlay[hidden] {
  display: none;
}

.rotate-card {
  border: 2px solid #d7bc8b;
  background: #fdf7ec;
  padding: 20px 24px;
  border-radius: 14px;
  text-align: center;
  max-width: 90vw;
}

.rotate-card h1 {
  margin: 0 0 10px;
  font-size: clamp(18px, 5vw, 24px);
  white-space: nowrap;
  color: #33271d;
  font-family: "Yusei Magic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

.rotate-card p {
  margin: 0;
  font-size: 16px;
  color: #5a4636;
  font-family: "Yusei Magic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}
