/* guard — see inc/guard.php. Text cannot be selected, photos cannot be dragged or long-pressed. */
body.tg-guard{-webkit-user-select:none; -moz-user-select:none; user-select:none; -webkit-touch-callout:none}
body.tg-guard img, body.tg-guard canvas, body.tg-guard picture{-webkit-user-drag:none; user-drag:none; -webkit-touch-callout:none}
body.tg-guard input, body.tg-guard textarea, body.tg-guard select, body.tg-guard [contenteditable="true"]{-webkit-user-select:text; -moz-user-select:text; user-select:text; -webkit-touch-callout:default}

.tg-guard-note{position:fixed; inset-inline:0; bottom:22px; margin:0 auto; width:max-content; max-width:calc(100vw - 32px); z-index:2147483000;
  padding:11px 20px; border-radius:999px; border:1px solid rgba(216,178,74,.45); background:rgba(20,16,11,.94); color:#f1dfa8;
  font:500 .92rem/1.6 var(--font-body, Vazirmatn, Tahoma, sans-serif); text-align:center; box-shadow:0 12px 40px rgba(0,0,0,.5);
  opacity:0; transform:translateY(12px); transition:opacity .25s ease, transform .25s ease; pointer-events:none}
.tg-guard-note.on{opacity:1; transform:none}

@media print{
  body.tg-guard > *{display:none !important}
  body.tg-guard::before{content:"استفاده از مطالب تخت جمشید فقط با اجازهٔ مدیر سایت و با ذکر منبع مجاز است — takhtejamshidcup.com"; display:block; padding:40px; text-align:center; font:16px Tahoma, sans-serif; color:#000}
}
