/* ==========================================================================
   base.css：基本設定、共通変数、画面切り替え、共通演出
   ========================================================================== */
:root {
  --uno-赤: #ea2b2b;
  --uno-青: #0063b3;
  --uno-緑: #379737;
  --uno-黄: #ffaa00;
  --uno-黒: #111111;
}

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

body {
  background: radial-gradient(circle, #2d5a27 0%, #132711 100%);
  font-family: "Arial Black", Impact, -apple-system, sans-serif;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* 画面切り替え（SPA制御） */
.screen {
  display: none;
  width: 100%;
  height: 100%;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

/* UNO宣言時のカットイン演出（共通レイヤー） */
.cutin-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.cutin-text {
  font-size: 72px;
  font-weight: 900;
  font-style: italic;
  color: #ffcc00;
  text-shadow: 0 0 20px #ff0000, 4px 4px 0 #fff;
  animation: ポップ演出 1.2s forwards;
}

@keyframes ポップ演出 {
  0% { transform: scale(0.2); opacity: 0; }
  50% { transform: scale(1.3); opacity: 1; }
  80% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}