/* ==============================
   13. 紹介・ポイント履歴モーダル
============================== */

.point-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 5, 18, 0.72);
  backdrop-filter: blur(7px);
  z-index: 2147483646;
}

.point-modal-inner {
  position: relative;
  width: min(92vw, 420px);
  max-height: 82vh;
  overflow-y: auto;
  padding: 28px 22px 30px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  background:
    radial-gradient(circle at top, rgba(112, 82, 170, 0.35), transparent 38%),
    linear-gradient(180deg, rgba(25, 18, 45, 0.98), rgba(10, 8, 22, 0.98));
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.point-modal-inner h3 {
  margin: 0 0 18px;
  font-size: 21px;
  color: #f3d98b;
  letter-spacing: 0.08em;
}

.point-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

.point-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

#referralCodeText {
  display: inline-block;
  margin: 10px 0 16px;
  padding: 9px 16px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6d878;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#referralCodeText:hover {
  transform: scale(1.03);
}

.referral-copy-guide {
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
}

.referral-copy-guide::before {
  content: "📋 ";
}

.line-share-referral-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.line-share-referral-btn:hover {
  opacity: 0.88;
}

#pointLogList {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  text-align: left;
}

#pointLogList li {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.7;
}

#pointLogList li:last-child {
  border-bottom: none;
}
/* ==============================
   14. 今日の運勢タロット
============================== */

.summary-row-bottom {
  min-height: 200px;

  position: relative;
  overflow: hidden;

  border-radius: 12px;
  padding: 4px 20px;

  background-image: url("https://tm-meguri.com/wp-content/uploads/2026/06/%E3%82%BF%E3%83%AD%E3%83%83%E3%83%88%E5%8D%A0%E3%81%84%E7%94%A8.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 50px;
}

.today-tarot-open-btn {
  margin-top: 90px;
  padding: 10px 18px;

  border: 2px solid rgba(212, 175, 55, 0.75);
  border-radius: 9px;

  background: linear-gradient(
    135deg,
    #4b3475,
    #1d1533
  );

  color: #fff;

  font-size: 14px;
  letter-spacing: 0.04em;

  cursor: pointer;

  animation:
    tarotGlow 3s ease-in-out infinite;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}
.today-tarot-open-btn:hover {
  transform:
    translateY(-3px)
    scale(1.03);

  box-shadow:
    0 0 18px rgba(212,175,55,.45),
    0 0 36px rgba(212,175,55,.25);
}


.today-tarot-open-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.today-tarot-modal {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 4, 16, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2147483646 !important;
}

.today-tarot-modal.open {
  display: flex;
}

.today-tarot-modal-inner {
  position: relative;
  width: min(94vw, 520px);
  max-height: 86vh;
  overflow-y: auto;
  padding: 28px 22px 30px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  background:
    radial-gradient(circle at top, rgba(112, 82, 170, 0.35), transparent 38%),
    linear-gradient(180deg, rgba(25, 18, 45, 0.98), rgba(10, 8, 22, 0.98));
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
  z-index: 2147483646 !important;
}

.today-tarot-modal-inner h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #f3d98b;
}

.today-tarot-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#todayTarotMessage {
  margin: 12px 0;
  color: #f3d98b;
  font-size: 14px;
}

/* ==========================================
   鑑定一覧モーダル
========================================== */

.fortune-list-modal {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(6, 4, 16, .72);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 2147483646;
}


/* ==========================================
   モーダル本体
========================================== */

.fortune-list-modal-inner {
  position: relative;

  width: min(92vw, 620px);
  max-height: 82vh;

  overflow-y: auto;

  padding: 32px 26px 28px;

  box-sizing: border-box;

  border:
    1px solid rgba(212,175,55,.48);

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(126,88,190,.28),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(25,17,48,.98),
      rgba(9,7,21,.98)
    );

  color: #fff;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 25px 70px rgba(0,0,0,.55);

  text-align: left;
}


/* ==========================================
   タイトル
========================================== */

.fortune-list-modal-inner .section-label {
  margin-bottom: 7px;

  text-align: center;
}

.fortune-list-modal-inner h3 {
  margin: 0 0 26px;

  color: #f7d774;

  font-size: 22px;
  font-weight: 600;

  letter-spacing: .08em;

  text-align: center;
}


/* ==========================================
   閉じるボタン
========================================== */

.fortune-list-modal-close {
  position: absolute;

  top: 12px;
  right: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  margin: 0;
  padding: 0;

  border:
    1px solid rgba(212,175,55,.45);

  border-radius: 50%;

  background:
    rgba(255,255,255,.06);

  color: #fff;

  font-size: 20px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease;
}

.fortune-list-modal-close:hover {
  background:
    rgba(247,215,116,.10);

  border-color:
    rgba(247,215,116,.70);
}


/* ==========================================
   お気に入り一覧
========================================== */

#favoriteFortuneList {
  display: flex;
  flex-direction: column;

  gap: 12px;
}


/* ==========================================
   お気に入り解除 ★
========================================== */

.favorite-remove-btn {
  position: absolute;

  top: 14px;
  right: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;

  border: none;

  background: transparent;

  color: #f7d774;

  font-size: 21px;

  cursor: pointer;

  text-shadow:
    0 0 8px rgba(247,215,116,.35);

  transition:
    transform .2s ease,
    text-shadow .2s ease;
}

.favorite-remove-btn:hover {
  transform: scale(1.12);

  text-shadow:
    0 0 12px rgba(247,215,116,.65);
}


