﻿/* ==========================================================================
   solo.css — 个人款「人生档案」布局
   不覆盖模板配色：颜色全部走 currentColor，随所选模板（tpl-romance…）继承
   ========================================================================== */

.site.tpl-solo {
  min-height: 100vh;
}

.sl-hero {
  padding: 54px 22px 40px;
  text-align: center;
}

.sl-kicker {
  margin: 0 0 22px;
  font-size: 9px;
  letter-spacing: 0.36em;
  opacity: 0.55;
}

.sl-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sl-avatar {
  width: 88px;
  height: 88px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid currentColor;
  opacity: 0.95;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}

.sl-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-avatar--empty {
  display: grid;
  place-items: center;
  border-style: dashed;
  opacity: 0.55;
}

.sl-avatar--empty span {
  font-size: 30px;
  letter-spacing: 0.05em;
}

.sl-id__text {
  text-align: center;
}

.sl-name {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.sl-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.sl-meta i {
  font-style: normal;
  opacity: 0.5;
}

.sl-intro {
  max-width: 30em;
  margin: 22px auto 0;
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: 0.03em;
  opacity: 0.82;
  text-align: left;
  white-space: pre-wrap;
}

.sl-counter {
  margin: 30px auto 0;
  max-width: 320px;
  padding: 18px 16px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.9;
}

.sl-counter__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  opacity: 0.6;
  margin-bottom: 6px;
}

.sl-counter__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.sl-counter__num {
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.sl-counter__unit {
  font-size: 13px;
  opacity: 0.65;
}

.sl-counter__clock {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  opacity: 0.55;
}

.sl-counter__hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.5;
}

.sl-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  opacity: 0.45;
}

.sl-scroll span {
  display: block;
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------------- 区块通用 ---------------- */
.sl-sec {
  padding: 44px 20px 8px;
}

.sl-sec__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
  margin-bottom: 20px;
  opacity: 0.95;
}

.sl-sec__k {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  opacity: 0.55;
}

.sl-sec__t {
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.sl-sec__n {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.5;
}

/* ---------------- 记忆 ---------------- */
.sl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sl-mem {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(128, 128, 128, 0.12);
  cursor: zoom-in;
}

.sl-mem img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sl-mem figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 7px 6px;
  font-size: 9.5px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-notes {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.sl-note {
  position: relative;
  padding: 14px 0 14px 20px;
  border-bottom: 1px dashed rgba(128, 128, 128, 0.35);
}

.sl-note__dot {
  position: absolute;
  left: 4px;
  top: 22px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.sl-note__date {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-bottom: 5px;
}

.sl-note__title {
  margin: 0 0 5px;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sl-note__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.9;
  opacity: 0.78;
}

/* ---------------- 时间轴 ---------------- */
.sl-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid currentColor;
}

.sl-stop {
  position: relative;
  padding: 0 0 26px 16px;
}

.sl-stop__mark {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.sl-stop__date {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  margin-bottom: 6px;
}

.sl-stop__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.sl-stop__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.9;
  opacity: 0.78;
}

.sl-stop__photo {
  margin: 12px 0 0;
  overflow: hidden;
  border-radius: 3px;
}

.sl-stop__photo img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

/* ---------------- 愿望 ---------------- */
.sl-wish__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sl-wish__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.7;
}

.sl-wish__box {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid currentColor;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 10px;
  opacity: 0.75;
}

.sl-wish__item.is-done .sl-wish__text {
  text-decoration: line-through;
  opacity: 0.45;
}

.sl-wish__item.is-done .sl-wish__box {
  background: currentColor;
  color: transparent;
}

/* ---------------- 未来信 ---------------- */
.sl-letter {
  padding: 20px 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.92;
}

.sl-letter__p {
  margin: 0 0 1em;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.02em;
  white-space: pre-wrap;
}

.sl-letter__p:last-of-type {
  margin-bottom: 0;
}

.sl-letter__sign {
  margin: 18px 0 0;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.sl-locked {
  padding: 30px 18px;
  text-align: center;
  border: 1px dashed currentColor;
  border-radius: 2px;
  opacity: 0.7;
}

.sl-locked__icon {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.75;
}

.sl-locked__title {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.sl-locked__sub {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

/* ---------------- 页脚 ---------------- */
.sl-outro {
  padding: 52px 22px 60px;
  text-align: center;
}

.sl-blessing {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.sl-song {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

.sl-mark {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: inherit;
  opacity: 0.4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (min-width: 640px) {
  .sl-hero {
    padding-top: 76px;
  }

  .sl-sec,
  .sl-outro {
    max-width: 720px;
    margin: 0 auto;
  }

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

/* 素材库背景 */
.sl-hero {
  position: relative;
  overflow: hidden;
}

.sl-artbg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.05);
  z-index: 0;
  pointer-events: none;
}

.sl-hero > *:not(.sl-artbg) {
  position: relative;
  z-index: 1;
}

.sl-artbg {
  position: absolute !important;
}



