/* The cookie bar, 28.10.2026: a small dark card at the bottom that asks for Яндекс Метрика (metrika.js). «Принять» is
   white, not yellow: yellow stays for «Попробовать бесплатно».
   It floats with margins on every side and never covers the whole width */
.cookie-bar{position:fixed;left:24px;bottom:24px;z-index:50;box-sizing:border-box;width:min(440px,calc(100% - 48px));padding:20px 22px;border-radius:16px;background:#001718;color:#DDE7E1;box-shadow:0 18px 50px #00171859,0 0 0 1px #ffffff1a;font-size:15px;line-height:1.5;animation:cookie-in .35s cubic-bezier(.22,.68,0,1) both}
.cookie-bar[hidden]{display:none}
.cookie-bar p{margin:0}
.cookie-bar a{color:var(--yellow,#FFDC25);text-decoration:underline;text-underline-offset:3px}
.cookie-actions{display:flex;gap:10px;margin-top:16px}
.cookie-actions button{flex:1;min-height:46px;padding:0 16px;border-radius:10px;font-size:15px;font-weight:800;line-height:1.2}
.cookie-yes{border:0;background:#F7FBF8;color:#001718}
.cookie-yes:hover{background:#fff}
.cookie-no{border:1px solid #ffffff4d;background:transparent;color:#F7FBF8}
.cookie-no:hover{border-color:#F7FBF8}
@keyframes cookie-in{from{opacity:0;transform:translateY(16px)}}
@media(prefers-reduced-motion:reduce){.cookie-bar{animation:none}}
@media(max-width:700px){
  .cookie-bar{left:12px;bottom:12px;width:calc(100% - 24px);padding:16px 18px;font-size:14px}
  .cookie-actions{margin-top:14px}
}
/* the footer button that brings the bar back; it looks like the document links next to it */
footer .footer-legal .cookie-open{padding:0;border:0;background:none;color:#AEC3B7;font:inherit;cursor:pointer}
footer .footer-legal .cookie-open:hover{color:var(--yellow)}
footer .footer-legal .cookie-open[hidden]{display:none}
