/* Smooth-scroll helper + copy / screenshot protection.
   Loaded in number order by templates/site.php (order matters: later files win). */
/* smooth scrolling (Lenis) */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}

/* copy protection (only when enabled in admin) */
body.protected{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.protected img{-webkit-user-drag:none;user-drag:none;pointer-events:none}
body.protected a img,body.protected .qr img{pointer-events:auto}
body.protected input,body.protected textarea{-webkit-user-select:text;user-select:text}
.protect-toast{position:fixed;left:50%;bottom:24px;z-index:300;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);
  padding:12px 18px;border-radius:14px;background:#0b2639;border:1px solid var(--line);color:var(--ivory);font:500 17px/1.4 var(--sans);text-align:center;
  box-shadow:0 20px 40px -16px rgba(0,0,0,.8);transition:opacity .3s,transform .4s var(--ease)}
.protect-toast.show{opacity:1;transform:translate(-50%,0)}
/* screenshot protection (only when enabled in admin) */
.shot-watermark{position:fixed;inset:0;z-index:250;pointer-events:none;opacity:.05;background-repeat:repeat;background-size:460px 260px}
.shot-shield{position:fixed;inset:0;z-index:500;display:grid;place-items:center;text-align:center;padding:24px;
  background:radial-gradient(600px 400px at 50% 40%,rgba(226,189,120,.12),transparent 70%),#041120;opacity:0;visibility:hidden;pointer-events:none}
.shot-shield b{display:block;font:700 26px/1 var(--serif);letter-spacing:.12em;color:var(--gold-hi)}
.shot-shield small{display:block;margin-top:8px;font:600 11px/1 var(--serif);letter-spacing:.2em;color:var(--gold)}
.shot-shield p{margin-top:18px;color:var(--mist);font-size:18px}
body.shielded .shot-shield{opacity:1;visibility:visible;pointer-events:auto}
body.shielded > :not(.shot-shield){visibility:hidden}

