/* xunhualuntan.co CTA — ink plaque + vermilion seal, lifted off the floor */
.xf-cta{
  position:fixed;
  left:0;
  right:0;
  bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  z-index:99999;
  display:flex;
  justify-content:center;
  pointer-events:none;
  padding:0 16px;
  box-sizing:border-box;
  animation:xfFloat 3.4s ease-in-out infinite;
}
.xf-cta a{
  pointer-events:auto;
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:14px;
  height:48px;
  width:auto;
  max-width:min(720px,100%);
  padding:0 6px 0 0;
  background:#161311;
  color:#f0d9a0;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  letter-spacing:.04em;
  line-height:1.2;
  border-radius:2px;
  box-shadow:0 8px 22px rgba(0,0,0,.4),0 0 0 1px #3a2a14,0 0 14px rgba(201,162,39,.16);
  box-sizing:border-box;
  overflow:hidden;
  animation:xfGlow 3.4s ease-in-out infinite;
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease, filter .22s ease;
}
.xf-cta a::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:#c9a227;
}
.xf-cta-txt{
  position:relative;
  z-index:1;
  padding:0 4px 0 18px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.xf-cta-go{
  position:relative;
  z-index:1;
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  height:36px;
  margin-right:6px;
  padding:0 14px;
  background:#8f1d16;
  color:#fff4d6;
  font-size:14px;
  font-weight:800;
  font-family:"Songti SC","STSong","Noto Serif SC","SimSun",serif;
  letter-spacing:.12em;
  border:1px solid #d4a04a;
  box-shadow:inset 0 0 0 1px #6a120d;
  transition:transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.xf-cta a:hover{
  transform:translateY(-3px);
  background:#1d1814;
  box-shadow:0 14px 28px rgba(0,0,0,.48),0 0 0 1px #5a3f16,0 0 24px rgba(201,162,39,.38);
  filter:brightness(1.05);
}
.xf-cta a:hover .xf-cta-go{
  background:#a5241b;
  box-shadow:inset 0 0 0 1px #6a120d,0 0 10px rgba(212,160,74,.35);
}
.xf-cta a:active{
  transform:translateY(1px) scale(.985);
  filter:brightness(.97);
  box-shadow:0 4px 12px rgba(0,0,0,.35),0 0 0 1px #3a2a14;
}
.xf-cta a:active .xf-cta-go{
  transform:scale(.97);
  background:#7a1812;
}
@keyframes xfFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
@keyframes xfGlow{
  0%,100%{box-shadow:0 8px 22px rgba(0,0,0,.4),0 0 0 1px #3a2a14,0 0 12px rgba(201,162,39,.12)}
  50%{box-shadow:0 12px 26px rgba(0,0,0,.45),0 0 0 1px #5a4318,0 0 22px rgba(201,162,39,.3)}
}
body{padding-bottom:calc(104px + env(safe-area-inset-bottom, 0px))}
@media (max-width:650px){
  .xf-cta{bottom:calc(18px + env(safe-area-inset-bottom, 0px));padding:0 12px}
  .xf-cta a{height:44px;gap:8px;font-size:13px}
  .xf-cta-txt{padding-left:14px}
  .xf-cta-go{min-width:64px;height:32px;font-size:13px;margin-right:4px;padding:0 10px}
  body{padding-bottom:calc(90px + env(safe-area-inset-bottom, 0px))}
}
@media (prefers-reduced-motion:reduce){
  .xf-cta,
  .xf-cta a,
  .xf-cta a::before,
  .xf-cta-go{
    animation:none !important;
  }
}
