:root {
  --ivory: #fbf8f4;
  --lavender-pale: #ede7fa;
  --lavender: #b9a6e8;
  --lavender-deep: #7c68b8;
  --pink: #f7d3e3;
  --blue: #c9e1f0;
  --gold: #d8b570;
  --champagne-gold: #e9cd8a;
  --gold-soft: #ecdcb8;
  --ink: #3d3852;
  --ink-soft: #6f6789;
  --card-bg: rgba(255, 255, 255, 0.66);
  --card-border: rgba(255, 255, 255, 0.85);
  --error: #c96b8a;

  --font-brand: "Cormorant Garamond", serif;
  --font-heading: "Shippori Mincho", serif;
  --font-body: "Zen Maru Gothic", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(circle at 12% 6%, rgba(216, 181, 112, 0.16), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(185, 166, 232, 0.30), transparent 46%),
    radial-gradient(circle at 50% 105%, rgba(247, 211, 227, 0.35), transparent 55%),
    linear-gradient(180deg, #fdfbf8 0%, #f6f1fb 55%, #f2ecfb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 22%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.4px 1.4px at 72% 14%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 42% 62%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.6px 1.6px at 88% 55%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 58% 38%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.4px 1.4px at 8% 78%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 30% 90%, rgba(255, 255, 255, 0.7), transparent);
}

body::after {
  content: "";
  position: fixed;
  top: -70px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(216, 181, 112, 0.30) 45%, transparent 72%);
  filter: blur(1px);
}

main, header, footer {
  position: relative;
  z-index: 1;
}

body {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  text-align: center;
  padding: 40px 0 8px;
}

.brand {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--lavender-deep);
  margin: 0 0 6px;
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}

/* ---------- 今日のカード ---------- */

.today-card {
  margin-top: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px 22px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(124, 104, 184, 0.10);
}

.today-card__label {
  font-size: 13px;
  color: var(--lavender-deep);
  margin: 0 0 4px;
}

.today-card__date {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}

.today-card__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 104, 184, 0.25), transparent);
  margin: 14px 0;
}

.today-card__theme {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 8px;
}

.today-card__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- お休み画面 ---------- */

.rest-day {
  margin-top: 24px;
}

.rest-day__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 44px 26px 38px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 32px rgba(124, 104, 184, 0.10);
}

.rest-day__deco {
  position: absolute;
  display: block;
  pointer-events: none;
}

.rest-day__deco svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.rest-day__deco--moon {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  color: var(--lavender-deep);
  opacity: 0.55;
}

.rest-day__deco--star-a {
  top: 30px;
  right: 34px;
  width: 16px;
  height: 16px;
  color: var(--gold);
  opacity: 0.6;
}

.rest-day__deco--star-b {
  bottom: 26px;
  left: 30px;
  width: 12px;
  height: 12px;
  color: var(--pink);
  opacity: 0.7;
}

.rest-day__heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin: 46px 0 18px;
}

.rest-day__text {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- MEMBER ROOM ---------- */

.member-card {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 36px rgba(124, 104, 184, 0.12);
}

.member-loading {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}

/* ---------- MEMBER ROOM 全体レイアウト(カードを乱用しない上部セクション) ---------- */

/* ---------- MEMBER ROOM専用:水彩の背景装飾(このページのみ) ---------- */

.member-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(closest-side, rgba(185, 166, 232, 0.20), transparent),
    radial-gradient(closest-side, rgba(247, 211, 227, 0.18), transparent),
    radial-gradient(closest-side, rgba(201, 225, 240, 0.20), transparent);
  background-position: 10% 12%, 88% 30%, 25% 82%;
  background-size: 60% 30%, 55% 26%, 60% 30%;
  background-repeat: no-repeat;
  filter: blur(6px);
}

.member-content {
  position: relative;
  z-index: 1;
}

.member-content {
  margin-top: 24px;
}

/* ---------- 1〜3:小さなオラクルカード ---------- */

.oracle-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 24px 26px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 10%, rgba(185, 166, 232, 0.16), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(247, 211, 227, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(233, 205, 138, 0.5);
  box-shadow: 0 14px 30px rgba(124, 104, 184, 0.10);
}

.oracle-card__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--champagne-gold);
  opacity: 0.8;
}

.oracle-card__corner--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.oracle-card__corner--tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.oracle-card__corner--bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.oracle-card__corner--br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.oracle-card__moon {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  color: var(--champagne-gold);
  opacity: 0.85;
}

.oracle-card__moon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.oracle-card__sparkle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.oracle-card__sparkle-row span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--champagne-gold);
  opacity: 0.8;
}

.oracle-card .member-block__rhythm { margin: 0; }
.oracle-card .member-block__keywords { margin: 0 0 14px; }
.oracle-card .member-block__message { margin: 0 auto; }

/* ---------- 4:パワフルナンバー ---------- */

.power-number-block {
  margin-bottom: 34px;
}

.power-number-block__eyebrow {
  font-family: var(--font-heading);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--lavender-deep);
  margin: 0 0 6px;
}

.power-number-block__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.power-number-block__crystal {
  width: 10px;
  height: 18px;
  background: linear-gradient(180deg, rgba(233, 205, 138, 0.9), rgba(233, 205, 138, 0.25));
  clip-path: polygon(50% 0%, 100% 30%, 78% 100%, 22% 100%, 0% 30%);
  opacity: 0.8;
}

.power-number-block__star {
  width: 14px;
  height: 14px;
  color: var(--champagne-gold);
  opacity: 0.9;
  align-self: flex-start;
  margin-top: 6px;
}

.power-number-block__star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.power-number-block .member-block__power-number {
  filter: drop-shadow(0 0 16px rgba(233, 205, 138, 0.55)) drop-shadow(0 0 30px rgba(185, 166, 232, 0.3));
}

/* ---------- 5:タロット裏面(画像使用。スタイルは.tarot__face本体の定義後方=819行付近に配置) ---------- */

.tarot__art-frame {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(233, 205, 138, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
}

.tarot__button {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 55%, var(--champagne-gold) 100%);
  box-shadow: 0 10px 24px rgba(233, 205, 138, 0.3), 0 0 18px rgba(185, 166, 232, 0.25);
}

/* ---------- 6:会員限定コンテンツのビジュアル領域 ---------- */

.member-exclusive-card__visual {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.member-exclusive-card--blue .member-exclusive-card__visual {
  background: linear-gradient(160deg, rgba(201, 225, 240, 0.7), rgba(255, 255, 255, 0.4));
}

.member-exclusive-card--lavender .member-exclusive-card__visual {
  background: linear-gradient(160deg, rgba(185, 166, 232, 0.35), rgba(255, 255, 255, 0.4));
}

.member-exclusive-card--navy .member-exclusive-card__visual {
  background: linear-gradient(160deg, rgba(124, 104, 184, 0.3), rgba(201, 225, 240, 0.3));
}

.member-exclusive-card--pink .member-exclusive-card__visual {
  background: linear-gradient(160deg, rgba(247, 211, 227, 0.6), rgba(255, 255, 255, 0.4));
}

@media (min-width: 420px) {
  .member-exclusive-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ---------- 将来のマスコット(コアラちゃん)用スペース ---------- */

.member-mascot-slot {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
}

/* ---------- 7:会員情報(控えめ) ---------- */

.member-status {
  margin-bottom: 20px;
  padding-top: 4px;
  border-top: 1px solid rgba(124, 104, 184, 0.12);
}

.member-status__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.member-status__row--wrap {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.member-status__label {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 0;
}

.member-status .member-badge {
  font-size: 12px;
  padding: 5px 16px;
}

.member-status .member-chip {
  font-size: 11px;
  padding: 4px 10px;
}

.member-content {
  margin-top: 24px;
}

.member-block {
  padding: 4px 4px 22px;
}

.member-block--center {
  text-align: center;
}

.member-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 181, 112, 0.4), transparent);
  margin: 0 0 26px;
}

.member-divider--thin {
  margin: 18px 0;
  opacity: 0.7;
}

.member-block__rhythm {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
}

.member-block__rhythm span {
  color: var(--ink);
  font-weight: 600;
}

.member-block__keywords {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--lavender-deep);
  margin: 0 0 18px;
}

.member-block__message {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 auto;
}

.member-block__power-number {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 58px;
  line-height: 1;
  margin: 6px 0 10px;
  background: linear-gradient(180deg, #f4e2ae 0%, var(--gold) 60%, #c79a4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(216, 181, 112, 0.4));
}

.member-block__power-message {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.member-block__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-block__row--wrap {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ---------- 会員限定コンテンツ(ここだけカードUI) ---------- */

.member-exclusive-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-exclusive-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  min-height: 58px;
  background: linear-gradient(160deg, #ffffff 0%, var(--ivory) 100%);
  border: 1px solid rgba(216, 181, 112, 0.4);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(124, 104, 184, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.member-exclusive-card__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.member-exclusive-card__title {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.member-exclusive-card__arrow {
  font-family: var(--font-brand);
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.member-exclusive-card:active {
  transform: translateY(1px) scale(0.99);
  border-color: rgba(216, 181, 112, 0.7);
  box-shadow: 0 4px 12px rgba(124, 104, 184, 0.10);
}

/* ---------- フッター(メール・ログアウト) ---------- */

.member-footer {
  text-align: center;
  padding-top: 6px;
}

.member-footer__email {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.member-card__deco {
  position: absolute;
  display: block;
  pointer-events: none;
}

.member-card__deco svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.member-card__deco--moon {
  top: -18px;
  right: -14px;
  width: 72px;
  height: 72px;
  color: var(--gold);
  opacity: 0.18;
}

.member-card__deco--star {
  bottom: 14px;
  left: -6px;
  width: 26px;
  height: 26px;
  color: var(--lavender-deep);
  opacity: 0.25;
}

.member-card__row {
  position: relative;
  z-index: 1;
}

.member-card__label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lavender-deep);
  margin: 0 0 10px;
}

.member-card__value {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}

.member-card__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 181, 112, 0.35), transparent);
  margin: 30px 0;
}

.member-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 999px;
  margin: 0;
  color: var(--ink-soft);
  background: var(--lavender-pale);
}

.member-badge--active {
  color: #6b4c17;
  background: linear-gradient(135deg, #f4e2ae 0%, var(--gold) 100%);
  box-shadow: 0 6px 16px rgba(216, 181, 112, 0.35);
}

.member-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-chip {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--lavender-deep);
  background: var(--lavender-pale);
  border: 1px solid rgba(216, 181, 112, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
}

.member-chip-list:empty::after {
  content: "購入履歴はありません";
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
}

.member-logout-link {
  display: block;
  margin: 28px auto 0;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- 今日のタロットカード ---------- */

.tarot {
  text-align: center;
}

.tarot__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 22px;
}

.tarot__stage {
  perspective: 900px;
  margin: 0 auto 22px;
  width: 168px;
  height: 264px;
}

.tarot__card {
  position: relative;
  width: 100%;
  height: 100%;
}

.tarot__face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(216, 181, 112, 0.55);
  box-shadow: 0 14px 30px rgba(124, 104, 184, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: linear-gradient(160deg, #fdfbf8 0%, var(--lavender-pale) 100%);
}

.tarot__face[hidden] {
  display: none;
}

.tarot__face--back {
  padding: 0;
  overflow: hidden;
  background: none;
}

.tarot__back-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.tarot__face--front {
  justify-content: flex-start;
  padding-top: 22px;
}

.tarot__name-en {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--lavender-deep);
  margin: 0 0 4px;
}

.tarot__name-ja {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.tarot__art {
  width: 64px;
  height: 64px;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(216, 181, 112, 0.4));
}

.tarot__art svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes tarot-shuffle {
  0%   { transform: translateX(0) rotate(0deg); }
  20%  { transform: translateX(-10px) rotate(-4deg); }
  40%  { transform: translateX(9px) rotate(3deg); }
  60%  { transform: translateX(-7px) rotate(-3deg); }
  80%  { transform: translateX(5px) rotate(2deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.tarot__card--shuffling .tarot__face {
  animation: tarot-shuffle 0.6s ease-in-out;
}

@keyframes tarot-reveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.tarot__face--front:not([hidden]) {
  animation: tarot-reveal 0.5s ease both;
}

.tarot__message {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 auto 22px;
}

.tarot__button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  min-height: 50px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 166, 232, 0.32);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.tarot__button:active {
  transform: translateY(1px) scale(0.99);
}

.tarot__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .tarot__card--shuffling .tarot__face,
  .tarot__face--front:not([hidden]) {
    animation: none;
  }
}

/* ---------- 診断フォーム ---------- */

.calc {
  margin-top: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(124, 104, 184, 0.10);
}

.calc__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 20px;
  text-align: center;
}

.calc__form {
  display: flex;
  flex-direction: column;
}

.calc__label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.calc__input {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(124, 104, 184, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  min-height: 52px;
}

.calc__input:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(185, 166, 232, 0.25);
}

.calc__submit {
  margin-top: 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  min-height: 52px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(185, 166, 232, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc__submit:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 6px 16px rgba(185, 166, 232, 0.3);
}

.calc__error {
  color: var(--error);
  font-size: 13px;
  margin: 14px 0 0;
}

/* ---------- 結果画面 ---------- */

.result {
  margin-top: 24px;
  text-align: center;
  padding: 26px 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 36px rgba(124, 104, 184, 0.14);
}

.result__label {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 4px;
}

.result__number-frame {
  width: 132px;
  height: 132px;
  margin: 0 auto -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 112, 0.35) 0%, rgba(216, 181, 112, 0.10) 55%, transparent 75%);
}

.result__number {
  position: relative;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 104px;
  line-height: 1;
  margin: 0 0 2px;
  background: linear-gradient(180deg, #f4e2ae 0%, var(--gold) 60%, #c79a4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(216, 181, 112, 0.45)) drop-shadow(0 0 34px rgba(185, 166, 232, 0.3));
}

.today-message {
  margin-top: 14px;
  background: rgba(237, 231, 250, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 20px 20px;
  text-align: left;
}

.today-message__label {
  font-size: 12px;
  color: var(--lavender-deep);
  margin: 0 0 10px;
}

.today-message__text {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

/* ---------- シェア ---------- */

.share {
  margin-top: 24px;
}

.share__heading {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  text-align: left;
}

.share__buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.share__button {
  font-family: var(--font-body);
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.share__button--line {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  padding: 15px 10px;
  min-height: 52px;
  background: linear-gradient(135deg, #8fe0ab 0%, #5fc98a 100%);
  box-shadow: 0 10px 22px rgba(95, 201, 138, 0.32);
}

.share__button--instagram,
.share__button--threads,
.share__button--x {
  flex: 1;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 11px 6px;
  min-height: 44px;
  background: #ffffff;
  border: 1px solid rgba(124, 104, 184, 0.22);
  box-shadow: none;
}

.share__button:active {
  transform: translateY(1px) scale(0.99);
}

.share__fallback {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: rgba(237, 231, 250, 0.5);
  border-radius: 12px;
  padding: 10px 12px;
}

/* ---------- フォロー導線 ---------- */

.follow {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(124, 104, 184, 0.18);
}

.follow__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 12px;
  text-align: left;
}

.follow__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.follow__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  min-height: 64px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 20px rgba(124, 104, 184, 0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.follow__card--instagram {
  background: linear-gradient(135deg, rgba(247, 211, 227, 0.45) 0%, rgba(185, 166, 232, 0.28) 100%);
}

.follow__card--threads {
  background: linear-gradient(135deg, rgba(251, 248, 244, 0.9) 0%, rgba(185, 166, 232, 0.22) 100%);
}

.follow__card:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(124, 104, 184, 0.16);
}

@media (hover: hover) {
  .follow__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 104, 184, 0.18);
  }
}

.follow__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--lavender-deep);
  box-shadow: 0 4px 10px rgba(124, 104, 184, 0.15);
}

.follow__card--instagram .follow__icon { color: #c1608f; }
.follow__card--threads .follow__icon { color: #4c4560; }

.follow__icon svg {
  width: 21px;
  height: 21px;
}

.follow__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.follow__service {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.follow__handle {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* お休み画面内のフォロー導線は、より静かなトーンに */
.follow--quiet {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(124, 104, 184, 0.12);
}

.follow--quiet .follow__heading {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.follow--quiet .follow__card {
  box-shadow: none;
  opacity: 0.92;
}

.result__retry {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px solid rgba(124, 104, 184, 0.25);
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 46px;
  cursor: pointer;
}

/* ---------- 戻るリンク ---------- */

.back-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 4px 0 14px;
  margin: 0;
  cursor: pointer;
}

/* ---------- 保存済みナンバー(再訪問時) ---------- */

.returning {
  margin-top: 24px;
  text-align: center;
  padding: 30px 22px 26px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 36px rgba(124, 104, 184, 0.14);
}

.returning__label {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.returning__badge {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(237, 231, 250, 0.65) 70%, rgba(237, 231, 250, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 30px rgba(124, 104, 184, 0.20);
}

.returning__deco {
  position: absolute;
  display: block;
  pointer-events: none;
}

.returning__deco svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.returning__deco--leaf {
  top: -6px;
  left: -10px;
  width: 30px;
  height: 30px;
  color: #7fbf93;
  opacity: 0.8;
  transform: rotate(-20deg);
}

.returning__deco--star {
  bottom: -2px;
  right: -8px;
  width: 24px;
  height: 24px;
  color: var(--gold);
  opacity: 0.9;
}

.returning__number {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  margin: 0;
  background: linear-gradient(180deg, #f4e2ae 0%, var(--gold) 60%, #c79a4c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(216, 181, 112, 0.4));
}

.returning__cta {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  min-height: 52px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(185, 166, 232, 0.35);
}

.returning__manage-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 入口選択 ---------- */

.entry-choice {
  margin-top: 24px;
}

.entry-choice__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin: 0 0 16px;
}

.entry-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px 20px 22px;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(124, 104, 184, 0.10);
  overflow: hidden;
}

.entry-card__title {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 16px;
}

.entry-card .calc__form {
  position: relative;
  z-index: 1;
  margin: 0;
}

.entry-card .calc__label {
  margin-bottom: 8px;
}

.entry-card .calc__submit {
  margin-top: 16px;
}

.entry-card--birthdate .calc__input {
  font-size: 18px;
  padding: 16px 16px;
  min-height: 56px;
}

.entry-card__deco {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: 0.16;
  z-index: 0;
}

.entry-card__deco svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.entry-card__deco--moon {
  top: -14px;
  right: -10px;
  width: 64px;
  height: 64px;
  color: var(--lavender-deep);
}

.entry-card__deco--star {
  bottom: -8px;
  left: -6px;
  width: 34px;
  height: 34px;
  color: var(--gold);
}

/* ---------- 数字ピッカー ---------- */

.number-picker__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.number-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  min-height: 78px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.number-card::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.number-card__motif {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.number-card__motif svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.number-card__number {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}

.number-card:active {
  transform: translateY(1px) scale(0.97);
}

.number-card--selected {
  transform: scale(1.04);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 181, 112, 0.28), 0 8px 18px rgba(216, 181, 112, 0.28);
}

/* 数字ごとの配色・モチーフの色 */
.number-card--0 { background: #fbf3df; }
.number-card--0 .number-card__motif { color: #c79a4c; }
.number-card--0 .number-card__number { color: #b3853c; }

.number-card--1 { background: #fce7e1; }
.number-card--1 .number-card__motif { color: #d98b72; }
.number-card--1 .number-card__number { color: #c17558; }

.number-card--2 { background: #fbe3ee; }
.number-card--2 .number-card__motif { color: #d46fa0; }
.number-card--2 .number-card__number { color: #c15c8f; }

.number-card--3 { background: #e3f1fa; }
.number-card--3 .number-card__motif { color: #4e9cc4; }
.number-card--3 .number-card__number { color: #3f87ae; }

.number-card--4 { background: #ede7fa; }
.number-card--4 .number-card__motif { color: #8c79c7; }
.number-card--4 .number-card__number { color: #7c68b8; }

.number-card--5 { background: #f1e7fa; }
.number-card--5 .number-card__motif { color: #8b5fbf; }
.number-card--5 .number-card__number { color: #7a4eae; }

.number-card--6 { background: #e7f5ea; }
.number-card--6 .number-card__motif { color: #4f9c63; }
.number-card--6 .number-card__number { color: #3f8952; }

.number-card--7 { background: #e7e9f5; }
.number-card--7 .number-card__motif { color: #4c5599; }
.number-card--7 .number-card__number { color: #3d4587; }

.number-card--8 { background: #fbead2; }
.number-card--8 .number-card__motif { color: #b9791e; }
.number-card--8 .number-card__number { color: #a3670f; }

.number-card--9 { background: #e7ebfa; }
.number-card--9 .number-card__motif { color: #5b5fc4; }
.number-card--9 .number-card__number { color: #4a4eb3; }

.number-picker__submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 15px 18px;
  min-height: 52px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.number-picker__submit:disabled {
  color: var(--ink-soft);
  background: #ece7f6;
  box-shadow: none;
  cursor: not-allowed;
}

.number-picker__submit:not(:disabled) {
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  box-shadow: 0 10px 24px rgba(185, 166, 232, 0.35);
  cursor: pointer;
}

.number-picker__submit:not(:disabled):active {
  transform: translateY(1px) scale(0.99);
}

/* ---------- ナンバーの変更・削除 ---------- */

.manage {
  margin-top: 24px;
  text-align: center;
  padding: 26px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(124, 104, 184, 0.10);
}

.manage__label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.manage__number {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 48px;
  color: var(--lavender-deep);
  margin: 0 0 20px;
}

.manage__reselect,
.manage__delete {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 18px;
  min-height: 48px;
  cursor: pointer;
  margin-bottom: 10px;
}

.manage__reselect {
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border: none;
  box-shadow: 0 10px 22px rgba(185, 166, 232, 0.3);
}

.manage__delete {
  font-weight: 500;
  color: var(--error);
  background: #ffffff;
  border: 1px solid rgba(201, 107, 138, 0.35);
}

/* ---------- フッター ---------- */

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .result:not([hidden]) {
    animation: reveal 0.5s ease both;
  }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   あなたのROOM(member.html)専用スタイル
   ※ 既存クラスは変更せず、新規クラスのみ追加しています
   ============================================================ */

.room-home-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

.room-home {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- カード共通 ---------- */

.room-service-card {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 32px rgba(124, 104, 184, 0.10);
  text-align: center;
}

.room-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.room-service-card--fortune::before {
  background: linear-gradient(90deg, var(--gold) 0%, var(--lavender) 100%);
}

.room-service-card--healing::before {
  background: linear-gradient(90deg, var(--pink) 0%, var(--lavender) 55%, var(--gold) 100%);
}

.room-service-card--chat::before {
  background: linear-gradient(90deg, var(--blue) 0%, var(--lavender-pale) 100%);
}

.room-service-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 18px rgba(124, 104, 184, 0.12);
}

.room-service-card--fortune .room-service-card__icon {
  background: linear-gradient(160deg, rgba(233, 205, 138, 0.4), rgba(255, 255, 255, 0.5));
}

.room-service-card--healing .room-service-card__icon {
  background: linear-gradient(160deg, rgba(247, 211, 227, 0.55), rgba(185, 166, 232, 0.3));
}

.room-service-card--chat .room-service-card__icon {
  background: linear-gradient(160deg, rgba(201, 225, 240, 0.6), rgba(255, 255, 255, 0.5));
}

.room-service-card__mini {
  font-family: var(--font-heading);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lavender-deep);
  margin: 0 0 8px;
}

.room-service-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 10px;
}

.room-service-card__catch {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--lavender-deep);
  margin: 0 0 20px;
}

.room-service-card__contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
}

.room-service-card__contents span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(216, 181, 112, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}

.room-service-card__description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.room-service-card__notice {
  font-size: 12px;
  color: var(--lavender-deep);
  margin: 0 0 18px;
}

.room-service-card__locked-text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 12px 0 18px;
}

.room-service-card__coming {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 10px 0 0;
}

/* ---------- 会員判定バッジ ---------- */

.room-membership-status {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 20px;
  border-radius: 999px;
  margin: 0 0 4px;
}

.room-membership-status--active {
  color: #6b4c17;
  background: linear-gradient(135deg, #f4e2ae 0%, var(--gold) 100%);
  box-shadow: 0 6px 16px rgba(216, 181, 112, 0.35);
}

.room-membership-status--locked {
  color: var(--ink-soft);
  background: var(--lavender-pale);
}

/* ---------- CTAボタン ---------- */

.room-service-button {
  display: block;
  width: 100%;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  min-height: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 166, 232, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.room-service-button:active {
  transform: translateY(1px) scale(0.99);
}

.room-service-button--outline {
  color: var(--lavender-deep);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(124, 104, 184, 0.3);
  box-shadow: none;
}

.room-service-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ---------- Monthly Healing: 少し幻想的な演出 ---------- */

.room-service-card--healing {
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 166, 232, 0.16), transparent 55%),
    radial-gradient(circle at 85% 88%, rgba(247, 211, 227, 0.2), transparent 55%),
    rgba(255, 255, 255, 0.62);
}

/* ---------- Marmaの考え方 ---------- */

.room-philosophy {
  text-align: center;
  padding: 34px 20px 6px;
}

.room-philosophy__mini {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 15px;
  color: var(--lavender-deep);
  margin: 0 0 10px;
}

.room-philosophy h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 22px;
}

.room-philosophy p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

@media (min-width: 420px) {
  .room-service-card__contents span {
    font-size: 12.5px;
  }
}

/* ============================================================
   Monthly Healing ROOM(healing-room.html)専用スタイル
   ※ 既存クラス・既存ルールは変更せず、新規クラスのみ追加しています
   ============================================================ */

.healing-room-header__intro {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 14px 0 4px;
}

.healing-room-date {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--lavender-deep);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- 未加入者向け紹介 ---------- */

.healing-room-locked {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  text-align: center;
  padding: 40px 26px 34px;
  background:
    radial-gradient(circle at 18% 10%, rgba(185, 166, 232, 0.16), transparent 55%),
    radial-gradient(circle at 85% 88%, rgba(247, 211, 227, 0.2), transparent 55%),
    rgba(255, 255, 255, 0.62);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 36px rgba(124, 104, 184, 0.12);
}

.healing-room-locked__badge {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--lavender-deep);
  margin: 0 0 16px;
}

.healing-room-locked__catch {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 24px;
}

.healing-room-locked__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 26px;
  padding: 0;
}

.healing-room-locked__list li {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 11px 14px;
}

.healing-room-locked .back-link {
  display: block;
  margin-top: 18px;
}

/* ---------- ROOM本体レイアウト ---------- */

.healing-room-content {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.healing-room-content > .back-link {
  align-self: center;
  margin-top: 2px;
}

/* ---------- 今日の3つの内容 ---------- */

.healing-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.healing-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 28px 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 10%, rgba(216, 181, 112, 0.14), transparent 55%),
    radial-gradient(circle at 88% 90%, rgba(185, 166, 232, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.66);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 26px rgba(124, 104, 184, 0.10);
}

.healing-card__icon {
  font-size: 26px;
  line-height: 1;
  margin: 0 0 12px;
}

.healing-card__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--lavender-deep);
  margin: 0 0 10px;
}

.healing-card__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

.healing-card--enmusubi { border-color: rgba(247, 211, 227, 0.75); }
.healing-card--healing { border-color: rgba(185, 166, 232, 0.55); }

/* ---------- 受け取りボタン ---------- */

.healing-cta {
  text-align: center;
  margin-top: 2px;
}

.healing-cta__button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 55%, var(--champagne-gold) 100%);
  border: none;
  border-radius: 999px;
  padding: 18px 30px;
  min-height: 54px;
  width: 100%;
  max-width: 320px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(185, 166, 232, 0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.healing-cta__button:active {
  transform: translateY(1px) scale(0.99);
}

.healing-cta__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.healing-cta__done {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 16px 0 0;
}

/* ---------- 受け取り結果 ---------- */

.healing-result {
  text-align: center;
  padding: 28px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 26px rgba(124, 104, 184, 0.10);
}

.healing-result__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  margin: 0 0 16px;
}

.healing-result__label {
  font-size: 12.5px;
  color: var(--lavender-deep);
  margin: 0 0 8px;
}

.healing-result__message {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .healing-result:not([hidden]) {
    animation: reveal 0.5s ease both;
  }
}

/* ---------- 今月のHealing(受け取り記録) ---------- */

.healing-monthly {
  text-align: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.healing-monthly__title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  color: var(--lavender-deep);
  margin: 0 0 8px;
}

.healing-monthly__count {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

.healing-monthly__streak {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

/* ---------- 受け取り演出(月・光・星のオーバーレイ) ---------- */

.healing-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92), rgba(237, 231, 250, 0.86) 55%, rgba(185, 166, 232, 0.55) 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.healing-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.healing-overlay__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(216, 181, 112, 0.35) 45%, transparent 75%);
  filter: blur(2px);
  opacity: 0;
}

.healing-overlay.is-active .healing-overlay__glow {
  animation: healingGlow 5.6s ease-out both;
}

.healing-overlay__moon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffdf6, var(--champagne-gold) 70%);
  box-shadow: 0 0 30px rgba(216, 181, 112, 0.6);
  opacity: 0;
}

.healing-overlay.is-active .healing-overlay__moon {
  animation: healingMoon 5.6s ease-out both;
}

.healing-overlay__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.healing-overlay__particles span {
  position: absolute;
  bottom: 30%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  opacity: 0;
}

.healing-overlay__particles span:nth-child(1) { left: 16%; }
.healing-overlay__particles span:nth-child(2) { left: 26%; }
.healing-overlay__particles span:nth-child(3) { left: 36%; }
.healing-overlay__particles span:nth-child(4) { left: 46%; }
.healing-overlay__particles span:nth-child(5) { left: 56%; }
.healing-overlay__particles span:nth-child(6) { left: 64%; }
.healing-overlay__particles span:nth-child(7) { left: 72%; }
.healing-overlay__particles span:nth-child(8) { left: 80%; }
.healing-overlay__particles span:nth-child(9) { left: 88%; }
.healing-overlay__particles span:nth-child(10) { left: 50%; }

.healing-overlay.is-active .healing-overlay__particles span {
  animation: healingParticle 5.4s ease-out both;
}

.healing-overlay.is-active .healing-overlay__particles span:nth-child(2) { animation-delay: 0.3s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(3) { animation-delay: 0.6s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(4) { animation-delay: 0.15s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(5) { animation-delay: 0.75s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(6) { animation-delay: 0.45s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(7) { animation-delay: 0.9s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(8) { animation-delay: 0.2s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(9) { animation-delay: 0.55s; }
.healing-overlay.is-active .healing-overlay__particles span:nth-child(10) { animation-delay: 1s; }

.healing-overlay__text {
  position: relative;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0;
}

.healing-overlay.is-active .healing-overlay__text {
  animation: healingTextFade 5.6s ease-out both;
}

@keyframes healingGlow {
  0% { transform: scale(0.4); opacity: 0; }
  30% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.15); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes healingMoon {
  0% { transform: scale(0.6); opacity: 0; }
  25% { transform: scale(1); opacity: 1; }
  75% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1.1); opacity: 0; }
}

@keyframes healingParticle {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  75% { opacity: 0.6; }
  100% { transform: translateY(-180px) scale(1); opacity: 0; }
}

@keyframes healingTextFade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   Monthly Healing ROOM 追加エリア
   (今月のHealing Image / Healing Radio / Healing Gallery)
   ※ 既存クラス・既存ルールは変更せず、新規クラスのみ追加しています
   ============================================================ */

/* ---------- 今月のHealing Image ---------- */

.healing-image {
  text-align: center;
  padding: 30px 22px 26px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 14%, rgba(216, 181, 112, 0.16), transparent 55%),
    radial-gradient(circle at 82% 86%, rgba(247, 211, 227, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.62);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 26px rgba(124, 104, 184, 0.10);
}

.healing-image__month {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--lavender-deep);
  margin: 0 0 6px;
}

.healing-image__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 10px;
}

.healing-image__catch {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.healing-image__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(124, 104, 184, 0.14);
}

/* 画像が未登録(プレースホルダー表示)の間だけ、枠の高さを確保する */
.healing-image__frame--placeholder {
  aspect-ratio: 4 / 5;
}

.healing-image__img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.healing-image__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(185, 166, 232, 0.28), transparent 60%),
    linear-gradient(160deg, var(--lavender-pale) 0%, var(--pink) 55%, var(--gold-soft) 100%);
}

.healing-image__placeholder-icon {
  font-size: 30px;
  opacity: 0.85;
}

.healing-image__placeholder-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ---------- 今月のHealing Image:タップで大きく見るライトボックス ---------- */

.healing-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  background: rgba(61, 56, 82, 0.82);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.healing-image-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.healing-image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  cursor: zoom-out;
}

/* ---------- Healing Radio ---------- */

.healing-radio {
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 26px rgba(124, 104, 184, 0.10);
}

.healing-radio__label {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--lavender-deep);
  margin: 0 0 6px;
}

.healing-radio__catch {
  text-align: center;
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.healing-radio__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.healing-radio__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 16px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
}

.healing-radio__date {
  font-size: 12px;
  color: var(--lavender-deep);
  margin: 0;
}

.healing-radio__item-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: var(--ink);
  margin: 0 0 4px;
}

.healing-radio__play {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--lavender-deep);
  background: #ffffff;
  border: 1px solid rgba(124, 104, 184, 0.3);
  border-radius: 999px;
  padding: 8px 18px;
  min-height: 34px;
  cursor: pointer;
  text-decoration: none;
}

.healing-radio__play:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.healing-radio__empty {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.healing-radio__note {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 16px 0 0;
}

/* ---------- Healing Gallery ---------- */

.healing-gallery {
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.healing-gallery__label {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--lavender-deep);
  margin: 0 0 6px;
}

.healing-gallery__catch {
  text-align: center;
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.healing-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.healing-gallery__item {
  text-align: center;
}

.healing-gallery__thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(160deg, var(--lavender-pale) 0%, var(--pink) 55%, var(--gold-soft) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.healing-gallery__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.healing-gallery__thumb-icon {
  font-size: 18px;
  opacity: 0.85;
}

.healing-gallery__item-month {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.healing-gallery__empty {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 420px) {
  .healing-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   DESIGN v1 (2026-11-26) — 完成図の世界観に寄せる上書き
   ============================================================ */
.bg-hero {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("../images/hero-sky.webp") center top / cover no-repeat;
  opacity: 0.5;
}
.brand {
  font-family: "Parisienne", cursive;
  font-style: normal; font-weight: 400;
  font-size: 50px; line-height: 1.1; letter-spacing: 0;
  margin: 0;
}
.brand-sub {
  font-size: 11px; letter-spacing: 0.34em; text-indent: 0.34em;
  color: var(--ink-soft); margin: 4px 0 10px;
}
.script-accent {
  font-family: "Parisienne", cursive; font-size: 22px;
  color: #c1608f; margin: 10px 0 0;
}
.script-accent--footer { text-align: center; font-size: 24px; margin: 0 0 6px; }
.mascot-rest {
  width: 200px; max-width: 68%; height: auto; display: block;
  margin: 6px auto 0; position: relative; z-index: 1;
  filter: drop-shadow(0 14px 16px rgba(124, 104, 184, 0.35));
}
.rest-day__deco--moon { display: none; }
.rest-day__heading { margin-top: 16px; }
.mascot-entry {
  width: 112px; height: auto; display: block; margin: 12px auto 4px;
  filter: drop-shadow(0 10px 12px rgba(124, 104, 184, 0.4));
}
.mascot-follow {
  width: 84px; height: auto; display: block; margin: 4px 0 10px;
  filter: drop-shadow(0 8px 10px rgba(124, 104, 184, 0.4));
}
.today-card, .rest-day__card, .entry-card {
  border-radius: 26px;
  border-color: rgba(216, 181, 112, 0.38);
  box-shadow: 0 18px 38px -18px rgba(124, 104, 184, 0.35);
}
.calc__submit, .number-picker__submit, .returning__cta {
  background: linear-gradient(120deg, var(--lavender-deep), #c98bb8);
  border-radius: 999px; letter-spacing: 0.08em;
  box-shadow: 0 12px 24px -12px rgba(124, 104, 184, 0.65);
}
.follow__card { border-radius: 20px; }

/* ============================================================
   DESIGN v2 (2026-11-26) — 会員ページ向け追加
   ============================================================ */
.room-service-card {
  border-radius: 26px;
  border-color: rgba(216, 181, 112, 0.38);
  box-shadow: 0 18px 38px -18px rgba(124, 104, 184, 0.35);
}
.room-service-card__icon svg { width: 28px; height: 28px; }
.room-service-card--fortune .room-service-card__icon { color: #a5813c; }
.room-service-card--healing .room-service-card__icon { color: #c1608f; }
.room-service-card--chat .room-service-card__icon { color: #5b7fa6; }
.status-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
.chip-icon { width: 12px; height: 12px; vertical-align: -1px; margin-right: 2px; color: #c98bb8; }
.mascot-member {
  width: 96px; height: auto; display: block; margin: 26px auto 6px;
  border-radius: 24px; box-shadow: 0 12px 24px -12px rgba(124, 104, 184, 0.5);
}

/* --- DESIGN v2: healing room --- */
.healing-card__icon svg { width: 30px; height: 30px; }
.healing-card--enmusubi .healing-card__icon { color: #e79ec4; }
.healing-card--healing .healing-card__icon { color: #9378cc; }
.healing-magic { text-align: center; margin: 22px auto 4px; }
.healing-magic__video {
  width: min(230px, 64vw); height: auto; border-radius: 26px;
  box-shadow: 0 16px 32px -14px rgba(124, 104, 184, 0.45);
}
.healing-magic__caption {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--lavender-deep); margin: 10px 0 0; letter-spacing: 0.06em;
}

/* --- DESIGN v2: fortune room --- */
.moon-icon { width: 15px; height: 15px; vertical-align: -2px; }
.member-exclusive-card__visual svg { width: 24px; height: 24px; }
.member-exclusive-card--blue .member-exclusive-card__visual { color: #5b7fa6; }
.member-exclusive-card--lavender .member-exclusive-card__visual { color: #7c68b8; }
.member-exclusive-card--navy .member-exclusive-card__visual { color: #4c4470; }
.member-exclusive-card--pink .member-exclusive-card__visual { color: #c1608f; }
.member-mascot-slot { margin: 26px auto 6px; text-align: center; }
.member-mascot-slot img {
  width: 96px; height: auto; border-radius: 22px;
  box-shadow: 0 12px 24px -12px rgba(124, 104, 184, 0.5);
}

/* --- DESIGN v2: koala room --- */
.koala-season-badge svg { width: 16px; height: 16px; vertical-align: -3px; }
.koala-season-badge__fallback svg { width: 16px; height: 16px; vertical-align: -3px; }
.koala-map__marker-fallback svg { width: 30px; height: 30px; }
.koala-collection-card__icon svg { width: 26px; height: 26px; }
.koala-collection-card__icon { color: #7c68b8; }
.koala-message-card__back svg { width: 40px; height: 40px; }
.koala-message-card__back { color: #9378cc; }

/* ---------- 文章の読みやすさ:改行と行間 ---------- */
.today-card__text,
.today-message__text {
  white-space: pre-line;
  line-height: 1.95;
}
.rest-day__text,
.follow__text,
.member-entry__text {
  line-height: 1.9;
}
