/* Курсор-кружок с подсказками и магнитные кнопки (приёмы из тестового v3; 20.11.2026, вторая версия).
   Только мышь; на телефоне и при «уменьшить движение» слой не включается (см. cursor-magnet.js).
   Размер и положение меняет только transform из скрипта: без mix-blend-mode и без анимации width/height,
   чтобы браузер не перерисовывал страницу под кружком на каждое движение мыши. */
.hg-cursor{position:fixed;left:0;top:0;z-index:2147483000;width:88px;height:88px;margin:-44px 0 0 -44px;
  border-radius:50%!important;background:#16161c;pointer-events:none;display:grid;place-items:center;opacity:0;
  transform:translate3d(-200px,-200px,0) scale(.12);will-change:transform;contain:layout paint;
  transition:opacity .2s,background-color .25s,box-shadow .25s}
.hg-cursor.is-on{opacity:0}
/* 20.11 Иван: точку там, где нечего нажать, убрать; кружок только над кнопками, ссылками, карточками. */
.hg-cursor.is-on.is-hover,.hg-cursor.is-on.is-label{opacity:1}
.hg-cursor.is-hover{background:color-mix(in srgb,var(--holgo-brand) 14%,transparent);box-shadow:inset 0 0 0 3px var(--holgo-brand)}
.hg-cursor.is-hover.is-invert{background:#fff;box-shadow:none;mix-blend-mode:difference}
.hg-cursor.is-label{background:var(--holgo-brand);box-shadow:0 0 0 2px #fff}
.hg-cursor.is-text,.hg-cursor.is-gone{opacity:0}
.hg-cursor-label{font:600 13px/1.1 Manrope,Arial,sans-serif;color:#fff;letter-spacing:.01em;text-align:center;padding:0 6px;
  opacity:0;transition:opacity .15s}
.hg-cursor.is-label .hg-cursor-label{opacity:1;transition-delay:.08s}
.hg-magnet{transition:translate .55s cubic-bezier(.34,1.56,.64,1)}
.hg-magnet.is-pulling{transition:translate .12s linear}
@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.hg-cursor{display:none!important}}
/* 20.11.2026 Иван: курсора-руки («лапки») нет нигде на сайте. Над нажимаемым — обычная стрелка и наш кружок;
   в полях ввода — текстовый курсор. Перебивает все cursor:pointer, в том числе с !important. */
html.orbit *:not(input):not(textarea):not([contenteditable="true"]),
html.orbit *:not(input):not(textarea):not([contenteditable="true"])::before,
html.orbit *:not(input):not(textarea):not([contenteditable="true"])::after{cursor:default!important}
html.orbit :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),textarea,[contenteditable="true"]){cursor:text!important}
html.orbit input:is([type="checkbox"],[type="radio"],[type="submit"],[type="button"],[type="range"]){cursor:default!important}
/* 20.11.2026 Иван: на ссылках на наши юридические документы (согласие, политики, соглашение, cookie,
   авторские права) — обычная рука с пальцем и без кружка. Везде, где такая ссылка есть: формы, футер. */
html.orbit body a[href]:is([href^="/personal-data-consent"],[href^="/privacy-policy"],[href^="/terms-of-service"],[href^="/cookie-policy"],[href^="/copyright"],[href*="ofert"]),
html.orbit body a[href]:is([href^="/personal-data-consent"],[href^="/privacy-policy"],[href^="/terms-of-service"],[href^="/cookie-policy"],[href^="/copyright"],[href*="ofert"]) *{cursor:pointer!important}

/* 22.11 Иван (проба на главной): кружок белый/чёрный вместо синего — на цветном фоне сплошной. */
.hg-cursor.is-hover.is-mono-white{background:#fff;box-shadow:none}
.hg-cursor.is-hover.is-mono-black{background:#000;box-shadow:none}
/* 22.11 Иван: проба 2 (строго ч/б) отклонена. Вместо жёлтого на синем тексте — сиреневый: инверсия + поворот оттенка
   на 180° (нейтральное остаётся чёрным/белым, синий → светло-сиреневый). 22.11: на всём сайте. */
.hg-cursor.is-hover.is-invert{background:transparent;mix-blend-mode:normal;
  -webkit-backdrop-filter:invert(1) hue-rotate(180deg);backdrop-filter:invert(1) hue-rotate(180deg)}
