/* story.css —— 照片故事模式 v10.4 #21 */
* { box-sizing: border-box; }
body.story-body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #4a3540; }
.story-wrap { max-width: 960px; margin: 0 auto; padding: 28px 18px 80px; }
.story-header { text-align: center; position: relative; margin-bottom: 22px; }
.story-back { position: absolute; left: 0; top: 4px; color: #a85f7d; text-decoration: none; font-size: 14px; }
.story-header h1 { margin: 8px 0 4px; font-size: 26px; color: #b23a68; }
.story-header p { margin: 0 0 14px; color: #9a7d8a; font-size: 14px; }
.story-year { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.story-year button { border: 1px solid rgba(178,58,104,.25); background: rgba(255,255,255,.6); color: #a85f7d; border-radius: 999px; padding: 5px 16px; font-size: 13px; cursor: pointer; transition: .2s; }
.story-year button.on { background: #c04b78; color: #fff; border-color: #c04b78; }
.story-loading, .story-empty { text-align: center; padding: 90px 20px; color: #a08a94; font-size: 15px; }
.story-empty i { font-size: 46px; display: block; margin-bottom: 14px; color: #d8a8bd; }
.story-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.65); border-radius: 20px; overflow: hidden; box-shadow: 0 16px 48px rgba(120,70,95,.18); transition: opacity .18s ease, transform .18s ease; }
.sc-photo { position: relative; min-height: 420px; background: #f3e6ec; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sc-img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.sc-img-ph { font-size: 64px; color: #d8a8bd; }
.sc-author { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.42); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; backdrop-filter: blur(4px); }
.sc-info { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.sc-date { color: #b08a99; font-size: 13px; }
.sc-title { margin: 0; font-size: 24px; color: #4a3540; line-height: 1.4; }
.sc-desc { margin: 0; color: #6b5360; font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.sc-diary { margin-top: auto; background: linear-gradient(135deg, #fff5f8, #fff0f4); border-left: 3px solid #e08aa9; border-radius: 10px; padding: 16px 18px; }
.scd-label { font-size: 12px; color: #c04b78; margin-bottom: 6px; }
.scd-title { margin: 0 0 8px; font-size: 16px; color: #7a3a56; }
.scd-excerpt { margin: 0; font-size: 13px; line-height: 1.85; color: #8a6b78; }
.story-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; }
.sn-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(178,58,104,.3); background: rgba(255,255,255,.75); color: #c04b78; font-size: 20px; cursor: pointer; transition: .2s; }
.sn-btn:hover:not(:disabled) { background: #c04b78; color: #fff; }
.sn-btn:disabled { opacity: .35; cursor: default; }
.sn-count { color: #9a7d8a; font-size: 14px; min-width: 60px; text-align: center; }
.story-tip { text-align: center; color: #b39aa6; font-size: 12px; margin-top: 12px; }
@media (max-width: 720px) {
  .story-wrap { padding: 20px 12px 70px; }
  .story-card { grid-template-columns: 1fr; }
  .sc-photo { min-height: 260px; }
  .sc-img { max-height: 340px; }
  .sc-info { padding: 20px; }
  .sc-title { font-size: 20px; }
}
