/* 98堂「线装书签」底栏 — unique to this site; text only, hugs copy */
.xf-cta{
  position:fixed;left:0;right:0;
  bottom:calc(18px + env(safe-area-inset-bottom,0px));
  z-index:99999;display:flex;justify-content:center;
  pointer-events:none;padding:0 16px;box-sizing:border-box
}
.xf-cta a{
  pointer-events:auto;position:relative;
  display:inline-flex;align-items:center;justify-content:center;
  width:fit-content;max-width:100%;min-height:46px;
  padding:10px 22px 10px 26px;
  text-decoration:none;color:#243028;
  background:
    radial-gradient(circle at 9px 11px,#8a1d1d 0 2.6px,transparent 3px),
    radial-gradient(circle at 9px 50%,#8a1d1d 0 2.6px,transparent 3px),
    radial-gradient(circle at 9px calc(100% - 11px),#8a1d1d 0 2.6px,transparent 3px),
    linear-gradient(180deg,#f6f1e6 0%,#eadfcb 58%,#dccfb8 100%);
  border:1px solid #8a6840;
  border-left:3px solid #7a1b1b;
  border-radius:1px 9px 9px 1px;
  box-shadow:0 8px 20px rgba(48,30,16,.28),inset 0 1px 0 rgba(255,255,255,.55);
  box-sizing:border-box;
  transform-origin:center bottom;
  animation:xfLeaf 3.8s ease-in-out infinite;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease
}
.xf-cta-txt{
  position:relative;z-index:1;
  font-size:15px;font-weight:700;letter-spacing:.04em;
  line-height:1.4;white-space:nowrap;text-align:center;
  font-family:"Microsoft YaHei","PingFang SC","SimSun",serif
}
.xf-cta a:hover{
  animation-play-state:paused;transform:translateY(-3px);
  filter:brightness(1.04);
  box-shadow:0 14px 28px rgba(48,30,16,.34),inset 0 1px 0 rgba(255,255,255,.7)
}
.xf-cta a:active{
  animation-play-state:paused;transform:translateY(1px) scale(.985);
  filter:brightness(.97);
  box-shadow:0 5px 12px rgba(48,30,16,.26)
}
@keyframes xfLeaf{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-4px) rotate(-0.4deg)}
}
@media (min-width:768px){
  .xf-cta{bottom:calc(24px + env(safe-area-inset-bottom,0px));padding:0 24px}
  .xf-cta a{min-height:50px;padding:11px 28px 11px 30px}
  .xf-cta-txt{font-size:16px}
  body{padding-bottom:calc(24px + 60px + 24px + env(safe-area-inset-bottom,0px)) !important}
}
@media (max-width:650px){
  .xf-cta{bottom:calc(18px + env(safe-area-inset-bottom,0px));padding:0 12px}
  .xf-cta a{min-height:44px;padding:8px 16px 8px 20px;border-radius:1px 8px 8px 1px}
  .xf-cta-txt{font-size:13px;white-space:normal}
  body{padding-bottom:calc(18px + 72px + 20px + env(safe-area-inset-bottom,0px)) !important}
}
body{padding-bottom:calc(18px + 72px + 20px + env(safe-area-inset-bottom,0px)) !important}
@media (prefers-reduced-motion:reduce){
  .xf-cta a{animation:none}
  .xf-cta a:hover,.xf-cta a:active{animation:none}
}
.xf-weight{margin:12px 0;font-size:14px;color:#3a3a3a}
.xf-weight a{color:#1a5f8a;text-decoration:underline}
