/* 家话回忆录 · 首页 v2（我的课堂 + 回忆录主角） */

/* ===== 我的课堂：紧凑一条 ===== */
.class-strip{
  display:flex;align-items:center;gap:10px;
  margin:16px 0 4px;padding:10px;border-radius:18px;
  background:#fbf7ee;border:1px solid #eee7d6;
}
.class-main{
  flex:1;min-width:0;display:flex;align-items:center;gap:11px;
  background:none;border:0;padding:0;text-align:left;cursor:pointer;color:inherit;font:inherit;
}
.class-main img{width:52px;height:52px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.class-text{flex:1;min-width:0;display:block}
.class-tag{display:block;font-size:.72em;color:#8b8b76;letter-spacing:.04em;margin-bottom:3px}
.class-text b{display:block;font-size:.95em;font-weight:600;color:#2f3a2c;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.class-text small{display:block;font-size:.76em;color:#9aa08f;margin-top:3px}
.class-go{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;
  min-height:40px;padding:0 14px;border-radius:12px;font-size:.86em;
  background:#eef2e6;border:1px solid #dfe6d5;color:#41654c;cursor:pointer;
}
.class-go svg{width:14px;height:14px;fill:currentColor;opacity:.75}
.class-go:active{transform:scale(.98)}

/* ===== 回忆录主角卡（沿用 home-v2 的 memoir-hero，这里只调间距） ===== */
.memoir-hero{margin:16px 0 6px}
/* 我的相册 · 配图库 */

.album-wrap{padding:0 18px 40px}

.album-sec{margin:22px 0 8px}
.album-sec h2{
  font-size:.95em;font-weight:600;color:#2f3a2c;margin:0 0 12px;
  display:flex;align-items:baseline;gap:8px;
}
.album-sec h2 small{font-size:.82em;font-weight:400;color:#8a927f}

.album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.album-cell{
  position:relative;padding:0;border:0;background:#ece7da;border-radius:14px;
  overflow:hidden;cursor:pointer;aspect-ratio:1;
  box-shadow:0 3px 10px rgba(60,70,50,.07);
}
.album-cell img{width:100%;height:100%;object-fit:cover;display:block}
.album-cell span{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 8px 7px;font-size:.72em;color:#fff;text-align:left;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.55));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.album-cell:active{transform:scale(.985)}

.album-list{display:flex;flex-direction:column;gap:8px}
.album-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;min-height:56px;padding:0 16px;border-radius:14px;
  background:#fffdf7;border:1px solid #e6e1cf;color:#2f3a2c;
  font-size:.95em;text-align:left;cursor:pointer;
}
.album-row-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.album-row-hint{
  flex:0 0 auto;font-size:.82em;color:#5f7a5f;
  background:#eef2e6;border:1px solid #dfe6d5;border-radius:999px;padding:5px 11px;
}
.album-row:active{transform:scale(.99)}

.album-empty{
  font-size:.88em;color:#8d9384;line-height:1.8;margin:0;
  padding:18px;text-align:center;background:#faf8f0;border-radius:14px;
}

.album-foot{margin-top:30px;text-align:center}
.album-add{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:54px;border-radius:16px;font-size:1em;
  background:#41654c;color:#fff;border:0;cursor:pointer;
  box-shadow:0 8px 20px rgba(65,101,76,.22);
}
.album-add svg{width:18px;height:18px;fill:currentColor}
.album-tip{font-size:.78em;color:#9aa08f;line-height:1.8;margin:12px 0 0}


/* 岁月点滴标题右侧：新增 + 全部 */
.sec-acts{display:inline-flex;align-items:center;gap:10px}
.sec-acts button{
  display:inline-flex;align-items:center;gap:4px;
  background:none;border:0;padding:0;cursor:pointer;
  font-size:.86em;color:#5f7a5f;
}
.sec-acts .sec-add{
  color:#41654c;background:#eef2e6;border:1px solid #dfe6d5;
  padding:6px 12px;border-radius:999px;
}
.sec-acts .sec-add svg{width:13px;height:13px;fill:currentColor;opacity:.85}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}


/* ===== 回忆录主角卡（从 home-v2.css 补回）===== */
/* 家话回忆录 · 首页主角卡（人生回忆录） */

.memoir-hero{
  position:relative;
  margin:18px 0 6px;
  padding:26px 22px 20px;
  border-radius:26px;
  background:linear-gradient(158deg,#f6f2e6 0%,#eef1e4 52%,#e7ecdc 100%);
  border:1px solid #e2ddc9;
  box-shadow:0 14px 34px rgba(70,84,58,.10),inset 0 1px 0 #fffdf6;
  overflow:hidden;
}
.memoir-hero:before{
  content:'';
  position:absolute;right:-40px;top:-40px;width:170px;height:170px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(65,101,76,.13),rgba(65,101,76,0) 68%);
  pointer-events:none;
}

.hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.hero-tag{
  font-size:.78em;letter-spacing:.08em;color:#4d6a4f;
  background:rgba(255,253,246,.72);border:1px solid #dfdac6;
  padding:6px 12px;border-radius:999px;
}
.hero-count{font-size:.82em;color:#7d8770;font-variant-numeric:tabular-nums}

.hero-title{
  font-size:1.62em;line-height:1.42;font-weight:600;color:#2f3a2c;
  margin:0 0 18px;letter-spacing:.01em;
}

.hero-bar{height:5px;border-radius:3px;background:rgba(255,253,246,.85);overflow:hidden;margin-bottom:9px}
.hero-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#5f8a63,#41654c);transition:width .5s ease}

.hero-hint{font-size:.85em;color:#78846e;line-height:1.7;margin:0 0 18px}

.memoir-hero .primary,
.memoir-hero button.primary{
  width:100%;min-height:58px;font-size:1.06em;border-radius:16px;
  display:flex;align-items:center;justify-content:center;gap:8px;
}

.hero-tools{display:flex;gap:10px;margin-top:12px}
.hero-tools button{
  flex:1;display:flex;align-items:center;justify-content:center;gap:7px;
  min-height:48px;border-radius:14px;font-size:.9em;
  background:rgba(255,253,246,.78);border:1px solid #e0dbc7;color:#4a5a45;
  cursor:pointer;
}
.hero-tools button:active{transform:scale(.985)}
.hero-tools button svg{width:17px;height:17px;opacity:.8}
/* 回忆录 · 书型选择 */
.book-choose{padding:8px 20px 40px}
.bc-lead{font-size:.95em;line-height:1.8;color:#6c7663;margin:6px 0 22px}
.bc-card{
  display:block;width:100%;text-align:left;cursor:pointer;
  padding:22px 20px;margin-bottom:14px;border-radius:20px;
  background:#fffdf7;border:1px solid #e6e1cf;
  box-shadow:0 6px 18px rgba(60,70,50,.05);
}
.bc-card:active{transform:scale(.99)}
.bc-ttl{display:block;font-size:1.16em;font-weight:600;color:#2f3a2c;margin-bottom:7px}
.bc-sub{display:block;font-size:.86em;line-height:1.7;color:#8b9080}
.bc-note{font-size:.78em;line-height:1.8;color:#a3a894;margin:18px 0 0}
/* 回忆录 · 书型选择 */
.book-choose{padding:8px 20px 40px}
.bc-lead{font-size:.95em;line-height:1.8;color:#6c7663;margin:6px 0 22px}
.bc-card{
  display:block;width:100%;text-align:left;cursor:pointer;
  padding:22px 20px;margin-bottom:14px;border-radius:20px;
  background:#fffdf7;border:1px solid #e6e1cf;
  box-shadow:0 6px 18px rgba(60,70,50,.05);
}
.bc-card:active{transform:scale(.99)}
.bc-ttl{display:block;font-size:1.16em;font-weight:600;color:#2f3a2c;margin-bottom:7px}
.bc-sub{display:block;font-size:.86em;line-height:1.7;color:#8b9080}
.bc-note{font-size:.78em;line-height:1.8;color:#a3a894;margin:18px 0 0}

/* 夫妻版：今天陪谁聊 */
.who-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.who-card{text-align:center;padding:22px 14px}
.who-avatar{
  display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:#eef2e6;color:#41654c;font-size:1.2em;font-weight:600;margin-bottom:12px;
}
.who-card .bc-ttl{font-size:1.02em;margin-bottom:5px}
.who-card .bc-sub{font-size:.8em}

/* 顶部：今天陪的是谁 */
.who-now{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:10px 18px 0;padding:10px 14px;border-radius:14px;
  background:#eef2e6;border:1px solid #dfe6d5;font-size:.86em;color:#41654c;
}
.who-now button{
  background:none;border:0;color:#41654c;text-decoration:underline;
  font-size:.95em;cursor:pointer;padding:2px 4px;
}

/* 选书型页的出口 */
.bc-home{
  display:block;width:100%;margin-top:22px;padding:14px;
  background:none;border:0;color:#7d8a72;font-size:.9em;
  text-decoration:underline;cursor:pointer;
}
/* 回忆录设置 */
.set-block{padding:18px 20px;margin:0 18px 16px;border-radius:18px;background:#fffdf7;border:1px solid #e6e1cf}
.set-label{display:block;font-size:.82em;color:#8b9080;margin-bottom:8px}
.set-value{display:block;font-size:1.1em;color:#2f3a2c;margin-bottom:12px}
.set-note{font-size:.84em;line-height:1.75;color:#7d8a72;margin:8px 0 0}
.set-actions{padding:0 18px}
.set-btn{
  display:block;width:100%;margin-bottom:12px;padding:15px;
  border-radius:16px;border:1px solid #dfe6d5;background:#eef2e6;
  color:#3c5a44;font-size:.95em;cursor:pointer;
}
.set-warn{font-size:.76em;line-height:1.8;color:#a3a894;margin:16px 18px 0}

/* R05 归档失败提示 */
.archive-fail{
  margin:12px 18px 0;padding:12px 14px;border-radius:12px;
  background:#fff4ec;border:1px solid #f0d5c2;color:#9a5d33;
  font-size:.86em;line-height:1.7;
}

/* R07 逐段回听 */
.seg-card{margin:18px;padding:16px 18px;border-radius:16px;background:#fffdf7;border:1px solid #e6e1cf}
.seg-card h2{font-size:.98em;color:#2f3a2c;margin:0 0 6px}
.seg-note{font-size:.8em;color:#8b9080;margin:0 0 12px;line-height:1.7}
.seg-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #f0ece0}
.seg-row:first-of-type{border-top:0}
.seg-no{font-size:.86em;color:#41654c;min-width:56px}
.seg-time{font-size:.8em;color:#a3a894;flex:1}
.seg-play{
  border:1px solid #dfe6d5;background:#eef2e6;color:#3c5a44;
  padding:6px 14px;border-radius:999px;font-size:.84em;cursor:pointer;
}
.seg-none{font-size:.8em;color:#b8bdad}

/* 重新取回按钮 */
.voice-restore{
  display:block;width:calc(100% - 36px);margin:14px 18px 24px;padding:14px;
  border-radius:14px;border:1px solid #e0c9b2;background:#fff4ec;color:#9a5d33;
  font-size:.92em;cursor:pointer;
}

/* 装帧模板 · 一列一本 */
.bk-wrap{padding:0 20px 44px}
.bk-lead{
  font-family:JiahuaSerif,'Songti SC',serif;
  font-size:1.22em;line-height:1.6;color:#2f3a2c;margin:6px 0 6px;font-weight:600;letter-spacing:.02em;
}
.bk-sub-lead{font-size:.86em;color:#8b9080;margin:0 0 26px;line-height:1.7}
.bk-list{display:flex;flex-direction:column;gap:22px}
.bk-row{
  display:flex;align-items:center;gap:18px;width:100%;
  background:none;border:0;padding:0;cursor:pointer;text-align:left;
  -webkit-tap-highlight-color:transparent;
}
.bk-thumb{
  flex:0 0 96px;width:96px;aspect-ratio:210/285;border-radius:2px;overflow:hidden;
  box-shadow:0 10px 20px -6px rgba(50,35,25,.42), 0 2px 5px rgba(0,0,0,.10);
  background:#eee;display:block;
}
.bk-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.bk-meta{flex:1;min-width:0;display:block}
.bk-no{
  display:block;font-family:-apple-system,sans-serif;font-size:.68em;letter-spacing:.2em;
  color:#b5ab97;margin-bottom:6px;
}
.bk-name{
  display:block;font-family:JiahuaSerif,'Songti SC',serif;
  font-size:1.06em;font-weight:600;color:#2f3a2c;letter-spacing:.06em;margin-bottom:7px;
}
.bk-sub{
  display:block;font-size:.86em;color:#67715f;line-height:1.6;margin-bottom:5px;
}
.bk-desc{display:block;font-size:.76em;color:#a3a894;line-height:1.7}
.bk-go{flex:0 0 auto;color:#c9c2b1;font-size:1.4em;line-height:1}
.bk-row:active .bk-thumb{box-shadow:0 4px 10px -4px rgba(50,35,25,.5);transform:translateY(1px)}
.bk-note{
  font-size:.76em;line-height:1.9;color:#a3a894;margin:30px 0 0;text-align:center;
  padding-top:22px;border-top:1px solid #efeade;
}



.bk-name-note{font-size:.78em;color:#8b9080;margin:18px 0 0;text-align:center}

/* 这一章写到哪了 */
#ch-prog{
  position:sticky;top:0;z-index:30;
  display:flex;flex-direction:column;gap:6px;
  padding:10px 18px 12px;background:rgba(250,249,242,.96);
  backdrop-filter:blur(8px);border-bottom:1px solid #eee8d8;
}
#ch-prog .cp-txt{font-size:.84em;color:#5d6b55;letter-spacing:.02em}
#ch-prog .cp-track{height:5px;border-radius:3px;background:#eae5d6;overflow:hidden}
#ch-prog .cp-track i{display:block;height:100%;border-radius:3px;transition:width .4s ease}

/* 这一章写到哪了（固定在顶部，任何页面重绘都不会被冲掉） */
#ch-prog{
  position:fixed;left:0;right:0;top:0;z-index:2147483000;
  display:flex;flex-direction:column;gap:5px;
  padding:7px 16px 8px;background:rgba(250,249,242,.97);
  backdrop-filter:blur(10px);border-bottom:1px solid #e8e2d2;
  box-shadow:0 2px 8px rgba(80,70,50,.06);
}
#ch-prog .cp-txt{font-size:.8em;color:#5d6b55;letter-spacing:.02em}
#ch-prog .cp-track{height:4px;border-radius:3px;background:#eae5d6;overflow:hidden}
#ch-prog .cp-track i{display:block;height:100%;border-radius:3px;transition:width .4s ease}
body{padding-top:44px}

/* 进度条加强可见度 */
#ch-prog .cp-track{height:6px !important;border-radius:4px !important;background:#ded7c2 !important}
#ch-prog .cp-track i{background:#5f8a5a !important;min-width:6px}
#ch-prog .cp-txt{font-size:.86em !important;color:#4d5a46 !important;font-weight:500}

/* 「还差多少字」挂在结束本段下面 */
#cp-under{display:flex;flex-direction:column;gap:4px;align-items:center;margin-top:10px}
#cp-under .cp-line{font-size:.82em;color:#6b7562;letter-spacing:.02em}
#cp-under .cp-hint{color:#a5ab99}
#cp-under .cp-track{width:120px;height:4px;border-radius:3px;background:#e4ddca;overflow:hidden;display:block}
#cp-under .cp-track i{display:block;height:100%;background:#6f9a68;border-radius:3px;transition:width .4s ease}
/* 把之前固定在顶上那条的样式作废 */
#ch-prog{display:none !important}
body{padding-top:0 !important}

/* 这行提示单独占一行，别把按钮挤变形 */
#cp-under{
  flex:0 0 100% !important;
  width:100% !important;
  display:flex;flex-direction:column;gap:5px;align-items:center;
  margin-top:12px;order:99;
}
#cp-under .cp-line{font-size:.84em;color:#6b7562;letter-spacing:.02em;white-space:nowrap}
#cp-under .cp-hint{color:#a9af9d}
#cp-under .cp-track{width:150px;height:4px;border-radius:3px;background:#e4ddca;overflow:hidden;display:block}
#cp-under .cp-track i{display:block;height:100%;background:#6f9a68;border-radius:3px;transition:width .4s ease}
/* 按钮本身别被挤压 */
button{white-space:nowrap}

/* 「还差多少字」最终版：居中一行 + 一条细槽，不挤按钮 */
#cp-under{
  display:block !important;width:100% !important;flex:0 0 100% !important;
  text-align:center !important;padding:10px 12px 2px !important;order:99;
}
#cp-under .cp-line{
  display:block;font-size:12px;color:#7a8570;letter-spacing:.03em;
  line-height:1.5;white-space:normal;
}
#cp-under .cp-track{
  display:block;width:110px;height:3px;border-radius:2px;
  background:#e6dfcd;overflow:hidden;margin:6px auto 0;
}
#cp-under .cp-track i{display:block;height:100%;background:#7ba073;border-radius:2px;transition:width .4s}

/* ===== 家谱树：一辈一排，我居中 ===== */
.kin-tree{display:flex;flex-direction:column;gap:14px;padding:8px 4px 18px}
.kin-row{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative}
.kin-row + .kin-row::before{
  content:'';position:absolute;top:-14px;left:50%;width:1px;height:14px;background:#ddd6c4;
}
.kin-label{font-size:11px;color:#9a9c90;letter-spacing:.14em}
.kin-line{display:flex;gap:12px;justify-content:center;align-items:flex-start;flex-wrap:wrap;
  max-width:100%;padding:0 6px}
.kin-row-mid .kin-line{padding:2px 6px}
.kin-tree .tree-node{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  min-width:74px;padding:10px 8px 8px;border-radius:16px;
  background:#fff;border:1px solid #ece6d6;box-shadow:0 1px 2px rgba(90,80,60,.05);
}
.kin-tree .tree-node.axis{border-color:#cfd8c4;background:#fbfcf8}
.kin-tree .tree-node.current{border-color:#8fae7f;background:#f3f8ee}
.kin-tree .tree-ava{
  width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#f1eee4;color:#7d8471;font-size:16px;overflow:hidden;
}
.kin-tree .tree-ava img{width:100%;height:100%;object-fit:cover}
.kin-tree .tree-node b{font-size:13px;font-weight:600;color:#3f4a3a;line-height:1.2}
.kin-tree .tree-node small{font-size:10.5px;color:#9a9c90}

/* 家谱：三组布局，中轴永远在中间 */
.kin-tree .kin-line{display:flex;align-items:flex-start;justify-content:center;gap:10px;flex-wrap:nowrap;
  overflow-x:auto;width:100%;padding:0 4px 4px}
.kin-tree .kin-side{display:flex;gap:10px;flex:0 0 auto}
.kin-tree .kin-left{justify-content:flex-end}
.kin-tree .kin-right{justify-content:flex-start}
.kin-tree .kin-axis{display:flex;gap:10px;flex:0 0 auto;position:relative}
.kin-tree .kin-axis::after{
  content:'';position:absolute;left:50%;bottom:-14px;width:1px;height:14px;background:#dcd6c4;
}
.kin-tree .kin-gap{display:block;min-width:74px}
.kin-tree .kin-row{overflow:hidden}

/* 家谱卡片上的「＋」：从他身上长一支 */
.kin-tree .tree-node{position:relative}
.kin-tree .tree-add{
  position:absolute;right:-6px;bottom:-6px;width:22px;height:22px;border-radius:50%;
  background:#6f9a68;color:#fff;font-size:14px;line-height:22px;text-align:center;
  box-shadow:0 1px 3px rgba(60,80,50,.25);
}
.kin-tree .tree-node.spouse{border-color:#d9cfa8;background:#fdfbf3}

/* ===== 书页统一尺寸：每页一样大，不再有的长有的短 ===== */
.atelier-book{min-height:0 !important}
.atelier-paper{
  aspect-ratio:210 / 285;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  box-sizing:border-box;
  display:block;
  overflow:hidden;
}
.atelier-prose{min-height:0 !important;overflow:hidden}
.atelier-await{padding-top:8px !important}
@media (min-width:520px){
  .atelier-paper{aspect-ratio:210 / 285}
}

/* 裁剪区：照片直接摆进去 */
.crop-stage{position:relative;overflow:hidden}
.crop-stage #crop-img{display:block;max-width:none;user-select:none;-webkit-user-drag:none}
.crop-overlay{pointer-events:none}

/* 书页里不要原始录音 */
.seg-card{display:none !important}

/* 书页不再反复做入场/翻页动画（重画一次就闪一次） */
.atelier-prose{animation:none !important}
.atelier-guide-orb{animation:none !important}
.atelier-live-status>i{animation:none !important}
.atelier-turn-leaf{display:none !important}

/* 我们的书 · 合稿（二级页面） */
.sh-note{font-size:14px;color:#7b8173;line-height:1.8;padding:0 4px 14px}
.sh-note2{font-size:13px;color:#9a9c8f;padding:14px 4px}
.sh-list{display:flex;flex-direction:column;gap:10px}
.sh-row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:16px 14px;background:#fff;border:1px solid #e6e2d6;border-radius:14px;text-align:left}
.sh-row b{display:block;font-size:17px;color:#2f4a3c}
.sh-row small{color:#8b8f7e;font-size:13px}
.sh-go{color:#4a6b56;font-size:15px;flex-shrink:0}
.sh-entry{display:block;width:100%;margin:16px 0 8px;padding:18px 16px;background:#f1f4ee;border:1px solid #d9e0d2;border-radius:16px;text-align:left}
.sh-entry b{display:block;font-size:17px;color:#2f4a3c}
.sh-entry span{display:block;margin-top:4px;font-size:14px;color:#5d7a62}
.sh-card{background:#fff;border:1px solid #e9e5d9;border-radius:16px;padding:16px;margin:14px 0}
.sh-card h2{font-size:16px;color:#2f4a3c;margin-bottom:10px}
.sh-draft{width:100%;border:1px solid #e2ddcf;border-radius:12px;padding:12px;font-size:17px;line-height:1.9;color:#333;font-family:inherit}
.sh-hint{font-size:13px;color:#949686;margin:8px 0}
.sh-diff{border-top:1px dashed #e6e2d6;padding:10px 0}
.sh-diff b{font-size:15px;color:#8a5b2c}
.sh-diff p{font-size:15px;color:#4a4a42;margin-top:4px}
.sh-empty,.sh-empty2{color:#93958a;font-size:15px;line-height:1.9;text-align:center;padding:26px 10px}
.sh-actions{padding:6px 0 26px}
.sh-primary{width:100%;min-height:56px;border:0;border-radius:14px;background:#365a48;color:#fff;font-size:18px}

/* 禁止下拉刷新：整页一重载就跳回首页 */
html, body { overscroll-behavior-y: contain; overscroll-behavior-x: none; }
body { touch-action: pan-y; }

/* 没有配图的记录：用干净的浅色块，不再用旧画 */
.mem-thumb-ph{width:56px;height:56px;border-radius:14px;flex:0 0 auto;
  background:linear-gradient(140deg,#efeae0,#e3e9e1);position:relative;overflow:hidden}
.mem-thumb-ph::after{content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 32% 30%,rgba(255,255,255,.9),transparent 60%);}

/* 岁月点滴：一行一张图，干净不土 */
.memory-row{display:flex;align-items:center;gap:14px;width:100%;padding:12px;border:0;border-radius:18px;
  background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);margin-bottom:10px;text-align:left}
.memory-row img{width:72px;height:72px;border-radius:14px;object-fit:cover;flex:0 0 auto}
.memory-row span{flex:1;min-width:0}
.memory-row b{display:block;font-size:17px;font-weight:600;color:#2b3a31;line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.memory-row small{display:block;margin-top:4px;font-size:13px;color:#9a9a92}
.mem-chev{font-size:22px;color:#c3c8bf;padding-left:4px}

/* 「今天先到这里」这类次要按钮：原来背景 #f1eee6 和页面底色 #fbf9f1 太接近，
   看起来像一行普通文字，用户会以为点不了。提高对比度，让它明确是个按钮。 */
.atelier-actions .secondary{
  background:#fff;border-color:#cfd6c8;color:#2f4a3c;
  box-shadow:0 1px 3px rgba(38,52,39,.06);
}

/* 「今天先到这里」这类次要按钮：原来背景 #f1eee6 和页面底色 #fbf9f1 太接近，
   看起来像一行普通文字，用户会以为点不了。提高对比度，让它明确是个按钮。 */
.atelier-actions .secondary{
  background:#fff;border-color:#cfd6c8;color:#2f4a3c;
  box-shadow:0 1px 3px rgba(38,52,39,.06);
}

/* ===== 「讲一段故事，做成片子」按钮（首页 · 紧跟 hero，书/相册下方） =====
   演变：右下角悬浮按钮（压正文）→ 带副标题的卡片（啰嗦）→ 现在：就是一个按钮。
   尺寸和圆角跟"继续写下一段"完全一致；用描边款而不是实心绿，
   是为了不跟主按钮抢主次——一眼看过去谁是主角，仍然清清楚楚。 */
.film-btn{
  width:100%;min-height:58px;margin-top:12px;
  display:flex;align-items:center;justify-content:center;gap:9px;
  border-radius:16px;
  border:1.5px solid #a8bba1;
  background:#fffdf8;
  color:#2f4a3c;
  font-size:1.06em;font-weight:600;letter-spacing:.02em;
  text-decoration:none;
  transition:transform .12s ease,background .12s ease;
}
.film-btn:active{transform:scale(.985);background:#f3f7ec}
.film-btn .icon{width:20px;height:20px;margin:0;stroke-width:2;flex:0 0 auto}
