/* ========== H25 时间胶囊 + 未来信箱 + 收集完成度页（docs/09 §5） ========== */

/* —— 5.1 胶囊拾取卡（复用 h19 信纸卡片骨架，h25 只管差异） —— */
.h25-paper { position: relative; }
.h25-cap-ico {
  font-size: 44px; line-height: 1; margin: 2px 0 10px;
  filter: drop-shadow(0 0 14px rgba(140, 200, 240, .55));
}
.h25-cap-text {
  margin: 0 auto; max-width: 26em;
  font-family: var(--hand, "Ma Shan Zheng", serif);
  font-size: clamp(18px, 3.2vw, 23px); line-height: 2; color: #4a3138;
  letter-spacing: .04em;
}

/* —— 5.2 未来信箱：许愿 modal 第二栏 —— */
.h25-future {
  margin-top: 22px; padding-top: 18px; text-align: center;
  border-top: 1px dashed rgba(179, 147, 95, .4);
}
.h25-future-kicker {
  margin: 0 0 4px; font-size: 11px; letter-spacing: .3em; color: #b3935f;
}
.h25-future-title {
  margin: 0 0 14px; font-family: var(--hand, "Ma Shan Zheng", serif);
  font-weight: 400; font-size: clamp(19px, 3.4vw, 24px); color: #4a3138;
}
.h25-future textarea {
  width: 100%; box-sizing: border-box; min-height: 96px; resize: vertical;
  font-family: var(--hand, "Ma Shan Zheng", serif); font-size: 16px; line-height: 1.9;
  color: #4a3138; background: rgba(216, 189, 150, .08);
  border: 1px solid rgba(179, 147, 95, .45); border-radius: 10px;
  padding: 12px 16px; outline: none;
}
.h25-future textarea:focus { border-color: #b3935f; box-shadow: 0 0 18px rgba(179, 147, 95, .25); }
.h25-future-note {
  margin: 10px 0 0; font-size: 12px; letter-spacing: .1em;
  color: rgba(179, 147, 95, .9);
}
/* 锁定态 */
.h25-future-lock {
  margin: 0 auto; max-width: 24em; padding: 18px 20px;
  border: 1px solid rgba(179, 147, 95, .5); border-radius: 12px;
  background: rgba(216, 189, 150, .1);
  font-size: 15px; line-height: 2; color: #4a3138; letter-spacing: .05em;
}
.h25-future-lock b { color: #8a6420; font-family: var(--hand, "Ma Shan Zheng", serif); font-size: 18px; }
.h25-future-lock span { font-size: 12.5px; color: rgba(179, 147, 95, .95); }
/* 到期态：金字 */
.h25-future-gold {
  margin: 0 0 10px; font-size: 14px; letter-spacing: .24em;
  font-family: var(--serif, "Noto Serif SC", serif); font-weight: 600;
  color: #b8860b;
  text-shadow: 0 0 14px rgba(232, 192, 125, .75), 0 1px 0 rgba(255, 255, 255, .6);
}
.h25-future-letter {
  margin: 0 auto 6px; max-width: 26em; text-align: left;
  font-family: var(--hand, "Ma Shan Zheng", serif);
  font-size: 17px; line-height: 2; color: #4a3138; letter-spacing: .03em;
  white-space: pre-wrap; word-break: break-word;
}

/* —— 5.3 收集完成度面板 —— */
.h25-panel {
  position: fixed; right: 18px; top: 200px; z-index: 40;
  width: 252px; max-height: calc(100vh - 240px); overflow-y: auto;
  padding: 14px 16px 12px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 18, 40, .92), rgba(8, 10, 26, .92));
  border: 1px solid rgba(255, 217, 160, .4);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .45);
  pointer-events: auto;
  animation: h25pIn .35s ease;
  overflow-x: hidden;
}
@keyframes h25pIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* 全 100%：金框 */
.h25-panel.gold {
  border: 1px solid rgba(232, 192, 125, .95);
  box-shadow: 0 0 24px rgba(232, 192, 125, .45), 0 6px 26px rgba(0, 0, 0, .45);
}
.h25p-head {
  font-size: 13px; letter-spacing: .3em; text-align: center;
  color: #e8c07d; margin-bottom: 10px;
  font-family: var(--hand, "Ma Shan Zheng", serif);
}
.h25p-row { margin: 7px 0; }
.h25p-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 12.5px; color: #cfd6ea; letter-spacing: .06em;
}
.h25p-val { color: #f5ead6; font-size: 12px; white-space: nowrap; }
.h25p-row.full .h25p-name, .h25p-row.full .h25p-val { color: #ffe2b0; }
.h25p-bar {
  margin-top: 4px; height: 4px; border-radius: 3px;
  background: rgba(255, 255, 255, .1); overflow: hidden;
}
.h25p-bar i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #c9a86a, #e8c07d);
  transition: width .6s ease;
}
.h25p-row.full .h25p-bar i { background: linear-gradient(90deg, #e8c07d, #ffe9b8); }
.h25p-row.info .h25p-line { padding: 2px 0; }
.h25p-foot {
  margin-top: 10px; text-align: center;
  font-size: 11.5px; letter-spacing: .12em; color: #9aa6c4;
  font-family: var(--hand, "Ma Shan Zheng", serif);
}
.h25-panel.gold .h25p-foot { color: #ffe2b0; }
/* 金框爱心粒子（DOM 飘落） */
.h25-heart {
  position: absolute; top: -12px; z-index: 1;
  color: #ffb3c4; text-shadow: 0 0 8px rgba(255, 160, 185, .8);
  pointer-events: none;
  animation: h25fall 3.2s linear forwards;
}
@keyframes h25fall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(320px) rotate(38deg); }
}
/* 任务卡升级提示 */
.h25-quest-tip {
  margin-top: 8px; padding-top: 7px;
  border-top: 1px dashed rgba(255, 217, 160, .35);
  font-size: 11px; letter-spacing: .14em; color: #e8c07d; text-align: center;
  font-family: var(--hand, "Ma Shan Zheng", serif);
  animation: h25tipGlow 2.2s ease-in-out infinite;
}
@keyframes h25tipGlow {
  0%, 100% { opacity: .65; } 50% { opacity: 1; }
}
