/* ========================================
   髪を用いた秘術：一覧全体
======================================== */

.secret-arts {
  margin: 28px 0;
}

.secret-arts > div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.secret-arts dt {
  position: relative;
  display: inline-block;

  font-family: var(--heading);
  font-size: 18px;
  font-weight: 600;

  /* 個別指定がない場合の基本色 */
  color: #594a5f;

  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.secret-arts dd {
  margin: 0;
}


/* ========================================
   治癒
   淡い緑。生命・回復。
======================================== */

.secret-arts .art-heal {
  color: #527563;

  text-shadow:
    0 0 4px rgba(95, 145, 115, 0.25),
    0 0 9px rgba(120, 165, 135, 0.12);
}


/* ========================================
   呪殺
   乾いた血のような暗赤。
======================================== */

.secret-arts .art-curse {
  color: #742d38;

  text-shadow:
    0 1px 2px rgba(70, 15, 25, 0.30),
    0 0 5px rgba(95, 25, 35, 0.15);
}

.secret-arts .art-curse::after {
  content: "";
  position: absolute;

  left: 8%;
  right: 8%;
  bottom: -3px;

  height: 2px;

  background: rgba(105, 25, 38, 0.38);
  filter: blur(1px);

  pointer-events: none;
}


/* ========================================
   追跡
   青灰色。
   髪から続く「つながり」を細い線で表現。
======================================== */

.secret-arts .art-track {
  color: #496878;
}

.secret-arts .art-track::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -3px;

  width: 145%;
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(65, 95, 115, 0.75),
    rgba(65, 95, 115, 0.25),
    transparent
  );

  pointer-events: none;
}


/* ========================================
   記憶の収集
   色褪せた藍。
   記憶が残像として残っている。
======================================== */

.secret-arts .art-memory {
  color: #62577d;
  isolation: isolate;
}

.secret-arts .art-memory::before,
.secret-arts .art-memory::after {
  content: "記憶の収集";

  position: absolute;
  inset: 0;

  pointer-events: none;
  z-index: -1;
}

.secret-arts .art-memory::before {
  color: rgba(75, 65, 105, 0.18);
  transform: translate(-2px, 1px);
  filter: blur(0.4px);
}

.secret-arts .art-memory::after {
  color: rgba(115, 90, 140, 0.16);
  transform: translate(2px, -1px);
  filter: blur(0.5px);
}


/* ========================================
   身代わり
   無彩色。
   本体の後ろにもう一つの存在。
======================================== */

.secret-arts .art-substitute {
  color: #675d62;
  isolation: isolate;
}

.secret-arts .art-substitute::after {
  content: "身代わり";

  position: absolute;

  left: 4px;
  top: 2px;

  color: rgba(70, 60, 65, 0.25);

  filter: blur(0.25px);

  z-index: -1;
  pointer-events: none;
}


/* ========================================
   束縛
   黒灰色。
   文字を上下から拘束する。
======================================== */

.secret-arts .art-bind {
  color: #3f3741;

  letter-spacing: -0.03em;

  padding: 1px 4px;

  border-top: 1px solid rgba(55, 45, 58, 0.65);
  border-bottom: 1px solid rgba(55, 45, 58, 0.65);

  text-shadow:
    0 0 3px rgba(45, 35, 48, 0.15);
}


/* ========================================
   生命の移動
   暗赤 → 淡色 → 緑。
   生命が別の存在へ移っていく。
======================================== */

.secret-arts .art-life {
  color: #773b47;

  background: linear-gradient(
    90deg,
    #743844 0%,
    #9a626b 25%,
    #8a7b72 50%,
    #5b7966 75%,
    #743844 100%
  );

  background-size: 250% 100%;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  animation: secret-art-life-transfer 7s ease-in-out infinite;
}

@keyframes secret-art-life-transfer {
  0% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}


/* ========================================
   生成
   土・木・物質を思わせる茶色。
======================================== */

.secret-arts .art-create {
  color: #795a40;

  text-shadow:
    1px 1px 0 rgba(80, 55, 35, 0.16);
}


/* ========================================
   アニメーション軽減設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .secret-arts .art-life {
    animation: none;
    background-position: 50% 50%;
  }
}


/* ========================================
   村長 最後の一言
======================================== */

.chief-last {
  font: 18px/2.1 var(--heading);
  color: var(--warning);

  padding: 26px 0 8px;

  border-top: 1px solid var(--line);
}

/* ========================================
   村長の最初の台詞
   この時点ではまだ善人に見える
======================================== */

.chief-quote {
  padding-left: 14px;

  border-left: 2px solid rgba(110, 85, 120, 0.28);

  color: #544b57;

  font-family: var(--heading);
}


/* ========================================
   寿命を受け取る
   生命が少しずつ吸われていく
======================================== */

.life-taken {
  color: #733b47;

  background: linear-gradient(
    90deg,
    #733b47,
    #9a626c,
    #6a6267
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 4px rgba(105, 45, 60, 0.10);
}


/* ========================================
   当然の対価
   村長本人にとっては「当然」
   判を押したような硬さ
======================================== */

.price-text {
  color: #632f38;

  padding: 1px 4px;

  border-bottom: 1px double rgba(95, 40, 50, 0.55);

  letter-spacing: 0.08em;
}


/* ========================================
   尽きることはありません
   不自然な永続性
======================================== */

.never-ending {
  display: inline-block;

  color: #55405d;

  text-shadow:
    0 0 4px rgba(90, 60, 105, 0.22);

  animation: endless-time 6s ease-in-out infinite;
}

@keyframes endless-time {
  0%, 100% {
    letter-spacing: 0;
    opacity: 0.82;
  }

  50% {
    letter-spacing: 0.07em;
    opacity: 1;
  }
}


/* ========================================
   現在の藤手符村
   「ここまでの話が現在につながっている」
======================================== */

.village-name {
  color: #594064;

  font-family: var(--heading);
  font-weight: 600;

  text-decoration:
    underline
    rgba(95, 65, 110, 0.28);

  text-underline-offset: 4px;
}


/* ========================================
   今も見守り続けています
   「見守る」の意味がおかしくなる
======================================== */

.still-watching {
  position: relative;

  color: #463d49;

  text-shadow:
    0 0 5px rgba(45, 30, 50, 0.12);
}

.still-watching::after {
  content: "";

  display: inline-block;

  width: 5px;
  height: 5px;

  margin-left: 7px;
  margin-bottom: 2px;

  border-radius: 50%;

  background: rgba(65, 40, 70, 0.38);

  box-shadow:
    0 0 5px rgba(65, 40, 70, 0.20);
}


/* ========================================
   村長の本音
======================================== */

.chief-last {
  font: 18px/2.1 var(--heading);

  color: #702f42;

  padding: 26px 0 8px;

  border-top: 1px solid var(--line);

  letter-spacing: 0.06em;

  text-shadow:
    0 0 5px rgba(100, 35, 55, 0.14);
}