/* ShadiaN – the cookie banner (inc/ads.php, assets/js/consent.js): a small dark card in the logo's own black
   at the bottom left, with the two answers side by side and equal in size – declining is as easy as accepting.
   It never covers the page: browsing goes on without an answer, and nothing is loaded until "Приемам". */
.sh-ck {
	position: fixed; left: 24px; bottom: 24px; z-index: 150; width: min(420px, calc(100vw - 48px)); box-sizing: border-box;
	padding: 22px 22px 20px; border-radius: 18px; background: var(--hd); color: #c9c4b8;
	border: 1px solid rgba(232, 195, 107, .22); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65);
	opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease);
}
.sh-ck.is-in { opacity: 1; transform: none; }
.sh-ck[hidden] { display: none; }
.sh-ck__h { margin: 0 0 8px; font-family: var(--head); font-size: 16px; font-weight: 600; letter-spacing: .01em; color: var(--gold-2); }
.sh-ck__p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.sh-ck__p a { color: #f3efe6; text-decoration: underline; text-decoration-color: rgba(232, 195, 107, .55); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.sh-ck__p a:hover { text-decoration-color: var(--gold-2); }
.sh-ck__b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sh-ck__b .sh-btn { width: 100%; }
.sh-ck :focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* the footer's "Бисквитки – настройки": a button that reads like the links next to it */
.sh-footer__legal button { padding: 0; border: 0; background: none; font: inherit; color: #9a9da4; cursor: pointer; transition: color .25s; }
.sh-footer__legal button:hover { color: #fff; }
.sh-footer__legal button[hidden] { display: none; }

@media (max-width: 600px) {
	.sh-ck { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.sh-ck { transform: none; transition: opacity .2s; }
}
@media print {
	.sh-ck { display: none !important; }
}
