/* css/result.css */

/* ===================== */
/* 🏆 共通 Result ページCSS（軽量整理版） */
/* ===================== */

/* ページ全体のレイアウト */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  color: #111;
  text-align: center;
}

/* リザルトボックス */
#result-box {
  width: 92%;
  max-width: 700px;
  background: rgba(255,255,255,0.9);
  color: #111;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px auto;
}

/* タイトル・スコア */
#result-title {
  font-size: 1.8rem;
  margin: 4px 0;
  font-weight: 800;
}
#final-score {
  font-size: 1.3rem;
  font-weight: 800;
}
#final-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===================== */
/* SNS共有ボタン */
/* ===================== */
.sns-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}
.sns-icons button {
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  border-radius: 50%;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sns-icons button:hover {
  opacity: 0.85;
}
.sns-icons .twitter { background: #1DA1F2; }
.sns-icons .facebook { background: #1877F2; }
.sns-icons .line { background: #06C755; }

/* ===================== */
/* 🎁 報酬セクション */
/* ===================== */
#reward-section {
  text-align: center;
  margin-top: 12px;
  padding: 6px;
}
.reward-btn {
  background: linear-gradient(135deg, #ff6600, #ff3300);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 0 6px rgba(255,100,0,0.6);
  transition: opacity 0.2s, transform 0.1s;
}
.reward-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.reward-btn:disabled {
  background: gray;
  cursor: default;
  box-shadow: none;
}
.note {
  font-size: 0.75em;
  opacity: 0.8;
  margin-top: 4px;
  line-height: 1.3;
}

/* ===================== */
/* アクションボタン */
/* ===================== */
.actions-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.actions-row button {
  min-width: 100px;
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
  background: #ff9800;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.actions-row button:hover {
  background: #e68900;
  transform: scale(1.05);
}

/* ===================== */
/* 他ステージボタン */
/* ===================== */
.stage-row {
  margin-top: 10px;
}
.stage-row p {
  font-size: 0.9rem;
  opacity: 0.9;
}
.stage-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.stage-options button {
  min-width: 90px;
  padding: 6px 8px;
  font-size: 0.8rem;
  border-radius: 6px;
  background: #ff9800;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.stage-options button:hover {
  background: #e68900;
  transform: scale(1.05);
}

/* ===================== */
/* 汎用アニメーション */
/* ===================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



