/* thlt.art CTA — rice-paper scroll, indigo ink, cinnabar seal; not a sister recolor */
.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-block;
  width:fit-content;
  max-width:min(920px, calc(100% - 8px));
  padding:11px 28px 11px 22px;
  background-color:#f3ebda;
  background-image:
    linear-gradient(180deg, rgba(255,252,245,.7), rgba(232,220,196,.35)),
    repeating-linear-gradient(90deg, rgba(140,90,40,.03) 0 2px, transparent 2px 6px);
  color:#1c3144;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  letter-spacing:.07em;
  line-height:1.4;
  border:1px solid #243546;
  box-shadow:
    0 0 0 3px #f7f0e2,
    0 0 0 4px #8b2e1c,
    0 8px 20px rgba(28, 36, 44, .2);
  box-sizing:border-box;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.xf-cta a::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:6px;
  background:
    repeating-linear-gradient(
      180deg,
      #8b2e1c 0 3px,
      #c45a3a 3px 6px,
      #8b2e1c 6px 9px,
      transparent 9px 13px
    );
}
.xf-cta a::after{
  content:"";
  position:absolute;
  right:8px;
  top:50%;
  width:9px;
  height:9px;
  transform:translateY(-50%) rotate(9deg);
  border:1.5px solid #8b2e1c;
  box-shadow:inset 0 0 0 1px rgba(139,46,28,.35);
  pointer-events:none;
}
.xf-cta a:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
  box-shadow:
    0 0 0 3px #f7f0e2,
    0 0 0 4px #a33a24,
    0 12px 26px rgba(28, 36, 44, .28);
}
.xf-cta a:active{
  transform:translateY(1px) scale(.99);
  filter:brightness(.98);
}
body{padding-bottom:calc(96px + 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{font-size:13px;padding:10px 24px 10px 18px;letter-spacing:.04em}
  body{padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px))}
}
@media (prefers-reduced-motion:reduce){
  .xf-cta a{transition:none}
}
