/* ============================
   prediction.css（スリム化版）
   ページ固有の UI のみ保持
============================ */

/* ----------------------------
   Ten（テン）案内（prediction専用）
---------------------------- */
.ten-box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 25px 0 35px 0;
}

.ten-img {
  width: 110px;
  height: auto;
}

.ten-balloon {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  backdrop-filter: blur(6px);
  max-width: 70%;
  position: relative;
  margin-left: 12px;
}


/* ----------------------------
   レギュレーション投票（plan-）
---------------------------- */
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 12px;
}

.plan-card {
  position: relative;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: 0.15s ease;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.plan-card input[type="radio"] {
  display: none;
}

.plan-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}

.plan-card input[type="radio"]:checked + .plan-check {
  border-color: #ffd700;
}

.plan-card input[type="radio"]:checked + .plan-check::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ffd700;
}

.plan-text-main {
  font-size: 15px;
  font-weight: 600;
}

.plan-text-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

/* ----------------------------
   レギュレーション説明（reg-）
---------------------------- */
.reg-section {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px 20px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.reg-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.reg-text {
  flex: 1 1 320px;
}

.reg-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.reg-lead {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 15px;
}

.reg-points {
  margin: 0 0 14px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.6;
}

.reg-question {
  margin: 18px 0 12px;
  font-weight: 600;
  line-height: 1.7;
}

.reg-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.reg-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.12s ease;
  white-space: nowrap;
}

.reg-btn-yes {
  background: linear-gradient(135deg, #1e90ff, #00c6ff);
  color: #fff;
}

.reg-btn-no {
  background: rgba(255,255,255,0.08);
  color: #f5f5f5;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ----------------------------
   国カード（country-）
---------------------------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s;
  backdrop-filter: blur(6px);
  height: 56px;
}

.country-card:hover {
  background: rgba(255,215,0,0.20);
}

.country-card.selected {
  border-color: rgba(255,215,0,0.9);
  background: rgba(255,215,0,0.25);
}

.country-flag {
  width: 24px;
  height: 24px;
}

.country-name {
  font-size: 15px;
  color: #fff;
}

/* ----------------------------
   得点王カード（scorer-）
---------------------------- */
.scorer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.scorer-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s;
  backdrop-filter: blur(6px);
}

.scorer-card:hover {
  background: rgba(255,215,0,0.20);
}

.scorer-card.selected {
  border-color: rgba(255,215,0,0.9);
  background: rgba(255,215,0,0.25);
}

/* ----------------------------
   モーダル（prediction専用）
---------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 28px 24px;
  border-radius: 18px;
  width: 85%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.modal-ten {
  width: 120px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-btn {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(135deg, #0a4b8f, #0f6acb);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.2s;
}

/* ----------------------------
   match-prediction（match-）
---------------------------- */
.match-ten-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto 40px;
  max-width: 680px;
}

.match-entry-container {
  max-width: 600px;
  margin: 0 auto 40px;
}

.match-entry-container label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #fff;
}

.match-entry-container .entry-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(6px);
  margin-bottom: 14px;
}

/* ----------------------------
   大陸タブ（continent-）
---------------------------- */
.continent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 25px;
  justify-content: center;
}

.continent-tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13.5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.25s;
  width: 160px;
  text-align: center;
}

.continent-tab.active {
  background: linear-gradient(135deg, #f5d67b, #d4a73b);
  border-color: rgba(255,215,0,0.8);
  color: #000;
  font-weight: 700;
}

/* ============================
   knockout（ko- prefix）
============================ */

.ko-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.ko-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.ko-teams {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ko-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.ko-buttons {
  display: flex;
  gap: 10px;
}

.ko-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.ko-btn:hover {
  background: rgba(255,255,255,0.2);
}

.ko-btn.selected {
  background: #1e90ff;
  border-color: #1e90ff;
  font-weight: 700;
}

/* ============================
   champion-topscorer 専用追加
============================ */

/* メール入力のガラス枠 */
.glass-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

/* メールラベル */
.email-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 6px;
  display: block;
}

/* メール入力欄 */
.email-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  outline: none;
}

/* ============================
   軽量テン（画像あり）
============================ */

.ten-light-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 28px;
}

.ten-light-img {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.ten-light-balloon {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  backdrop-filter: blur(6px);
  color: #fff;
  flex: 1;
}

/* ============================
   メール入力（ガラスUI）
============================ */

.glass-email-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
  max-width: 420px;
  margin: 0 auto 30px;
}

.gp-email-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.gp-email-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  outline: none;
}

/* champion-topscorer 専用送信ボタン */
.ct-submit-btn {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(135deg, #0a4b8f, #0f6acb);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px; 
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.2s;
  margin-top: 20px;
}

.ct-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
