/* base.css の冒頭に追加推奨 */
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  font-family: "BIZ UDPGothic", sans-serif;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
html {
  box-sizing: border-box;
}

:root {
  --ds-color-primary: #007bff;
  --ds-color-primary-hover: #1560b0;
  --ds-color-primary-soft: #e6f0ff;
  --ds-color-bg: #f6f6f6;
  --ds-color-surface: #ffffff;
  --ds-color-surface-muted: #eeeeee;
  --ds-color-border: #d8d8d8;
  --ds-color-text: #222222;
  --ds-color-text-sub: #666666;
  --ds-shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
  --ds-shadow-float: 0 10px 40px rgba(0, 0, 0, 0.25);
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-pill: 999px;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --ds-space-6: 24px;
  --ds-font-xs: 12px;
  --ds-font-sm: 13px;
  --ds-font-md: 14px;
  --ds-font-lg: 16px;
  --ds-font-xl: 18px;
  --ds-line-compact: 1.35;
  --ds-line-normal: 1.5;
}

/* 全体基本設定 */
body {
  margin: 0;
  padding: 0;
  background-color: var(--ds-color-bg);
  color: var(--ds-color-text);
  font-size: var(--ds-font-md);
  line-height: var(--ds-line-normal);
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 共通：ドット */
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red { background-color: #dd5b5b; }
.yellow { background-color: #e0e058; }
.green { background-color: #5bdd5b; }

/* ステータスバー */
.status-bar {
  width: 100%;
  height: 0.5%;
  transition: background-color 0.3s;
}
.red-bg { background-color: #f9dcdc; }
.yellow-bg { background-color: #fff6cc; }
.green-bg { background-color: #ddf3dd; }
.blue-bg { background-color: #ddddff; }

/* メインテキスト表示 */
.content {
  padding: var(--ds-space-5);
  text-align: center;
  flex: 1;
}

/* 汎用ユーティリティ */
.hidden {
  display: none !important;
}

/* アニメーション：ぷるぷる */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}
.shake { animation: shake 0.3s; }

/* アニメーション：クリック縮小 */
.clicked {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* 透明ボタン専用クラス（今後の再発防止用） */
.transparent-button {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  border: none;
}
