/* ============================================================
   产品设计师彭小哥 · 交互预览 v5
   色彩规范（用户锁死，不得改动）
   背景：#FFF4E8 及其浅衍生（暖米色系）
   文字 / 按钮 / 点缀：#3DB8B2 及其衍生色阶（青色系）
   全文件不出现第三种色相；阴影与描边均为青色系半透明，不用黑灰。
   ============================================================ */
:root{
  --cream:      #FFF4E8;
  --cream-1:    #FFF9F1;
  --cream-2:    #FCEFD9;
  --cream-3:    #F8E6CB;

  --teal:       #3DB8B2;
  --teal-l1:    #6FCFC9;
  --teal-l2:    #9ADFD9;
  --teal-l3:    #C8EDE9;
  --teal-l4:    #E6F6F4;
  --teal-d1:    #2E9A95;
  --teal-d2:    #227A76;
  --teal-d3:    #175A57;

  --ink:        var(--teal-d3);
  --ink-2:      var(--teal-d2);
  --ink-3:      var(--teal-d1);

  --shadow:     0 16px 38px rgba(23,90,87,.13);
  --shadow-sm:  0 6px 18px rgba(23,90,87,.09);
  --shadow-lg:  0 26px 60px rgba(23,90,87,.20);
  --line:       rgba(61,184,178,.26);

  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 13px;

  --reader-font: 19px;
  --ease: cubic-bezier(.22,.8,.28,1);
}

*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ margin:0; padding:0; }
body{
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink);
  background:linear-gradient(158deg,#FFF4E8 0%,#FCEFD9 52%,#E6F6F4 100%);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
button,input{ font-family:inherit; color:inherit; }
button{ cursor:pointer; border:0; background:none; }
button:focus-visible,input:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }

/* ---------- 桌面舞台 ---------- */
.stage{ max-width:1180px; margin:0 auto; padding:26px 24px 44px; }
.stage-bar{ display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.stage-brand{ display:flex; align-items:center; gap:13px; }
.stage-dot{
  width:38px; height:38px; border-radius:14px 14px 20px 20px;
  background:linear-gradient(145deg,var(--teal),var(--teal-d2));
  box-shadow:var(--shadow-sm); position:relative; flex:none;
}
.stage-dot::after{
  content:""; position:absolute; inset:11px; border-radius:50%;
  border:2px solid var(--cream-1);
}
.stage-title{ font-size:17px; font-weight:700; letter-spacing:.02em; }
.stage-sub{ font-size:12px; color:var(--ink-3); margin-top:3px; letter-spacing:.06em; }
.stage-tools{ display:flex; gap:9px; flex-wrap:wrap; }
.tool-btn{
  display:inline-block; text-decoration:none;
  font-size:12px; font-weight:600; padding:9px 15px; border-radius:999px;
  color:var(--teal-d3); background:var(--cream-1);
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease);
}
.tool-btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.tool-btn:active{ transform:translateY(0) scale(.97); }
.tool-btn span{ color:var(--teal-d1); font-size:10px; margin-left:5px; letter-spacing:.08em; }
.tool-btn.ghost{ background:transparent; }
.stage-hint{
  font-size:12.5px; line-height:1.8; color:var(--ink-3);
  margin:16px 0 12px; padding:11px 16px; border-radius:var(--r-md);
  background:rgba(255,249,241,.7); border:1px solid var(--line);
}
.quick-links{ display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-bottom:22px; padding-left:2px; }
.quick-links>span{ font-size:10.5px; color:var(--teal-l1); letter-spacing:.08em; margin-right:3px; }
.quick-links a{
  font-size:10.5px; font-weight:600; color:var(--teal-d2); text-decoration:none;
  background:var(--cream-1); border:1px solid var(--line); border-radius:999px;
  padding:6px 12px; transition:transform .25s var(--ease),background .25s var(--ease);
}
.quick-links a:hover{ transform:translateY(-2px); background:var(--teal-l4); }
.stage-body{ display:flex; align-items:flex-start; justify-content:center; gap:34px; flex-wrap:wrap; }

/* ---------- 手机外框 ---------- */
.device{
  width:392px; height:760px; flex:none;
  border-radius:52px; padding:11px;
  background:linear-gradient(150deg,var(--teal-d2),var(--teal-d3));
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(61,184,178,.3);
  position:relative;
}
.device-notch{
  position:absolute; top:20px; left:50%; transform:translateX(-50%);
  width:112px; height:25px; border-radius:999px; background:var(--teal-d3);
  z-index:60;
}
.device-home{
  position:absolute; bottom:17px; left:50%; transform:translateX(-50%);
  width:118px; height:4px; border-radius:999px; background:var(--teal-l2); opacity:.75; z-index:60;
}
.screen{
  position:relative; width:100%; height:100%;
  border-radius:42px; overflow:hidden; background:var(--cream);
}

/* ---------- 视图切换 ---------- */
.view{
  position:absolute; inset:0; display:flex; flex-direction:column;
  opacity:0; visibility:hidden; transform:translateY(10px) scale(.995);
  transition:opacity .42s var(--ease),transform .42s var(--ease),visibility .42s;
  z-index:1;
}
.view.active{ opacity:1; visibility:visible; transform:none; z-index:2; }
.home-scroll,.reader-scroll,.chapter-scroll{
  flex:1; overflow-y:auto; overflow-x:hidden; scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.home-scroll::-webkit-scrollbar,.reader-scroll::-webkit-scrollbar,.chapter-scroll::-webkit-scrollbar{ display:none; }
.home-scroll{ padding:14px 12px 132px; }
.reader-scroll{ padding:8px 12px 44px; }
.chapter-scroll{ padding:8px 12px 52px; }

/* ---------- 通用装饰 ---------- */
.block{ position:relative; margin-bottom:20px; }
.arc-divider{
  height:8px; margin:-6px -12px 0;
  background:radial-gradient(120% 100% at 50% 0%,rgba(61,184,178,.10),transparent 72%);
  border-radius:0 0 50% 50% / 0 0 100% 100%;
}
.sec-head{ margin:0 0 15px; padding-left:2px; }
.sec-title{
  font-size:18.5px; font-weight:700; letter-spacing:.02em; color:var(--ink);
  display:flex; align-items:center; gap:9px;
}
.sec-title::before{
  content:""; width:5px; height:17px; border-radius:999px;
  background:linear-gradient(var(--teal),var(--teal-l2));
}
.sec-title.sm{ font-size:16.5px; }
.sec-sub{ font-size:13px; color:var(--ink-3); margin-top:6px; padding-left:14px; letter-spacing:.02em; }

/* 图片占位：全部由青 / 米两色构成，不用外部图片 */
.img-ph{ position:relative; overflow:hidden; background:linear-gradient(135deg,var(--teal-l3),var(--cream-2) 55%,var(--teal-l2)); }
.art-1{ background:radial-gradient(90% 70% at 20% 12%,var(--cream-1) 0%,transparent 58%),linear-gradient(155deg,var(--teal-l3) 0%,var(--teal) 58%,var(--teal-d2) 100%); }
.art-2{ background:radial-gradient(80% 60% at 78% 18%,var(--cream-1) 0%,transparent 60%),linear-gradient(160deg,var(--teal-d1) 0%,var(--teal) 52%,var(--teal-l3) 100%); }
.art-3{ background:radial-gradient(70% 90% at 12% 80%,var(--cream-1) 0%,transparent 62%),linear-gradient(120deg,var(--teal-l4) 0%,var(--teal-l2) 55%,var(--teal) 100%); }
.art-4{ background:linear-gradient(145deg,var(--teal-l3),var(--cream-2)); }
.art-ring{
  position:absolute; width:210px; height:210px; border-radius:50%;
  border:1px solid rgba(255,249,241,.62); top:-58px; right:-52px;
  box-shadow:0 0 0 26px rgba(255,249,241,.10),0 0 0 54px rgba(255,249,241,.07);
  animation:orbDrift 14s ease-in-out infinite alternate;
}
.art-orb{
  position:absolute; width:150px; height:150px; border-radius:50% 50% 46% 54% / 54% 46% 50% 50%;
  background:radial-gradient(circle at 35% 30%,rgba(255,249,241,.72),rgba(255,249,241,.05) 70%);
  bottom:-46px; left:-34px; animation:orbDrift 11s ease-in-out infinite alternate-reverse;
}
.dim-tag{
  position:absolute; right:9px; bottom:9px; z-index:5;
  font-size:11px; letter-spacing:.06em; color:var(--teal-d3);
  background:rgba(255,249,241,.82); border:1px solid rgba(255,249,241,.9);
  padding:4px 8px; border-radius:999px; box-shadow:var(--shadow-sm);
}

/* 后台标注模式 */
.cfg{ position:relative; }
body.admin-on .cfg{ outline:1px dashed var(--teal-d1); outline-offset:4px; }
/* 每个板块顶部预留一条标注带，标签置于其中，不遮挡任何内容 */
body.admin-on .block.cfg{ padding-top:22px; }
body.admin-on .cfg::after{
  content:attr(data-cfg);
  position:absolute; top:2px; right:2px; left:auto; z-index:80;
  font-size:10.5px; line-height:1.1; color:var(--teal-d3);
  background:var(--cream-1); border:1px solid var(--teal); border-radius:999px;
  padding:4px 9px; box-shadow:var(--shadow-sm); white-space:nowrap; letter-spacing:.01em;
  max-width:calc(100% - 6px); overflow:hidden; text-overflow:ellipsis;
}
body.admin-on .splash-art.cfg::after{ top:52px; }
body.admin-on .float-cta.cfg::after{ top:-19px; }

/* ---------- ① 打开页 ---------- */
.splash{ padding:0; }
.splash-art{ position:absolute; inset:0; }
.splash-art .art-ring{ width:330px; height:330px; top:52px; right:-96px; }
.splash-art .art-orb{ width:280px; height:280px; bottom:120px; left:-90px; }
.splash-art::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,transparent 12%,rgba(23,90,87,.14) 46%,rgba(23,90,87,.58) 82%,rgba(23,90,87,.74) 100%);
}
.splash-copy{
  position:absolute; left:20px; right:20px; bottom:206px; z-index:3;
  color:#FFF4E8; animation:fadeUp .9s .25s both var(--ease); text-align:center;
}
.splash-copy::before{
  content:""; position:absolute; left:-18px; right:-18px; top:-28px; bottom:-28px; z-index:-1;
  background:linear-gradient(180deg, rgba(15,70,68,0) 0%, rgba(15,70,68,.36) 44%, rgba(15,70,68,.60) 100%);
  border-radius:30px;
}
/* 2026-11-16 用户点名：两行大字重新生成（原来厚描边贴纸感重），
   改成干净的大间距排字 + 轻投影；整个字块上移一点点，下面留出呼吸。 */
.splash-title{ margin:0 0 20px; display:flex; flex-direction:column; align-items:center; gap:14px; line-height:1.12; }
.splash-title .t-row{
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",sans-serif;
  font-weight:800; color:#FFF4E8;
  text-shadow:0 2px 5px rgba(15,70,68,.55), 0 12px 28px rgba(15,70,68,.38);
}
.splash-title .t1{ font-size:54px; letter-spacing:.16em; text-indent:.16em; }
.splash-title .t2{
  font-size:31px; font-weight:600; letter-spacing:.34em; text-indent:.34em;
  opacity:.96; padding-bottom:7px; position:relative;
}
/* 第二行底下拖一道细笔触，代替原来生硬的粗描边 */
.splash-title .t2::after{
  content:""; position:absolute; left:6%; right:6%; bottom:0; height:7px;
  border-radius:999px 40% 999px 55% / 999px 60% 999px 40%;
  background:linear-gradient(90deg, rgba(255,244,232,.62), rgba(255,244,232,.18));
}
.splash-sub{ font-size:14px; letter-spacing:.16em; color:#FFF4E8; opacity:.95; margin:18px 0 0; font-weight:500; }
.splash-en{ font-size:10.5px; letter-spacing:.3em; color:#FFF4E8; opacity:.8; margin-top:9px; font-weight:600; }
.splash-line{ width:46px; height:1px; background:#FFF4E8; opacity:.55; margin:16px auto 10px; }
.splash-by{ font-size:12.5px; letter-spacing:.16em; color:#FFF4E8; opacity:.85; }
.splash-skip{
  position:absolute; z-index:4; bottom:64px; left:50%; transform:translateX(-50%);
  color:var(--teal-d3); background:var(--cream-1); font-size:15px; font-weight:700;
  padding:14px 26px; border-radius:999px; box-shadow:var(--shadow);
  animation:floaty 3.4s ease-in-out infinite;
  white-space:nowrap;
}
.splash-skip span{ margin-left:9px; }

/* ---------- ② 首页：轮播 ---------- */
.carousel{
  position:relative; border-radius:30px 30px 52px 52px / 30px 30px 34px 34px;
  overflow:hidden; box-shadow:var(--shadow); background:var(--teal-l3);
  height:216px; touch-action:pan-y;
}
.carousel-track{ display:flex; height:100%; transition:transform .78s var(--ease); }
.slide{
  flex:0 0 100%; height:100%; position:relative; overflow:hidden;
  display:flex; align-items:flex-end; padding:0 0 14px;
}
.slide .art-orb{ width:180px; height:180px; bottom:-56px; left:auto; right:-30px; }
.slide .art-ring{ width:170px; height:170px; top:-56px; right:auto; left:-46px; }
/* 图片上的编码与尺寸角标已按用户要求取消 */
.carousel-caption{
  position:absolute; left:18px; bottom:40px; z-index:4;
  color:var(--cream-1); font-size:15.5px; font-weight:600; letter-spacing:.05em;
  text-shadow:0 2px 12px rgba(23,90,87,.4);
  transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.carousel-caption.hide{ opacity:0; transform:translateY(6px); }
.carousel-dots{ position:absolute; left:18px; bottom:16px; z-index:5; display:flex; gap:6px; }
.dot{
  width:6px; height:6px; border-radius:999px; padding:0;
  background:rgba(255,249,241,.55); transition:width .4s var(--ease),background .4s var(--ease);
}
.dot.on{ width:20px; background:var(--cream-1); }

/* 身份区 · 赛车速度字（前倾拉伸 / 风阻切面 / 冲刺线 / 冲线动势） */
.identity{ position:relative; padding:0 54px 2px 4px; margin-top:-2px; animation:fadeUp .7s .1s both var(--ease); }
.racer-wrap{
  position:relative; display:inline-block; margin:2px 0 0;
  transform:skewX(-11deg) scaleX(1.08);
  transform-origin:left bottom;
}
.identity-name{
  display:block; position:relative; z-index:3;
  font-family:"Arial Black","Impact","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:48.5px; font-weight:900; line-height:1.06;
  letter-spacing:-.035em; white-space:nowrap;
  /* 斜向风阻切面：深青 → 亮青闪带 → 深青，模拟赛车涂装高光 */
  background:linear-gradient(99deg,
    var(--teal-d3) 0%, var(--teal-d2) 20%,
    var(--teal) 36%, var(--teal-l2) 44%,
    var(--cream-1) 49%,
    var(--teal-l2) 54%, var(--teal) 62%,
    var(--teal-d2) 80%, var(--teal-d3) 100%);
  background-size:180% 100%;
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.7px var(--teal-d3);
  filter:drop-shadow(2px 2px 0 var(--teal-l3));
  animation:racerSheen 5.5s ease-in-out infinite;
}
.racer-wrap::after{
  /* 风阻斜切带：一道掠过字面的浅色切面 */
  content:""; position:absolute; z-index:4; pointer-events:none;
  left:-6%; top:38%; width:112%; height:11%;
  background:linear-gradient(90deg,transparent,rgba(255,249,241,.78) 22%,rgba(255,249,241,.9) 62%,transparent);
  transform:skewX(-28deg); mix-blend-mode:screen; opacity:.75;
}
.racer-streaks{
  position:absolute; left:-46px; top:32%; width:44px; height:36%; z-index:2;
  background:
    linear-gradient(90deg,transparent,var(--teal-l1)) 0 8%/100% 2px no-repeat,
    linear-gradient(90deg,transparent,var(--teal)) 14% 42%/86% 2px no-repeat,
    linear-gradient(90deg,transparent,var(--teal-l2)) 4% 76%/96% 2px no-repeat;
  animation:streakRush 2.6s ease-in-out infinite;
}
.racer-trail{
  position:absolute; right:-34px; top:46%; width:32px; height:22%; z-index:2;
  background:linear-gradient(90deg,var(--teal-l1),transparent);
  clip-path:polygon(0 0,100% 42%,100% 58%,0 100%);
  opacity:.7; animation:trailRush 2.6s ease-in-out infinite;
}
.racer-finish{
  width:132px; height:7px; margin:8px 0 8px 2px;
  border-radius:4px; position:relative; overflow:hidden;
  background:repeating-linear-gradient(112deg,
    var(--teal-d2) 0 8px,var(--cream-1) 8px 16px,
    var(--teal-l2) 16px 24px,var(--cream-1) 24px 32px);
  mask-image:linear-gradient(90deg,var(--teal-d3) 55%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,var(--teal-d3) 55%,transparent 100%);
  transform:skewX(-11deg);
}
.racer-finish::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,transparent,var(--cream-1),transparent);
  animation:finishSweep 3.2s linear infinite;
}
.identity-role{ display:flex; align-items:center; gap:9px; font-size:16.5px; font-weight:600; letter-spacing:.16em; color:var(--teal-d2); }
.role-mark{ width:9px; height:9px; border-radius:50% 50% 50% 2px; background:var(--teal); transform:rotate(-45deg); }
.role-en{ font-size:10.5px; letter-spacing:.2em; color:var(--teal-l1); font-weight:500; margin-left:auto; }
.identity-note{ font-size:13.5px; color:var(--ink-3); margin-top:8px; letter-spacing:.03em; line-height:1.7; }

/* 浏览数 */
.viewers{ margin-top:10px; }
.viewer-row{
  display:flex; align-items:center; gap:10px;
  background:var(--cream-1); border:1px solid var(--line);
  border-radius:999px 22px 22px 999px; padding:9px 14px 9px 10px;
  width:fit-content; box-shadow:var(--shadow-sm);
}
.viewer-avatars{ display:flex; padding-left:5px; }
.mini-avatar{
  width:24px; height:24px; border-radius:50%; margin-left:-5px;
  border:2px solid var(--cream-1); box-shadow:var(--shadow-sm);
}
.ma1{ background:linear-gradient(140deg,var(--teal-l2),var(--teal-d1)); }
.ma2{ background:linear-gradient(140deg,var(--cream-3),var(--teal-l1)); }
.ma3{ background:linear-gradient(140deg,var(--teal),var(--teal-d3)); }
.viewer-text{ font-size:13.5px; color:var(--ink-3); letter-spacing:.02em; }
.viewer-text b{ color:var(--ink); font-size:15px; font-weight:700; font-variant-numeric:tabular-nums; transition:transform .3s var(--ease); display:inline-block; }
.viewer-text b.bump{ animation:numBump .5s var(--ease); }
.viewer-total{
  font-size:10.5px; color:var(--teal-d1); letter-spacing:.05em;
  border-left:1px solid var(--line); padding-left:9px;
}

/* 心形标签 · 紧凑配角版（较 v1 缩小约 50%） */
.tags-wrap{ margin-top:14px; }
.tags-mini-head{ font-size:12px; color:var(--ink-3); letter-spacing:.08em; margin:0 0 8px 3px; }
.tag-grid{ display:flex; flex-wrap:wrap; gap:5px; }
.tag{
  display:inline-flex; align-items:center; gap:5px;
  background:var(--cream-1); border:1px solid var(--line);
  border-radius:11px 11px 15px 11px; padding:5px 7px 5px 9px;
  font-size:11.5px; font-weight:600; color:var(--ink-3);
  transition:transform .3s var(--ease),background .3s var(--ease);
  animation:fadeUp .55s both var(--ease);
}
.tag:hover{ transform:translateY(-2px); }
.tag.on{ background:var(--teal-l4); color:var(--teal-d2); }
.heart{
  width:14px; height:14px; border-radius:50%; flex:none;
  background:rgba(61,184,178,.13); color:var(--teal-d1);
  font-size:10.5px; line-height:14px; text-align:center;
  transition:transform .3s var(--ease),background .3s var(--ease),color .3s var(--ease);
}
.heart.pop{ animation:heartPop .5s var(--ease); }
.tag.on .heart{ background:var(--teal); color:var(--cream-1); }
/* 2026-11-16 用户点名：点赞数字不再是个小圆圈，改成心形——前面小心心，后面一个大心装数字 */
.tag-count{
  width:22px; height:19px; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  padding-top:1px;
  font-size:9px; font-weight:700; color:var(--teal-d2); font-variant-numeric:tabular-nums;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239ADFD9' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .3s var(--ease);
}
.tag.on .tag-count{
  color:var(--cream-1); transform:scale(1.06);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233DB8B2' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* 简介板块 · 一条通栏筛选，点文字切换；选中主题彩色，未选中一般色 */
.intro{ margin-top:18px; }
.intro-filter{
  display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:10px;
  padding:8px 4px; border-radius:999px;
  background:var(--cream-1); border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.intro-filter-item{
  position:relative; flex:none; padding:5px 3px; border-radius:999px;
  font-size:15px; font-weight:600; color:var(--ink-3);
  text-align:center; letter-spacing:-.02em; white-space:nowrap;
  transition:color .3s var(--ease);
}
.intro-filter-item:hover{ color:var(--teal-d1); }
.intro-filter-item.on{ color:var(--teal-d2); font-weight:700; }
.intro-filter-item.on::after{
  content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%);
  width:22px; height:2px; border-radius:999px; background:var(--teal);
}
.intro-sep{ font-style:normal; font-size:15.5px; color:var(--teal-d1); padding:0 3px; font-weight:400; }
.intro-panel{
  min-height:186px; border-radius:var(--r-lg) var(--r-lg) 34px var(--r-lg);
  background:var(--cream-1); border:1px solid var(--line);
  box-shadow:var(--shadow-sm); padding:20px 18px;
  transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.intro-panel.swap{ opacity:0; transform:translateY(8px); }
.ip-lead{ font-size:14px; line-height:1.85; color:var(--ink-2); letter-spacing:.02em; }
.ip-lead b{ color:var(--ink); font-weight:700; }
.ip-title{ font-size:16.5px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.ip-media{
  height:112px; border-radius:18px 18px 26px 18px; margin:0 0 14px;
  position:relative; overflow:hidden;
}
.ip-video::after{
  content:"▶"; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:40px; height:40px; border-radius:50%; background:rgba(255,249,241,.86);
  color:var(--teal-d2); font-size:14.5px; line-height:40px; text-align:center; padding-left:3px;
  box-shadow:var(--shadow-sm);
}
.ip-cards{ display:grid; gap:9px; margin-top:12px; }
.ip-card{
  display:flex; align-items:center; gap:11px; padding:11px 13px;
  border-radius:14px 14px 20px 14px; background:var(--teal-l4); border:1px solid var(--line);
}
/* 2026-11-16 用户点名：数字序号改为和正文同款字体 + 虚线小框 */
.ip-card .ip-num{
  font-family:inherit; font-size:12.5px; font-weight:700; color:var(--teal-d2); flex:none;
  width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center;
  border:1px dashed var(--teal-d1); border-radius:11px; background:var(--cream-1);
  letter-spacing:.04em;
}
.ip-card .ip-txt b{ display:block; font-size:14px; color:var(--ink); }
.ip-card .ip-txt span{ font-size:12px; color:var(--ink-3); }
.ip-price{ margin-left:auto; font-size:15.5px; font-weight:700; color:var(--teal-d2); white-space:nowrap; }
.ip-note{
  margin-top:13px; padding:11px 13px; border-radius:14px;
  background:var(--teal-l4); border:1px dashed var(--teal-l1);
  font-size:12.5px; line-height:1.75; color:var(--ink-3);
}
.ip-lock{ text-align:center; padding:16px 8px 8px; }
.ip-lock-ico{ font-size:27.5px; color:var(--teal-l2); }
.ip-lock-t{ font-size:15.5px; font-weight:700; margin:10px 0 6px; }
.ip-lock-d{ font-size:13px; color:var(--ink-3); line-height:1.8; }
.ip-lock-btn{
  margin-top:14px; padding:10px 22px; border-radius:999px; font-size:13.5px; font-weight:600;
  color:var(--cream-1); background:linear-gradient(135deg,var(--teal),var(--teal-d1)); box-shadow:var(--shadow-sm);
}

/* 视频介绍 · 主播放台 */
.video-stage{
  position:relative; height:172px; margin:0 0 14px;
  border-radius:20px 20px 34px 20px; box-shadow:var(--shadow);
  display:flex; align-items:flex-end; padding:0 16px 15px;
}
.video-stage .art-ring{ width:190px; height:190px; top:-70px; right:-52px; }
.video-stage::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,transparent 34%,rgba(23,90,87,.52) 100%);
}
.video-glow{
  position:absolute; left:50%; top:44%; width:96px; height:96px;
  transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(circle,rgba(255,249,241,.42),transparent 70%);
  animation:softPulse 3s ease-in-out infinite;
}
.video-play{
  position:absolute; left:50%; top:44%; transform:translate(-50%,-50%); z-index:3;
  width:54px; height:54px; border-radius:50%;
  color:var(--teal-d2); background:var(--cream-1);
  box-shadow:0 0 0 9px rgba(255,249,241,.28),var(--shadow);
  font-size:18.5px; line-height:54px; text-align:center; padding-left:3px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.video-play:hover{ transform:translate(-50%,-50%) scale(1.09); }
.video-play:active{ transform:translate(-50%,-50%) scale(.96); }
.video-stage.playing .video-play{ animation:softPulse 1.1s ease-in-out infinite; }
.video-stage-tag{
  position:absolute; top:13px; left:14px; z-index:3;
  font-size:9px; letter-spacing:.1em; color:var(--teal-d3);
  background:rgba(255,249,241,.86); padding:5px 10px; border-radius:999px;
}
.video-stage-title{
  position:relative; z-index:3; color:var(--cream-1);
  font-family:"Songti SC",serif; font-size:16px; font-weight:600; letter-spacing:.05em;
  text-shadow:0 2px 12px rgba(23,90,87,.4);
}
.video-caption{ margin:0 0 12px; }
.video-caption-t{ font-size:14.5px; font-weight:700; color:var(--ink); margin-bottom:5px; }
.video-caption-d{ font-size:12.5px; line-height:1.8; color:var(--ink-3); }
.video-list{ display:grid; gap:7px; }
.video-item{
  display:flex; align-items:center; gap:10px; width:100%; text-align:left;
  padding:7px 9px; border-radius:14px 14px 19px 14px;
  background:var(--cream); border:1px solid var(--line);
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.video-item:hover{ transform:translateX(3px); }
.video-item.on{ background:var(--teal-l4); border-color:var(--teal-l1); }
.vi-thumb{
  width:44px; height:34px; flex:none; border-radius:9px 9px 13px 9px;
  display:flex; align-items:center; justify-content:center;
  color:var(--cream-1); font-size:12.5px; text-shadow:0 1px 6px rgba(23,90,87,.5);
}
.vi-txt{ flex:1; min-width:0; }
.vi-txt b{ display:block; font-size:13px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vi-txt small{ display:block; font-size:11px; color:var(--ink-3); margin-top:3px; }
.vi-arrow{ color:var(--teal-l1); font-size:15.5px; flex:none; }
.video-item.on .vi-arrow{ color:var(--teal-d2); }

/* 版权行 */
.copyright-line{
  font-size:11px; letter-spacing:.06em; color:var(--cream-1);
  opacity:.8; margin-top:18px;
}
.book-copyright{
  color:var(--teal-d1); opacity:1; margin:0 0 20px 2px;
  padding-left:10px; border-left:2px solid var(--teal-l2);
}

/* 阅读页横幅 · 情绪为王技能训练 + 跑马灯金句（后台 s6 可编辑）
   2026-11-16 用户点名：标题换掉宋体、加一道浅色笔刷底；滚动字改细长、不加密、边走边闪。 */
.skill-marquee{ margin:6px 0 22px; }
.marquee-title{
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:16px; font-weight:700; color:var(--teal-d2);
  letter-spacing:.14em; text-indent:.14em; text-align:center;
  width:fit-content; max-width:100%; margin:0 auto 12px;
  padding:8px 26px 10px; position:relative; line-height:1.4;
}
/* 笔刷刷过的浅色底（2026-11-16 用户点名重画）：不再用圆角色块，
   改成一笔扫过、前后带尾巴的笔触——两端细、微微上翘、颜色像喇叭口一样收弱。 */
.marquee-title::before{
  content:""; position:absolute; left:-14px; right:-18px; top:-1px; bottom:-5px; z-index:-1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 56' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23C8EDE9' stop-opacity='0'/%3E%3Cstop offset='.16' stop-color='%23C8EDE9' stop-opacity='.8'/%3E%3Cstop offset='.55' stop-color='%23E6F6F4'/%3E%3Cstop offset='.9' stop-color='%23C8EDE9' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23C8EDE9' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M2 26 C30 16 52 10 80 9 C124 6 172 9 208 11 C232 12 248 15 258 22 C246 28 226 32 198 34 C150 41 100 42 66 39 C38 36 14 32 2 26 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform:rotate(-1.2deg);
}
/* 第二笔：更浅的一抹，错开一点角度叠在下面，像扫帚扫过去留下的余痕 */
.marquee-title::after{
  content:""; position:absolute; left:-8px; right:-10px; top:3px; bottom:-2px; z-index:-2;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 56' preserveAspectRatio='none'%3E%3Cpath fill='%23E6F6F4' d='M2 26 C30 16 52 10 80 9 C124 6 172 9 208 11 C232 12 248 15 258 22 C246 28 226 32 198 34 C150 41 100 42 66 39 C38 36 14 32 2 26 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform:rotate(1deg); opacity:.65;
}
/* 2026-11-16 用户点名：外框不要椭圆胶囊了，改成上下两条线——
   两端不封口、颜色像喇叭口一样渐弱，两条线微微张开 */
.marquee-track-wrap{
  position:relative; overflow:hidden; border-radius:0;
  background:transparent; border:none; padding:11px 6px;
}
.marquee-track-wrap::before,
.marquee-track-wrap::after{
  content:""; position:absolute; left:0; right:0; height:1.5px;
  background:linear-gradient(90deg,
    rgba(154,223,217,0) 0%, var(--teal-l2) 13%, var(--teal-l1) 50%, var(--teal-l2) 87%, rgba(154,223,217,0) 100%);
}
.marquee-track-wrap::before{ top:1px; transform:rotate(-.35deg); }
.marquee-track-wrap::after{ bottom:1px; transform:rotate(.35deg); }
.marquee-track{
  display:inline-flex; white-space:nowrap; will-change:transform;
  animation:marqueeScroll 20s linear infinite;
}
.marquee-track span{
  /* 2026-11-16 用户点名：细长字体（不加粗）+ 边走边闪 */
  font-size:13.5px; font-weight:300; letter-spacing:.26em; color:var(--teal-d2);
  padding:0 30px; position:relative; white-space:nowrap;
  animation:marqueeTwinkle 2.4s ease-in-out infinite;
}
.marquee-track span:nth-child(odd){ animation-delay:1.2s; }
@keyframes marqueeTwinkle{
  0%,100%{ opacity:.72; text-shadow:none; }
  50%{ opacity:1; text-shadow:0 0 12px rgba(61,184,178,.38); }
}
.marquee-track span::after{
  content:"·"; position:absolute; right:0; color:var(--teal-l1);
}
@keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* 阅读页底部邀请分享按钮（形状参考返回主页胶囊） */
.share-invite{
  display:block; width:fit-content; max-width:100%; margin:22px auto 4px; padding:11px 20px;
  border-radius:999px; font-size:13px; font-weight:600; letter-spacing:.02em;
  color:var(--teal-d3); background:var(--cream-1);
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.share-invite:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.share-invite::before{ content:"↗"; margin-right:8px; color:var(--teal-d1); }

.home-tail{ text-align:center; padding:22px 10px 6px; }
.home-tail-quote{ font-family:"Songti SC",serif; font-size:16.5px; line-height:2; color:var(--teal-d2); letter-spacing:.04em; }
.home-tail-sign{ font-size:12px; color:var(--teal-l1); margin-top:10px; letter-spacing:.08em; }

/* 底部浮窗 */
.home-fade{
  position:absolute; left:0; right:0; bottom:0; height:116px; z-index:19;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,244,232,0) 0%,rgba(255,244,232,.86) 52%,var(--cream) 100%);
}
.float-cta{
  position:absolute; left:12px; right:12px; bottom:26px; z-index:20;
  display:flex; align-items:center; gap:11px;
  padding:15px 17px; border-radius:22px 22px 30px 22px;
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal) 62%,var(--teal-l1));
  box-shadow:0 14px 30px rgba(23,90,87,.30);
  font-size:15px; font-weight:600; letter-spacing:.02em;
  animation:floaty 4s ease-in-out infinite;
  transition:transform .3s var(--ease);
}
.float-cta:active{ transform:scale(.97); }
.float-cta-icon{ font-size:17.5px; opacity:.9; }
.float-cta-text{ flex:1; text-align:left; }
.float-cta-arrow{ font-size:17.5px; animation:nudge 2.2s ease-in-out infinite; }

/* ---------- 顶栏（阅读 / 章节常驻） ---------- */
.top-bar{
  flex:none; padding:46px 12px 12px; display:flex; align-items:center; gap:10px;
  background:linear-gradient(180deg,var(--cream) 72%,rgba(255,244,232,0));
  z-index:25;
}
.back-pill{
  font-size:13px; font-weight:600; color:var(--teal-d3);
  background:var(--cream-1); border:1px solid var(--line);
  border-radius:999px; padding:9px 14px; box-shadow:var(--shadow-sm); white-space:nowrap;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.back-pill:hover{ transform:translateX(-3px); box-shadow:var(--shadow); }
.wx-capsule{
  margin-left:auto; flex:none; display:flex; align-items:center;
  height:32px; border-radius:999px; background:var(--cream-1);
  border:1px solid var(--line); box-shadow:var(--shadow-sm); overflow:hidden;
}
.wx-cap-more,.wx-cap-close{
  width:42px; height:32px; display:flex; align-items:center; justify-content:center;
  color:var(--teal-d3); line-height:1;
}
.wx-cap-more{ font-size:14.5px; letter-spacing:-1px; }
.wx-cap-close{ font-size:17.5px; }
.wx-cap-line{ width:1px; height:17px; background:var(--line); flex:none; }
.font-ctrl{
  margin-left:auto; display:flex; align-items:center; gap:2px;
  background:var(--cream-1); border:1px solid var(--line); border-radius:999px;
  padding:4px 6px; box-shadow:var(--shadow-sm);
}
.font-ctrl button{ height:30px; padding:0 15px; border-radius:999px; font-size:12.5px; font-weight:600; color:var(--teal-d2); background:var(--teal-l4); border:none; transition:background .2s; }
.font-ctrl button:hover{ background:var(--teal); color:var(--cream-1); }
.font-ctrl button:active{ background:var(--teal-d2); color:var(--cream-1); }
.font-ctrl span{ font-size:11.5px; color:var(--ink-3); min-width:20px; text-align:center; font-variant-numeric:tabular-nums; }

/* ---------- ③ 著作首页 ---------- */
.book-hero{ display:flex; gap:16px; padding:14px 0 22px; }
.book-cover{
  width:126px; height:176px; flex:none;
  border-radius:12px 24px 24px 12px; box-shadow:var(--shadow);
  padding:15px 13px; color:var(--cream-1); position:relative;
  display:flex; flex-direction:column;
}
.book-cover::before{
  content:""; position:absolute; left:7px; top:0; bottom:0; width:1px;
  background:rgba(255,249,241,.45);
}
.book-cover .art-ring{ width:130px; height:130px; top:-40px; right:-46px; }
.cover-label{ font-size:9px; letter-spacing:.2em; opacity:.85; }
.cover-title{
  font-family:"Songti SC",serif; font-size:30.5px; font-weight:600;
  line-height:1.25; letter-spacing:.1em; margin-top:22px;
}
.cover-sub{ font-size:8.5px; letter-spacing:.22em; opacity:.8; margin-top:8px; }
.cover-author{ font-size:10.5px; letter-spacing:.1em; margin-top:auto; opacity:.92; }
.book-cover .dim-tag{ font-size:9.5px; padding:3px 6px; right:6px; bottom:6px; }
/* 后台上传了图：整张图铺满显示，隐藏 CSS 画出来的默认装饰，
   否则默认渐变/圆环/文字会压在上传图上，像旧封面蒙在外面。 */
.has-photo > .art-ring,
.has-photo > .art-orb{ display:none; }
.book-cover.has-photo::before{ display:none; }
.book-cover.has-photo > .cover-label,
.book-cover.has-photo > .cover-title,
.book-cover.has-photo > .cover-sub,
.book-cover.has-photo > .cover-author{ display:none; }
.book-meta{ flex:1; padding-top:4px; min-width:0; }
.book-name{
  display:flex; flex-wrap:wrap; gap:6px; align-items:center;
  margin:2px 0 10px; color:var(--ink);
}
.book-name .bn-char{
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",sans-serif;
  font-size:22px; font-weight:800; line-height:1; letter-spacing:0; color:var(--ink);
  width:34px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1.5px dashed var(--teal-d1); border-radius:8px;
  background:rgba(61,184,178,.05);
}
.book-desc{ font-size:13px; line-height:1.85; color:var(--ink-3); }
/* 旧版窄列 flex 定义已删除：统一用上方通栏 2 列，确保只占两排 */

.meaning{
  position:relative; padding:22px 20px 20px; margin-bottom:22px;
  border-radius:24px 24px 36px 24px;
  background:linear-gradient(145deg,var(--teal-l4),var(--cream-1));
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.meaning-mark{
  position:absolute; top:2px; right:18px; font-family:"Songti SC",serif;
  font-size:57.5px; color:var(--teal-l3); line-height:1;
}
.meaning-label{ font-size:12.5px; letter-spacing:.06em; color:var(--teal-d1); font-weight:700; }
.meaning-text{
  font-family:"Songti SC",serif; font-size:15.5px; line-height:2.05;
  color:var(--ink); letter-spacing:.04em; margin-top:12px; position:relative; z-index:2;
}

.suggest{ margin-bottom:24px; }
.suggest-list{ margin-top:12px; display:grid; gap:8px; }
.suggest-item{
  display:flex; align-items:center; gap:11px; font-size:13px; color:var(--ink-2);
  background:var(--cream-1); border:1px solid var(--line);
  border-radius:14px 14px 20px 14px; padding:11px 13px; line-height:1.6;
}
.suggest-item > span:first-child{ font-family:"Songti SC",serif; font-size:16.5px; color:var(--teal-l1); flex:none; }
.suggest-item .si-txt{ flex:1; min-width:0; font-size:13px; color:var(--ink-2); line-height:1.6; }

.toc-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:8px; margin-bottom:13px; flex-wrap:wrap; }
.toc-actions{ display:flex; align-items:center; gap:6px; }
.toc-toggle{
  font-size:11.5px; font-weight:600; color:var(--teal-d2); background:var(--cream-1);
  border:1px solid var(--line); border-radius:999px; padding:8px 11px; white-space:nowrap;
}
.toc-toggle:hover{ background:var(--teal-l4); }
.read-quota{ font-size:11.5px; color:var(--ink-3); margin-top:6px; letter-spacing:.02em; }
.read-quota b{ color:var(--teal-d2); font-size:13.5px; }
.random-btn{
  font-size:12px; font-weight:600; color:var(--teal-d2); white-space:nowrap;
  background:var(--teal-l4); border:1px solid var(--line);
  border-radius:999px; padding:8px 12px; transition:transform .25s var(--ease);
}
.random-btn:hover{ transform:translateY(-2px); }

.chapter-list{ display:grid; gap:10px; }
.chapter-item{
  display:flex; align-items:center; gap:13px; text-align:left; width:100%;
  background:var(--cream-1); border:1px solid var(--line);
  border-radius:18px 18px 26px 18px; padding:14px 15px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .3s var(--ease);
  animation:fadeUp .5s both var(--ease);
}
.chapter-item:hover{ transform:translateX(4px); box-shadow:var(--shadow); }
.chapter-item.read{ background:var(--teal-l4); }
.ci-no{
  font-family:"Songti SC",serif; font-size:23.5px; color:var(--teal-l1);
  width:34px; flex:none; text-align:center;
}
.ci-main{ flex:1; min-width:0; }
.ci-title{ font-size:14.5px; font-weight:700; color:var(--ink); letter-spacing:.02em; }
.ci-teaser{ font-size:12px; color:var(--ink-3); margin-top:5px; line-height:1.6; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ci-meta{ display:flex; align-items:center; gap:8px; margin-top:7px; font-size:10.5px; color:var(--teal-l1); letter-spacing:.04em; }
.ci-state{
  font-size:10.5px; color:var(--teal-d2); background:var(--teal-l4);
  border:1px solid var(--line); border-radius:999px; padding:3px 7px; white-space:nowrap;
}
.chapter-item.read .ci-state{ background:var(--cream-1); }
.ci-arrow{ font-size:16.5px; color:var(--teal-l1); flex:none; }
.reader-end{ text-align:center; font-size:11.5px; color:var(--teal-l1); letter-spacing:.14em; padding:30px 0 10px; }

/* ---------- ④ 章节正文 ---------- */
/* 「← 回到总目录」：加一个轻轻的呼吸动效，让用户一眼看得到（2026-11-16 用户点名） */
.chapter-back{
  font-size:12.5px; color:var(--teal-d1); padding:4px 8px; display:block;
  border-radius:10px; transition:color .3s var(--ease);
  animation:backPulse 2.8s ease-in-out infinite;
}
.chapter-back:hover{ text-decoration:underline; }
@keyframes backPulse{
  0%,100%{ background:transparent; box-shadow:none; transform:translateX(0); }
  50%{ background:var(--teal-l4); box-shadow:0 0 0 4px rgba(61,184,178,.07); transform:translateX(2px); }
}
.chapter-heading{ margin-bottom:20px; }
.chapter-no{ font-size:21px; color:var(--teal-l2); line-height:1; font-weight:700; letter-spacing:.04em; }
.chapter-heading h2{
  font-size:16px; font-weight:700;
  letter-spacing:.04em; color:var(--ink); margin:8px 0 6px; line-height:1.45;
}
.chapter-sub{ font-size:12px; color:var(--teal-l1); letter-spacing:.08em; }
.chapter-figure{
  border-radius:20px 20px 34px 20px; margin-bottom:22px;
  overflow:hidden; box-shadow:var(--shadow-sm); background:var(--teal-l4);
}
.chapter-figure .os-banner{ display:block; width:100%; height:auto; }
.chapter-body{
  font-family:"Songti SC","Noto Serif SC",serif;
  font-size:var(--reader-font); line-height:2.1; color:var(--ink-2);
  letter-spacing:.045em;
  transition:font-size .3s var(--ease);
}
.chapter-body p{ margin:0 0 1.15em; text-indent:2em; }
.chapter-body p.first::first-letter{
  font-size:2.3em; float:left; line-height:1; margin:6px 8px 0 0;
  color:var(--teal-d1); font-weight:600;
}
.chapter-quote{
  margin:26px 0 8px; padding:18px 18px 18px 22px;
  border-left:3px solid var(--teal-l1); border-radius:0 18px 18px 0;
  background:var(--teal-l4); font-family:"Songti SC",serif;
  font-size:15.5px; line-height:2; color:var(--ink); letter-spacing:.04em;
}
.chapter-end{ text-align:center; font-size:11.5px; color:var(--teal-l1); letter-spacing:.2em; padding:26px 0 20px; }
.next-chapter{
  display:block; width:100%; padding:14px; border-radius:18px 18px 26px 18px;
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal));
  font-size:14px; font-weight:600; box-shadow:var(--shadow-sm); letter-spacing:.03em;
}
.next-chapter span{ margin-left:8px; }
.next-chapter:hover{ box-shadow:var(--shadow); }

/* ---------- 底部弹层 ---------- */
.sheet-mask{
  position:absolute; inset:0; z-index:70; opacity:0; visibility:hidden;
  background:rgba(23,90,87,.36); backdrop-filter:blur(3px);
  transition:opacity .35s var(--ease),visibility .35s;
}
.sheet-mask.on{ opacity:1; visibility:visible; }
.sheet{
  position:absolute; left:0; right:0; bottom:0; z-index:75;
  background:var(--cream-1); border-radius:34px 34px 0 0;
  padding:14px 18px 30px; box-shadow:0 -14px 40px rgba(23,90,87,.18);
  transform:translateY(102%); transition:transform .46s var(--ease);
  max-height:92%; overflow-y:auto; scrollbar-width:none;
}
.sheet::-webkit-scrollbar{ display:none; }
.sheet.on{ transform:translateY(0); }
.sheet-handle{ width:42px; height:4px; border-radius:999px; background:var(--teal-l2); margin:0 auto 20px; }
.sheet-title{ font-family:"Songti SC",serif; font-size:21.5px; font-weight:600; color:var(--ink); letter-spacing:.04em; }
.sheet-desc{ font-size:13px; line-height:1.8; color:var(--ink-3); margin-top:8px; }
.auth-avatar-row{ display:flex; align-items:center; gap:14px; margin:20px 0 16px; }
.auth-avatar{
  width:62px; height:62px; border-radius:50% 50% 44% 56% / 50% 44% 56% 50%;
  flex:none; box-shadow:var(--shadow-sm); border:1px solid var(--line);
}
.avatar-plus{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:23.5px; color:var(--teal-d2); }
.auth-avatar-tip{ font-size:13.5px; font-weight:600; color:var(--ink-2); }
.tip-sub{ font-size:11px; color:var(--teal-l1); margin-top:5px; font-weight:400; }
.auth-field{
  display:flex; align-items:center; gap:12px; padding:13px 15px;
  background:var(--cream); border:1px solid var(--line); border-radius:16px; margin-bottom:10px;
}
.auth-field span{ font-size:13px; color:var(--ink-3); flex:none; }
.auth-field input{
  flex:1; border:0; background:transparent; outline:none; text-align:right;
  font-size:14px; color:var(--ink); min-width:0;
}
.auth-field input::placeholder{ color:var(--teal-l1); }
.auth-phone{
  display:flex; align-items:center; gap:10px; width:100%;
  padding:13px 15px; border-radius:16px; background:var(--teal-l4);
  border:1px solid var(--line); font-size:13px; color:var(--ink-2); text-align:left;
}
.phone-ico{ width:22px; height:22px; border-radius:50%; background:var(--teal-l3); color:var(--teal-d3); font-size:14.5px; line-height:22px; text-align:center; flex:none; }
.phone-state{ margin-left:auto; font-size:11.5px; color:var(--teal-d1); }
.auth-phone.ready .phone-state{ color:var(--teal-d2); font-weight:700; }
.auth-privacy{ font-size:11.5px; line-height:1.8; color:var(--teal-l1); margin:14px 2px 18px; }
.auth-agree{ display:flex; align-items:center; gap:8px; margin:4px 2px 14px; font-size:12.5px; color:var(--ink-2); }
.agree-check{ display:flex; align-items:center; gap:7px; }
.auth-agree input[type=checkbox]{ width:18px; height:18px; accent-color:var(--teal); flex:none; cursor:pointer; }
.agree-link{ color:var(--teal-d2); font-weight:600; text-decoration:underline; font-size:12.5px; padding:0; background:none; cursor:pointer; }
.agree-link:hover{ color:var(--teal-d3); }
.sheet-primary:disabled{ opacity:.42; filter:grayscale(.25); cursor:not-allowed; }
.auth-avatar.set{ border-color:var(--teal); }
.auth-avatar.set .avatar-plus{ color:var(--teal-d2); font-weight:700; font-size:20px; }
.sheet-primary{
  display:block; width:100%; padding:14px; border-radius:18px 18px 26px 18px;
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal) 65%,var(--teal-l1));
  font-size:14.5px; font-weight:600; letter-spacing:.04em; box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease);
}
.sheet-primary:active{ transform:scale(.98); }
.sheet-secondary{ display:block; width:100%; padding:13px; font-size:13.5px; color:var(--ink-3); margin-top:4px; }
.sheet-preview{ display:block; width:100%; padding:6px; font-size:11.5px; color:var(--teal-l1); text-decoration:underline; }
.sheet-foot{ text-align:center; font-size:11px; color:var(--teal-l1); margin-top:12px; line-height:1.7; }

/* 39 元提示 */
.pay-sheet .sheet-handle{ margin-bottom:12px; }
.pay-ornament{
  width:56px; height:56px; margin:0 auto 14px; border-radius:50% 50% 46% 54% / 54% 46% 50% 50%;
  background:linear-gradient(145deg,var(--teal-l3),var(--teal-l1));
  box-shadow:0 0 0 10px var(--teal-l4),var(--shadow-sm);
  animation:softPulse 3.4s ease-in-out infinite;
}
.pay-eyebrow{ text-align:center; font-size:11.5px; letter-spacing:.18em; color:var(--teal-d1); }
.pay-title{
  font-family:"Songti SC",serif; text-align:center; font-size:27.5px;
  font-weight:600; letter-spacing:.1em; color:var(--ink); margin:9px 0 18px;
}
.pay-body{
  font-size:13.5px; line-height:2; color:var(--ink-2);
  background:var(--cream); border:1px solid var(--line);
  border-radius:20px 20px 30px 20px; padding:18px 17px; margin-bottom:14px;
  white-space:pre-line;
}
.pay-body b{ color:var(--teal-d2); font-size:15.5px; }
/* 价格单独一行，后台改数字时一眼能看见 */
/* 一次解锁说明：纯文字备注，不做按钮感（用户 2026-11-16 指令） */
.pay-note{
  text-align:center; font-size:11.5px; color:var(--teal-l1);
  letter-spacing:.03em; margin:10px 0 0; line-height:1.6;
}
.pay-note b{ font-size:13.5px; color:var(--teal-d2); font-weight:700; }
.sheet-foot .agree-link{ margin-top:9px; font-size:11.5px; }

/* 39 元页底部说明区（用户 2026-11-17：底部展示空间重新分配，按钮区与说明区分开） */
.pay-legal{
  margin-top:16px; padding-top:13px;
  border-top:1px solid var(--line); text-align:center;
}
.pay-legal .sheet-foot{ margin-top:0; }
/* 退款提示：用户点名要红字。全站唯一一处非青色，只用于这一句法务性提示 */
.pay-refund{
  display:inline-block; font-size:11.5px; line-height:1.5; letter-spacing:.02em;
  color:#C94F3D; background:rgba(201,79,61,.07);
  border:1px solid rgba(201,79,61,.24); border-radius:999px;
  padding:4px 13px; margin-bottom:11px;
}
/* 返回按钮：轻轻闪一下，让人先看见「可以慢慢来」这条路（用户 2026-11-17 点名要闪动） */
.pay-back-txt{
  display:inline-block; color:var(--ink-3);
  animation:payBackFlash 2.6s ease-in-out infinite;
}
@keyframes payBackFlash{
  0%, 38%, 100%{ color:var(--ink-3); text-shadow:none; }
  52%{ color:var(--teal-d2); text-shadow:0 0 10px rgba(61,184,178,.35); }
  64%{ color:var(--ink-3); text-shadow:none; }
  74%{ color:var(--teal-d2); text-shadow:0 0 10px rgba(61,184,178,.28); }
  86%{ color:var(--ink-3); text-shadow:none; }
}

/* Toast */
.toast{
  position:absolute; left:50%; bottom:104px; z-index:95;
  transform:translate(-50%,12px); opacity:0; visibility:hidden;
  background:var(--teal-d3); color:var(--cream-1);
  font-size:12.5px; line-height:1.6; padding:11px 17px; border-radius:999px;
  box-shadow:var(--shadow); max-width:82%; text-align:center;
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.toast.on{ opacity:1; visibility:visible; transform:translate(-50%,0); }

/* ---------- 右侧说明 ---------- */
.legend{ width:288px; display:grid; gap:14px; padding-top:6px; }
.legend-card{
  background:rgba(255,249,241,.82); border:1px solid var(--line);
  border-radius:24px 24px 32px 24px; padding:18px 18px 17px; box-shadow:var(--shadow-sm);
}
.legend-card.pending{ background:var(--teal-l4); }
.legend-title{ font-size:12.5px; font-weight:700; color:var(--ink); letter-spacing:.03em; margin-bottom:13px; }
.swatches{ display:flex; gap:10px; }
.swatch{ display:flex; align-items:center; gap:9px; flex:1; font-size:9.5px; line-height:1.5; color:var(--ink-3); }
.swatch i{ width:34px; height:34px; border-radius:12px; border:1px solid var(--line); flex:none; box-shadow:var(--shadow-sm); }
.swatch-row{ display:flex; gap:5px; margin-top:14px; }
.swatch-row i{ flex:1; height:16px; border-radius:5px; border:1px solid rgba(255,249,241,.7); }
.legend-note{ font-size:10px; line-height:1.8; color:var(--ink-3); margin-top:13px; }
.legend-list{ margin:0; padding-left:16px; }
.legend-list li{ font-size:10.5px; line-height:1.85; color:var(--ink-3); margin-bottom:4px; }
.legend-list li::marker{ color:var(--teal-l1); }

/* ---------- 分享卡片预览 ---------- */
.share-overlay{
  position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  background:rgba(23,90,87,.42); backdrop-filter:blur(5px);
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease),visibility .35s;
  padding:20px;
}
.share-overlay.on{ opacity:1; visibility:visible; }
.share-panel{
  width:min(420px,100%); background:var(--cream-1);
  border-radius:28px 28px 38px 28px; padding:22px; box-shadow:var(--shadow-lg);
  transform:translateY(14px) scale(.98); transition:transform .4s var(--ease);
}
.share-overlay.on .share-panel{ transform:none; }
.share-panel-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:16px; }
.share-sub{ font-size:10px; color:var(--teal-l1); margin-top:5px; }
.share-close{ width:30px; height:30px; border-radius:50%; background:var(--teal-l4); color:var(--teal-d2); font-size:13px; flex:none; }
.share-card{
  width:100%; aspect-ratio:5/4; border-radius:20px 20px 32px 20px;
  display:flex; align-items:flex-end; padding:22px; box-shadow:var(--shadow-sm);
  color:var(--cream-1); cursor:pointer; position:relative;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.share-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.share-card-badge{
  position:absolute; top:15px; left:15px; z-index:2;
  font-size:11px; letter-spacing:.05em; font-weight:600;
  color:var(--cream-1); background:rgba(23,90,87,.30);
  border:1px solid rgba(255,249,241,.45); border-radius:999px; padding:5px 11px;
}
.share-card-open{ font-size:11.5px; letter-spacing:.08em; margin-top:13px; opacity:.95; }
.share-card .art-ring{ width:190px; height:190px; top:-60px; right:-40px; }
.share-card-name{ font-family:"Songti SC",serif; font-size:22px; letter-spacing:.08em; font-weight:600; }
.share-card-desc{ font-size:11px; letter-spacing:.06em; margin-top:8px; opacity:.92; }
.share-spec{ font-size:10px; color:var(--ink-3); line-height:1.8; margin-top:14px; }

/* 注册协议弹层 */
.agree-overlay{
  position:fixed; inset:0; z-index:210; display:flex; align-items:center; justify-content:center;
  background:rgba(23,90,87,.42); backdrop-filter:blur(5px);
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease),visibility .35s; padding:20px;
}
.agree-overlay.on{ opacity:1; visibility:visible; }
.agree-panel{
  width:min(460px,100%); max-height:80vh; display:flex; flex-direction:column;
  background:var(--cream-1); border-radius:28px 28px 38px 28px; padding:22px;
  box-shadow:var(--shadow-lg); transform:translateY(14px) scale(.98); transition:transform .4s var(--ease);
}
.agree-overlay.on .agree-panel{ transform:none; }
.agree-head{ display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:14px; }
.agree-close{ width:30px; height:30px; border-radius:50%; background:var(--teal-l4); color:var(--teal-d2); font-size:13px; flex:none; }
.agree-body{ overflow-y:auto; scrollbar-width:none; font-size:12.5px; line-height:1.9; color:var(--ink-2); padding-right:4px; }
.agree-body::-webkit-scrollbar{ display:none; }
.agree-body h4{ font-size:13.5px; color:var(--teal-d2); margin:16px 0 6px; letter-spacing:.02em; }
.agree-body h4:first-child{ margin-top:0; }
.agree-body p{ margin:0 0 8px; }
.agree-body .agree-note{ margin-top:14px; padding:10px 12px; border-radius:12px; background:var(--teal-l4); border:1px dashed var(--teal-l1); color:var(--ink-3); font-size:11.5px; line-height:1.8; }
.agree-ok{ margin-top:16px; padding:12px; border-radius:18px 18px 26px 18px; width:100%;
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal)); font-size:14px; font-weight:600; box-shadow:var(--shadow-sm); }

/* ---------- 动效 ---------- */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-5px); } }
@keyframes softPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.55; transform:scale(.88); } }
@keyframes heartPop{ 0%{ transform:scale(1); } 40%{ transform:scale(1.42); } 70%{ transform:scale(.9); } 100%{ transform:scale(1); } }
@keyframes numBump{ 0%{ transform:scale(1); } 45%{ transform:scale(1.28); color:var(--teal); } 100%{ transform:scale(1); } }
@keyframes nudge{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(5px); } }
@keyframes orbDrift{ from{ transform:translate(0,0) rotate(0deg); } to{ transform:translate(20px,-16px) rotate(24deg); } }
/* 赛车速度字动势 */
@keyframes racerSheen{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
@keyframes streakRush{ 0%,100%{ transform:translateX(-5px); opacity:.55; } 50%{ transform:translateX(3px); opacity:1; } }
@keyframes trailRush{ 0%,100%{ transform:translateX(0); opacity:.4; } 50%{ transform:translateX(7px); opacity:.85; } }
@keyframes finishSweep{ from{ transform:translateX(-100%); } to{ transform:translateX(100%); } }


/* ---------- v3 · 职业功能词条（细体 · 文字 + | 分隔） ---------- */
.skill-line{
  margin-top:10px; padding-top:9px; border-top:1px dashed var(--line);
  font-size:12px; font-weight:300; line-height:1.95;
  color:var(--teal-d1); letter-spacing:.02em;
}
.skill-item{ display:inline; }
.skill-sep{ display:inline; font-style:normal; color:var(--teal); padding:0 6px; font-weight:400; }
body.admin-on .skill-line.cfg::after{ top:auto; bottom:-17px; }

/* ---------- v3 · 全书目录（按章分组、可折叠） ---------- */
.toc-list{ display:grid; gap:10px; }
.toc-group{
  border-radius:18px 18px 26px 18px; overflow:hidden;
  background:var(--cream-1); border:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.toc-group-head{
  display:flex; align-items:center; gap:9px; width:100%; text-align:left;
  padding:12px 13px; background:linear-gradient(100deg,var(--teal-l4),var(--cream-1));
  border-bottom:1px solid transparent;
}
.toc-group.open .toc-group-head{ border-bottom-color:var(--line); }
.tg-badge{
  flex:none; font-size:11.5px; font-weight:700; letter-spacing:.04em;
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal));
  padding:5px 9px; border-radius:999px; white-space:nowrap;
}
.tg-title{ flex:1; min-width:0; font-size:13px; font-weight:700; color:var(--ink); line-height:1.5; }
.tg-count{ flex:none; font-size:10.5px; color:var(--teal-d1); white-space:nowrap; }
.tg-caret{ flex:none; font-size:14.5px; color:var(--teal-d1); transition:transform .3s var(--ease); }
.toc-group.open .tg-caret{ transform:rotate(180deg); }
.toc-group-body{ display:none; padding:6px 9px 10px; }
.toc-group.open .toc-group-body{ display:grid; gap:1px; }
.toc-item{
  display:flex; align-items:center; gap:9px; width:100%; text-align:left;
  padding:9px 8px; border-radius:12px;
  transition:background .25s var(--ease),transform .25s var(--ease);
}
.toc-item:hover{ background:var(--teal-l4); transform:translateX(2px); }
.toc-item.read .ti-title{ color:var(--teal-d1); }
.ti-no{
  flex:none; width:43px; font-size:11px; color:var(--teal-l1);
  letter-spacing:.02em; font-variant-numeric:tabular-nums;
}
.ti-title{ flex:1; min-width:0; font-size:12.5px; line-height:1.55; color:var(--ink-2); }
.ti-state{
  flex:none; font-size:10px; color:var(--teal-d2); background:var(--teal-l4);
  border:1px solid var(--line); border-radius:999px; padding:3px 6px; white-space:nowrap;
}
.ti-arrow{ flex:none; font-size:12.5px; color:var(--teal-l2); }

/* ---------- v3 · 分页阅读器 ---------- */
.reader-tool{
  flex:none; padding:2px 12px 10px; z-index:24;
  background:linear-gradient(180deg,var(--cream) 76%,rgba(255,244,232,0));
}
.reader-tool-row{ display:flex; align-items:center; justify-content:space-between; gap:8px; }

/* ===== 听书圆钮 + 下滑播放器（2026-11-16 · 用户点名：好看的圆形 + 动态特效） ===== */
.listen-orb{
  flex:0 0 auto; position:relative; width:46px; height:46px; border-radius:50%;
  border:none; cursor:pointer;
  background:linear-gradient(145deg,var(--teal-l1),var(--teal) 55%,var(--teal-d2));
  color:#FFF4E8; font-size:15px; font-weight:800; letter-spacing:.06em;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 7px 18px rgba(61,184,178,.38);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.listen-orb:hover{ transform:translateY(-2px) scale(1.06); box-shadow:0 10px 22px rgba(61,184,178,.46); }
.listen-orb:active{ transform:scale(.95); }
.listen-orb .lo-txt{ position:relative; z-index:2; }
.listen-orb .lo-ring{
  position:absolute; inset:-5px; border-radius:50%;
  border:2px solid var(--teal-l1); z-index:1; pointer-events:none;
  animation:orbPulse 2.4s ease-out infinite;
}
.listen-orb .lo-ring.r2{ animation-delay:1.2s; }
.listen-orb.playing .lo-ring{ animation-duration:1.1s; border-color:var(--teal); }
.listen-orb.playing .lo-ring.r2{ animation-duration:1.1s; animation-delay:.55s; }
@keyframes orbPulse{
  0%{ transform:scale(.82); opacity:.85; }
  75%{ transform:scale(1.28); opacity:0; }
  100%{ transform:scale(1.28); opacity:0; }
}

/* 下滑出现的播放器面板 */
.listen-panel{
  overflow:hidden; max-height:0; opacity:0; transform:translateY(-10px);
  transition:max-height .45s var(--ease), opacity .3s ease .05s, transform .45s var(--ease);
}
.listen-panel.open{ max-height:190px; opacity:1; transform:none; }
.lp-inner{
  margin-top:10px; background:var(--teal-l4);
  border:1px solid var(--line); border-radius:18px;
  padding:12px 14px 13px; text-align:center;
}
.lp-status{ display:block; font-size:11.5px; color:var(--teal-d1); letter-spacing:.02em; line-height:1.6; }
.lp-btns{ display:flex; justify-content:center; gap:14px; margin-top:10px; }
.lp-btn{
  width:52px; height:52px; border-radius:50%; cursor:pointer;
  background:var(--cream); border:1px solid var(--line);
  color:var(--teal-d2); font-size:17px; line-height:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  transition:transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.lp-btn small{ font-size:9.5px; letter-spacing:.05em; }
.lp-btn:hover{ transform:translateY(-2px); background:var(--teal-l3); }
.lp-btn:active{ transform:scale(.93); }
.lp-btn.play{
  width:58px; height:58px; font-size:20px;
  background:linear-gradient(145deg,var(--teal-l1),var(--teal) 55%,var(--teal-d2));
  border:none; color:#FFF4E8;
  box-shadow:0 6px 16px rgba(61,184,178,.36);
}
.lp-btn.play:hover{ box-shadow:0 9px 20px rgba(61,184,178,.44); }

/* 语速：上面 +、中间「语速」、下面 −（用户 2026-11-16 指定） */
.lp-rate{
  display:flex; flex-direction:column; align-items:center;
  width:62px; height:58px; flex:0 0 auto;
  background:var(--cream); border:1px solid var(--line); border-radius:16px;
  padding:1px 0; transition:background .25s ease;
}
.lp-rate:hover{ background:var(--teal-l4); }
.lp-rate-btn{
  width:100%; flex:1 1 auto; border:none; background:transparent; cursor:pointer;
  color:var(--teal-d2); font-size:15px; font-weight:800; line-height:1;
  border-radius:12px; transition:background .2s ease;
}
.lp-rate-btn:hover{ background:var(--teal-l3); }
.lp-rate-btn:active{ transform:scale(.95); }
.lp-rate-mid{ text-align:center; line-height:1.15; font-size:9.5px; color:var(--teal-d1); letter-spacing:.06em; }
.lp-rate-mid b{ display:block; font-size:11px; color:var(--teal-d2); font-weight:800; }

/* ===== 迷你播放条：离开正文页 / 回主页 / 看目录时声音不断（2026-11-16 · 用户点名） =====
   位置避让：底部大按钮 .float-cta 在 bottom:26px（高约 52px，顶边 78px），
   提示条 .toast 在 bottom:104px；所以迷你条放 bottom:86px，并让提示条在它出现时上移。 */
.mini-player{
  position:absolute; left:12px; right:12px; bottom:86px; z-index:30;
  display:flex; align-items:center; gap:10px;
  padding:9px 9px 9px 11px; border-radius:18px 18px 22px 18px;
  background:linear-gradient(135deg,rgba(255,249,241,.98),var(--cream-1));
  border:1px solid var(--line);
  box-shadow:0 12px 26px rgba(23,90,87,.18);
  opacity:0; visibility:hidden; transform:translateY(14px) scale(.97);
  transition:opacity .32s var(--ease), transform .38s var(--ease), visibility .32s;
}
.mini-player.on{ opacity:1; visibility:visible; transform:none; }
.mp-disc{
  flex:0 0 auto; width:32px; height:32px; border-radius:50%;
  background:linear-gradient(145deg,var(--teal-l1),var(--teal) 60%,var(--teal-d2));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(61,184,178,.34);
}
.mp-disc-core{ width:6px; height:6px; border-radius:50%; background:var(--cream-1); box-shadow:0 0 0 2px rgba(255,244,232,.45); }
.mini-player.playing .mp-disc{ animation:mpSpin 5.5s linear infinite; }
@keyframes mpSpin{ to{ transform:rotate(360deg); } }
.mp-main{
  flex:1 1 auto; min-width:0; display:block; text-align:left; cursor:pointer;
  background:none; border:none; padding:2px 0;
}
.mp-title{
  display:block; font-size:12.5px; font-weight:700; color:var(--teal-d3);
  letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mp-sub{
  display:block; font-size:10.5px; color:var(--teal-d1); letter-spacing:.02em;
  margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mp-toggle{
  flex:0 0 auto; width:34px; height:34px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(145deg,var(--teal-l1),var(--teal) 55%,var(--teal-d2));
  color:#FFF4E8; font-size:13px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 5px 12px rgba(61,184,178,.34);
  transition:transform .25s var(--ease);
}
.mp-toggle:active{ transform:scale(.92); }
.mp-close{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%; cursor:pointer;
  background:var(--teal-l4); border:1px solid var(--line); color:var(--teal-d1);
  font-size:11px; line-height:1; display:flex; align-items:center; justify-content:center;
  transition:background .25s ease,color .25s ease;
}
.mp-close:hover{ background:var(--teal-l3); color:var(--teal-d3); }
/* 迷你条出现时把提示条往上让开，别叠在一起 */
#miniPlayer.on ~ .toast{ bottom:172px; }


/* 分享按钮（2026-11-16 用户新增，替代原「切到连续滚动」）：小图标 + 「分享」 */
.share-switch{
  display:inline-flex; align-items:center; gap:5px;
  font-size:11px; font-weight:600; color:var(--teal-d2); background:var(--teal-l4);
  border:1px solid var(--line); border-radius:999px; padding:6px 11px; white-space:nowrap;
  transition:transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.share-switch svg{ color:var(--teal-d1); }
.share-switch:hover{ background:var(--teal-l3); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.share-switch:active{ transform:translateY(0) scale(.96); }
.read-progress{
  height:5px; border-radius:999px; background:var(--teal-l3);
  border:1px solid var(--teal-l2); margin:8px 0 7px; overflow:hidden;
}
.read-progress span{
  display:block; height:100%; width:0; border-radius:999px;
  background:linear-gradient(90deg,var(--teal),var(--teal-d2));
  transition:width .35s var(--ease);
}
.reader-tool-meta{
  display:flex; justify-content:space-between; gap:8px;
  font-size:10.5px; color:var(--ink-3); line-height:1.5;
}
.reader-tool-meta span:last-child{ text-align:right; color:var(--teal-l1); }

.chapter-heading{ margin-bottom:12px; }
.page-stage{
  min-height:318px; border-radius:20px 20px 30px 20px;
  background:var(--cream-1); border:1px solid var(--line);
  padding:16px 15px 14px; margin-bottom:10px; box-shadow:var(--shadow-sm);
}
.page-stage.sw-r{ animation:pageInR .38s var(--ease); }
.page-stage.sw-l{ animation:pageInL .38s var(--ease); }
.page-body{ font-size:var(--reader-font); }
.page-notice{
  padding:13px 14px; border-radius:16px 16px 22px 16px; margin-bottom:14px;
  background:linear-gradient(140deg,var(--teal-l4),var(--cream-1));
  border:1px dashed var(--teal-l1);
}
.pn-tag{ font-size:10.5px; letter-spacing:.08em; color:var(--teal-d1); font-weight:700; }
.pn-t{ font-family:"Songti SC",serif; font-size:15.5px; font-weight:600; color:var(--ink); margin:7px 0 6px; }
.pn-d{ font-size:12px; line-height:1.8; color:var(--ink-3); }
.pn-list{ display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; }
.pn-list span{
  font-size:10.5px; color:var(--teal-d2); background:var(--cream-1);
  border:1px solid var(--line); border-radius:999px; padding:4px 8px;
}
.page-folio{ text-align:center; font-size:10.5px; color:var(--teal-l2); letter-spacing:.14em; margin:2px 0 14px; }
.sk-p{ margin:0 0 calc(1.05em + 4px); }
.sk-p i{
  display:block; height:10px; margin-bottom:8px; border-radius:999px;
  background:linear-gradient(90deg,var(--teal-l4),var(--teal-l3)); opacity:.9;
}
.page-hint{ text-align:center; font-size:11px; color:var(--teal-l1); line-height:1.7; margin:0 0 12px; }
.page-nav{
  position:absolute; left:12px; right:12px; bottom:22px; z-index:30;
  display:flex; align-items:center; gap:8px;
  padding:10px; margin:0;
  border-radius:999px; background:var(--cream-1);
  border:1px solid var(--line); box-shadow:var(--shadow);
}
.view.chapter .chapter-scroll{ padding-bottom:96px; }
.page-btn{
  flex:1; padding:10px 6px; border-radius:999px; font-size:12.5px; font-weight:600;
  color:var(--teal-d2); background:var(--teal-l4); border:1px solid var(--line);
  white-space:nowrap; transition:transform .25s var(--ease),opacity .25s var(--ease);
}
.page-btn.primary{
  color:var(--cream-1); background:linear-gradient(120deg,var(--teal-d2),var(--teal));
  border-color:transparent;
}
.page-btn:disabled{ opacity:.4; }
.page-count{ flex:none; min-width:42px; text-align:center; font-size:11.5px; color:var(--ink-3); font-variant-numeric:tabular-nums; }
.chapter-end{ text-align:center; font-size:11.5px; color:var(--teal-l1); letter-spacing:.14em; padding:14px 0 16px; }
@keyframes pageInR{ from{ opacity:.25; transform:translateX(16px); } to{ opacity:1; transform:none; } }
@keyframes pageInL{ from{ opacity:.25; transform:translateX(-16px); } to{ opacity:1; transform:none; } }


/* ---------- v5 · 名字板块右侧联系方式图标（上下排列、纯图标 + 动效） ---------- */
.contact-stack{
  position:absolute; right:0; top:4px; z-index:8;
  display:flex; flex-direction:column; gap:9px;
}
.contact-btn{
  position:relative; width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--teal-d2); background:var(--cream-1);
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease);
}
.contact-btn:hover{ transform:translateY(-3px) scale(1.07); background:var(--teal-l4); box-shadow:var(--shadow); }
.contact-btn:active{ transform:scale(.93); }
.contact-btn svg{ display:block; animation:contactFloat 3.6s ease-in-out infinite; }
.contact-btn.phone svg{ animation-delay:1.2s; }
.contact-btn::after{
  content:""; position:absolute; inset:-3px; border-radius:50%;
  border:1px solid var(--teal-l2); opacity:0; pointer-events:none;
  animation:contactHalo 3.4s ease-out infinite;
}
.contact-btn.phone::after{ animation-delay:1.7s; }
.contact-btn.pulse::after{ animation:contactRipple .7s var(--ease); }
@keyframes contactFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-2.5px); } }
@keyframes contactHalo{ 0%{ opacity:.55; transform:scale(.9); } 70%,100%{ opacity:0; transform:scale(1.5); } }
@keyframes contactRipple{ from{ opacity:.8; transform:scale(1); } to{ opacity:0; transform:scale(1.7); } }

/* ---------- v5 · 主页金句差异化滚动展示 ---------- */
.home-tail{ text-align:center; padding:24px 6px 10px; }
.quote-stage{
  min-height:94px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:12px;
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.quote-stage.swap{ opacity:0; transform:translateY(-10px); }
.quote-text{
  font-family:"Songti SC",serif; font-size:16.5px; line-height:1.9;
  color:var(--teal-d2); letter-spacing:.04em; max-width:100%;
}
.quote-sign{ font-size:12px; color:var(--teal-l1); letter-spacing:.08em; }
.quote-dots{ display:flex; justify-content:center; gap:6px; margin-top:16px; }
.quote-dot{
  width:6px; height:6px; border-radius:999px; padding:0;
  background:var(--teal-l2); transition:width .4s var(--ease),background .4s var(--ease);
}
.quote-dot.on{ width:18px; background:var(--teal); }

@media (max-width:760px){
  .stage{ padding:18px 12px 36px; }
  .device{ width:min(392px,100%); height:760px; }
  .legend{ width:min(392px,100%); }
  .stage-hint{ display:none; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* ===== 可视化点着改（2026-11-16 · 后台嵌这个页面时才会出现，正式版不带） =====
   body.vedit 只有在地址带 #vedit 时才会加上（见 app.js），平常访客看不到。 */
body.vedit [data-txt], body.vedit [data-img]{
  outline:1.5px dashed rgba(61,184,178,.55); outline-offset:2px; cursor:pointer;
  border-radius:6px; transition:outline-color .2s ease, background .2s ease;
}
body.vedit [data-txt]:hover, body.vedit [data-img]:hover{
  outline-color:var(--teal-d2); background:rgba(61,184,178,.10);
}
body.vedit [data-txt].vedit-picked, body.vedit [data-img].vedit-picked{
  outline:2px solid var(--teal-d2); background:rgba(61,184,178,.14);
  animation:veditPulse 1s ease-in-out infinite;
}
@keyframes veditPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(61,184,178,.35); }
  50%{ box-shadow:0 0 0 7px rgba(61,184,178,0); }
}
/* 点着改模式：让全部动画瞬间跑完并停在终态，而不是「暂停」。
   注意：直接 pause 会把 fadeUp 之类停在 opacity:0 的第一帧，导致开屏文字整块消失。
   这里用极短时长 + 1 次迭代 + 零延迟，既彻底停掉 48 个运行中动画，
   又保证元素停在最终可见状态。正常预览 body 没有 .vedit 类，完全不受影响。 */
body.vedit *, body.vedit *::before, body.vedit *::after{
  animation-duration:.01ms !important;
  animation-iteration-count:1 !important;
  animation-delay:0s !important;
}
/* 点着改模式：只看手机，把说明区都收掉 */
body.vedit .stage-bar, body.vedit .stage-hint, body.vedit .quick-links,
body.vedit .legend, body.vedit .stage-foot{ display:none !important; }
body.vedit .stage-body{ justify-content:center; }
/* 底部小导航：方便跳到每一屏去改 */
.vedit-nav{
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%);
  z-index:90; display:flex; gap:5px; padding:5px 7px;
  background:rgba(255,244,232,.96); border:1px solid var(--teal-d1);
  border-radius:999px; box-shadow:0 8px 20px rgba(23,90,87,.22); white-space:nowrap;
}
.vedit-nav button{
  border:none; background:transparent; cursor:pointer;
  font-size:11px; font-weight:700; color:var(--teal-d2);
  padding:6px 9px; border-radius:999px; letter-spacing:.02em;
  transition:background .2s ease,color .2s ease;
}
.vedit-nav button:hover{ background:var(--teal-l3); color:var(--teal-d3); }
