/* ==========================================
   タロット 人物選択
========================================== */

.today-tarot-profile-area {
  position: relative;

  margin: 20px 0 26px;
  padding: 20px 18px;

  border: 1px solid rgba(247, 215, 116, .18);
  border-radius: 16px;

  background:
    radial-gradient(
      circle at top,
      rgba(126, 88, 190, .12),
      transparent 70%
    ),
    rgba(255, 255, 255, .025);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05);
}


/* 人物選択の見出し */
.today-tarot-profile-area
.today-tarot-menu-title {
  margin: 0 0 12px;

  color: rgba(255, 255, 255, .72);

  font-size: 12px;
  font-weight: 500;

  letter-spacing: .12em;
}


/* ==========================================
   Select
========================================== */

.today-tarot-profile-select {
  width: 100%;

  min-height: 52px;

  padding:
    0 46px
    0 18px;

  border:
    1px solid
    rgba(247, 215, 116, .42);

  border-radius: 12px;

  background-color:
    rgba(18, 12, 35, .92);

  color:
    #f8df8a;

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

  letter-spacing: .05em;

  cursor: pointer;

  box-shadow:
    inset 0 1px 0
      rgba(255,255,255,.08),

    0 8px 20px
      rgba(0,0,0,.18);

  outline: none;

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

  appearance: none;
  -webkit-appearance: none;
}


/* Hover */
.today-tarot-profile-select:hover {
  border-color:
    rgba(247,215,116,.7);

  background-color:
    rgba(27,18,48,.96);

  box-shadow:
    inset 0 1px 0
      rgba(255,255,255,.1),

    0 0 15px
      rgba(247,215,116,.1),

    0 8px 20px
      rgba(0,0,0,.2);
}


/* Focus */
.today-tarot-profile-select:focus {
  border-color:
    rgba(247,215,116,.85);

  box-shadow:
    0 0 0 2px
      rgba(247,215,116,.08),

    0 0 18px
      rgba(247,215,116,.12);
}


/* Selectの選択肢 */
.today-tarot-profile-select option {
  background:
    #171027;

  color:
    #f7e9bd;
}


/* ==========================================
   独自の▼
========================================== */

.today-tarot-profile-area::after {
  content: "⌄";

  position: absolute;

  right: 35px;
  bottom: 35px;

  color:
    #f7d774;

  font-size: 20px;

  line-height: 1;

  pointer-events: none;

  text-shadow:
    0 0 8px
      rgba(247,215,116,.35);
}
/* ==========================================
   タロット 鑑定結果
========================================== */

.mypage-tarot-result {
  position: relative;

  margin-top: 18px;
  padding-top: 8px;

  text-align: left;
}


/* ==========================================
   結果タイトル
========================================== */

.mypage-tarot-result h3 {
  margin: 0 0 26px;

  color: #f7d774;

  font-size: 21px;
  font-weight: 700;

  letter-spacing: .1em;

  text-align: center;

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


/* ==========================================
   占った人物
========================================== */

.mypage-tarot-profile {
  margin: -14px 0 24px;

  color: rgba(255,255,255,.62);

  font-size: 12px;

  letter-spacing: .06em;

  text-align: center;
}


/* ==========================================
   カード全体
========================================== */

.mypage-tarot-cards {
  display: flex;

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

  gap: 18px;

  margin: 24px 0 30px;
}


/* ==========================================
   1枚
========================================== */

.mypage-tarot-card {
  position: relative;

  width: 128px;

  text-align: center;
}


/* ==========================================
   現状 / 課題 / アドバイス
========================================== */

.mypage-tarot-position {
  display: inline-flex;

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

  min-width: 72px;

  margin: 0 auto 10px;
  padding: 5px 10px;

  border:
    1px solid
    rgba(247,215,116,.32);

  border-radius: 999px;

  background:
    rgba(247,215,116,.06);

  color: #f7d774;

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

  letter-spacing: .1em;
}


/* ==========================================
   カード画像外枠
========================================== */

.mypage-tarot-card-face {
  position: relative;

  width: 100%;

  min-height: 0;
  aspect-ratio: 2 / 3;

  padding: 0;

  overflow: visible;

  border-radius: 11px;

  background: transparent;
}


/* カードの後ろに淡い光 */
.mypage-tarot-card-face::before {
  content: "";

  position: absolute;

  inset: 8px;

  border-radius: 12px;

  background:
    rgba(247,215,116,.16);

  filter: blur(18px);

  opacity: .45;

  z-index: 0;
}


/* ==========================================
   カード画像
========================================== */

.mypage-tarot-card-img {
  position: relative;

  z-index: 1;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 11px;

  border:
    1px solid
    rgba(247,215,116,.5);

  box-shadow:
    0 0 14px
      rgba(247,215,116,.12),

    0 16px 30px
      rgba(0,0,0,.42);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.mypage-tarot-card:hover
.mypage-tarot-card-img {
  transform:
    translateY(-4px);

  box-shadow:
    0 0 20px
      rgba(247,215,116,.2),

    0 20px 38px
      rgba(0,0,0,.48);
}


/* 逆位置 */
.mypage-tarot-card-img.is-reversed {
  transform:
    rotate(180deg);
}


.mypage-tarot-card:hover
.mypage-tarot-card-img.is-reversed {
  transform:
    rotate(180deg)
    translateY(4px);
}


/* ==========================================
   カード名
========================================== */

.mypage-tarot-card-title {
  margin: 13px 0 0;

  color: #f3d98b;

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

  line-height: 1.5;

  letter-spacing: .03em;
}


/* ==========================================
   ラッキー要素
========================================== */

.mypage-tarot-lucky {
  position: relative;

  margin: 28px 0 24px;
  padding: 18px 18px;

  overflow: hidden;

  border:
    1px solid
    rgba(247,215,116,.25);

  border-radius: 16px;

  background:
    radial-gradient(
      circle at top,
      rgba(247,215,116,.09),
      transparent 60%
    ),
    rgba(255,255,255,.035);

  text-align: center;

  box-shadow:
    inset 0 1px 0
      rgba(255,255,255,.06);
}


.mypage-tarot-lucky::before {
  content: "✦  TODAY'S LUCKY  ✦";

  display: block;

  margin-bottom: 12px;

  color: rgba(247,215,116,.65);

  font-size: 9px;

  letter-spacing: .22em;
}


.mypage-tarot-lucky p {
  margin: 6px 0;

  color: rgba(255,255,255,.86);

  font-size: 13px;

  line-height: 1.7;
}


/* ==========================================
   鑑定文
========================================== */

.mypage-tarot-text {
  position: relative;

  margin-top: 28px;
  padding: 28px 22px 22px;

  border:
    1px solid
    rgba(194,164,235,.2);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(110,72,165,.06)
    );

  color:
    rgba(255,255,255,.9);

  font-size: 14px;

  line-height: 2;

  letter-spacing: .025em;

  box-shadow:
    inset 0 1px 0
      rgba(255,255,255,.06);
}


/* 鑑定文タイトル */
.mypage-tarot-text::before {
  content: "✦  カードからのメッセージ";

  display: block;

  margin-bottom: 15px;

  color: #f3d98b;

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

  letter-spacing: .1em;
}
/* ==========================================
   タロット 正位置 / 逆位置
========================================== */

.mypage-tarot-card-orientation {
  display: inline-block;

  margin-top: 6px;
  padding: 3px 8px;

  border-radius: 999px;

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

  letter-spacing: .08em;
}


/* 正位置 */
.mypage-tarot-card-orientation.is-upright {
  border: 1px solid rgba(247,215,116,.28);

  background: rgba(247,215,116,.06);

  color: rgba(247,215,116,.82);
}


/* 逆位置 */
.mypage-tarot-card-orientation.is-reversed {
  border: 1px solid rgba(194,164,235,.3);

  background: rgba(160,115,220,.08);

  color: rgba(215,190,245,.85);
}
.today-tarot-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;

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

  width: 32px;
  height: 32px;
  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;
  line-height: 1;

  cursor: pointer;
}

/* ==========================================
   会員プラン / プラン変更モーダル v3
========================================== */

.plan-change-modal {
  position: fixed;
  inset: 0;

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

  padding: 20px;

  box-sizing: border-box;

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

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

  z-index: 2147483646;
}


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

.plan-change-modal-inner {
  position: relative;

  width: min(94vw, 760px);
  max-height: 90vh;

  overflow-y: auto;

  padding: 42px 34px 34px;

  box-sizing: border-box;

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

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 50% -8%,
      rgba(126, 88, 190, .34),
      transparent 38%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(212, 175, 55, .07),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(25, 17, 48, .99),
      rgba(8, 6, 20, .99)
    );

  color: #fff;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 0 40px rgba(118,79,190,.18),
    0 30px 80px rgba(0,0,0,.62);

  text-align: center;
}


