/* Заглушка Anubis в стиле Агро Радара.
   Отдаётся по адресу /.within.website/ar/anubis.css?v=… — nginx (snippets/anubis-brand.conf) подменяет
   ссылку на xess.min.css в HTML. Старый адрес xess.min.css тоже отдаёт этот файл, но браузеры, открывшие
   заставку 18.09 00:49–01:04, держат оригинал Anubis в кэше год (Cache-Control max-age=31536000). */
:root{--brand:#12863d;--brand-strong:#0e6b30;--brand-tint:#f0f9f2;--brand-tint-2:#dbf0e0;--ink:#1a1a1a;--muted:#6b7280}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;-webkit-font-smoothing:antialiased}
main{display:flex!important;flex-direction:column!important;align-items:center!important;width:100%;max-width:440px}
main>div.centered-div{display:contents!important}
#image{order:1!important;width:84px!important;height:84px;max-width:84px!important;margin:0 0 20px}
/* Картинку меняет и скрипт Anubis (reject.webp при ошибке) — логотип ставим поверх любого src. */
#image{content:url("logo.png?v=20260918-2");object-fit:contain}
h1#title{order:2!important;margin:0 0 10px;font-size:20px;font-weight:600;line-height:1.3;color:var(--ink)}
/* Статус проверки. Текст в #status пишет скрипт Anubis из своего ru.json («Расчёт… Сложность: 3, Скорость: …kH/s»);
   ru.json тоже кэшируется браузером на год, поэтому текст скрипта прячем и показываем свой. */
#status{order:3!important;margin:0;display:block;font-size:0!important;line-height:0!important;color:var(--muted)}
#status br{display:none}
#status::before{content:"";display:inline-block;vertical-align:middle;width:16px;height:16px;margin-right:10px;border:2px solid var(--brand-tint-2);border-top-color:var(--brand);border-radius:50%;animation:ar-spin .8s linear infinite}
#status::after{content:"Проверяем браузер…";display:inline-block;vertical-align:middle;font-size:15px;line-height:20px}
@keyframes ar-spin{to{transform:rotate(360deg)}}
#progress{order:4!important;width:100%!important;max-width:260px!important;height:4px!important;margin:18px 0 0!important;background:var(--brand-tint-2)!important;border-radius:2px!important;overflow:hidden;outline:none!important}
#progress .bar-inner,.bar-inner{height:100%;width:0;background:var(--brand)!important;background-color:var(--brand)!important;border-radius:2px;transition:width .25s ease}
#anubis-script-error{order:5!important;margin:16px 0 0;font-size:14px;line-height:1.5;color:#b42318;max-width:360px}
noscript{order:6;font-size:14px;color:var(--muted);margin-top:16px}
/* Ошибка проверки: скрипт Anubis прячет #progress (style="display: none") и пишет свои заголовок и текст —
   показываем наши. */
main:has(#progress[style*="none"]) h1#title{font-size:0!important;margin-bottom:0}
main:has(#progress[style*="none"]) h1#title::after{content:"Проверка не завершилась";display:block;font-size:20px;margin-bottom:10px}
main:has(#progress[style*="none"]) #status::before{display:none}
main:has(#progress[style*="none"]) #status::after{content:"Обновите страницу. Если не поможет — разрешите cookie и JavaScript для agro-radar.ru, отключите блокировщики рекламы или откройте сайт в другом браузере.";display:block;max-width:360px;margin:0 auto;line-height:1.5}
/* Страница отказа/ошибки Anubis: абзацы после логотипа и заголовка */
main>div.centered-div>p{order:3!important;margin:0 0 8px;font-size:15px;line-height:1.5;color:var(--muted);max-width:380px}
main>div.centered-div>p a{color:var(--brand);font-weight:500;text-decoration:none}
main>div.centered-div>p a:hover{color:var(--brand-strong)}
main>div.centered-div>code{order:4;font-size:12px;color:var(--muted)}
main>div.centered-div>code pre{margin:4px 0 0;white-space:pre-wrap}
details,footer,#testarea,a[href*="/api/honeypot/"]{display:none!important}
