/* ぐるっとシューター — Meta Ray-Ban Display (600x600, additive display) */

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

html, body {
  width: 600px;
  height: 600px;
  overflow: hidden;
  background: #000000; /* 加算式ディスプレイでは透明 — 現実がすけて見える */
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #ffffff;
  user-select: none;
}

#game {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
}

/* ===== スクリーン共通 ===== */

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen.hidden { display: none; }

.panel {
  width: 520px;
  max-height: 584px;
  background: #0f1116;
  border: 2px solid #2a2e38;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.panel-overlay { background: rgba(15, 17, 22, 0.96); }

.title-emoji { font-size: 44px; line-height: 1; }

.app-title {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.app-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #e4e6eb;
}

.gyro-status {
  font-size: 14px;
  color: #b0b3b8;
}

.panel-title {
  font-size: 28px;
  font-weight: 700;
}

.howto-list {
  list-style: none;
  text-align: left;
  font-size: 16px;
  line-height: 1.55;
  color: #e4e6eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== ボタン（アイドル/フォーカス/プレス） ===== */

.btn {
  width: 100%;
  height: 72px;
  border: 2px solid #3a3f4b;
  border-radius: 20px;
  background: #1c1e21;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.8;
  transition:
    transform 475ms cubic-bezier(0.6, 0, 0.4, 1),
    opacity 300ms cubic-bezier(0.4, 0.04, 0.5, 1),
    border-color 300ms cubic-bezier(0.4, 0.04, 0.5, 1),
    box-shadow 300ms cubic-bezier(0.4, 0.04, 0.5, 1);
}

.btn:focus {
  outline: none;
  opacity: 1;
  transform: scale(0.94);
  border-color: #4dd8ff;
  box-shadow: 0 0 22px rgba(77, 216, 255, 0.45);
}

.btn:active { transform: scale(0.9); }

/* ===== リザルト ===== */

.result-rank {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #ffd23f;
  text-shadow: 0 0 24px rgba(255, 210, 63, 0.5);
}

.result-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  color: #e4e6eb;
  background: #1c1e21;
  border-radius: 12px;
  padding: 8px 16px;
}

.result-row strong { color: #ffffff; }
