/* ==============================================
   撑伞人 — 时光信箱
   深空科技风 + 温柔治愈
   ============================================== */

.tm-page {
  padding-top: calc(var(--nav-height) + 40px);
  background: #0f1923;
  min-height: 100vh;
  color: rgba(255,255,255,0.85);
}
.tm-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Header */
.tm-header {
  text-align: center;
  padding: 48px 0 40px;
  position: relative;
}
.tm-header h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  background: linear-gradient(135deg, #a0c4ff, #c4b5fd, #a0c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.tm-header .sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}

/* Timeline */
.tm-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0 20px 40px;
}
.tm-timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(160,196,255,0.3) 0%,
    rgba(196,181,253,0.4) 50%,
    rgba(160,196,255,0.3) 100%
  );
}
.tm-letter {
  position: relative;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 320ms var(--ease);
}
.tm-letter::before {
  content: '';
  position: absolute;
  left: -30px; top: 24px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(160,196,255,0.5);
  box-shadow: 0 0 8px rgba(160,196,255,0.3);
}
.tm-letter:hover {
  border-color: rgba(160,196,255,0.20);
  box-shadow: 0 4px 24px rgba(160,196,255,0.06);
  transform: translateX(4px);
}
.tm-letter .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tm-letter .tags span {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.tag-anon { background: rgba(196,181,253,0.15); color: #c4b5fd; }
.tag-public { background: rgba(160,196,255,0.12); color: #a0c4ff; }
.tag-delayed { background: rgba(230,147,64,0.12); color: #f0c080; }
.tm-letter h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.90);
}
.tm-letter p {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-letter .actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* Write Button */
.tm-write-btn {
  display: block;
  margin: 24px auto 0;
  padding: 12px 36px;
  background: linear-gradient(135deg, #a0c4ff, #c4b5fd);
  border: none;
  border-radius: 12px;
  color: #0f1923;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 320ms;
}
.tm-write-btn:hover {
  box-shadow: 0 4px 24px rgba(160,196,255,0.30);
  transform: translateY(-2px);
}

@media (max-width:768px) {
  .tm-timeline { padding-left: 30px; }
}
