/* thlt.love CTA — celadon tablet, width:fit-content, no badge/chip */
.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;
}
.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 28px 10px 26px;
  box-sizing:border-box;
  text-decoration:none!important;
  color:#f3efe4!important;
  background:
    linear-gradient(105deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 36%),
    linear-gradient(180deg,#4a7a68 0%,#2f5a4a 52%,#27483c 100%);
  border:1px solid #c9b48a;
  border-radius:3px 14px 3px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(20,40,32,.35),
    inset 0 0 0 1px rgba(39,72,60,.5),
    0 8px 20px rgba(28,52,44,.28);
  overflow:hidden;
  animation:xfGlaze 4.6s ease-in-out infinite;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.xf-cta a::before{
  content:"";
  position:absolute;
  left:10px;top:50%;
  width:7px;height:7px;
  border-radius:50%;
  transform:translateY(-50%);
  background:radial-gradient(circle at 35% 30%,#f0e2b8,#b0893a 62%,#7a5a22);
  box-shadow:0 0 0 1px rgba(201,180,138,.7);
  pointer-events:none;
}
.xf-cta a::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 46%, transparent 62%);
  transform:translateX(-120%);
  animation:xfSheen 4.6s ease-in-out infinite;
  pointer-events:none;
}
.xf-cta-txt{
  position:relative;
  z-index:1;
  padding-left:12px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.4;
  text-align:center;
  white-space:nowrap;
  font-family:"Palatino Linotype","Songti SC","Noto Serif SC","STSong","SimSun","Microsoft YaHei",serif;
}
.xf-cta a:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 0 0 1px rgba(39,72,60,.5),
    0 12px 26px rgba(28,52,44,.36);
  animation-play-state:paused;
}
.xf-cta a:hover::after{animation-play-state:paused}
.xf-cta a:active{
  transform:translateY(1px) scale(.985);
  filter:brightness(.97);
}
@keyframes xfGlaze{
  0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(20,40,32,.35),inset 0 0 0 1px rgba(39,72,60,.5),0 8px 20px rgba(28,52,44,.28)}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(20,40,32,.35),inset 0 0 0 1px rgba(201,180,138,.45),0 10px 24px rgba(28,52,44,.34)}
}
@keyframes xfSheen{
  0%,28%{transform:translateX(-120%)}
  58%,100%{transform:translateX(120%)}
}
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{min-height:44px;padding:8px 18px 8px 20px;border-radius:3px 12px 3px 12px}
  .xf-cta-txt{font-size:13px;letter-spacing:.03em;white-space:normal}
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px))}
}
@media (prefers-reduced-motion:reduce){
  .xf-cta a,.xf-cta a::after{animation:none !important}
}
