/* Cookie consent banner, shared by every page. */

.lb-consent {
   position: fixed;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 100000;
   display: flex;
   justify-content: center;
   padding: 20px;
   pointer-events: none;
   font-family: "TildaSans", Arial, sans-serif;
}

.lb-consent[hidden] {
   display: none;
}

.lb-consent *,
.lb-consent *::before,
.lb-consent *::after {
   box-sizing: border-box;
}

.lb-consent__panel {
   display: flex;
   align-items: center;
   gap: 24px;
   width: min(780px, 100%);
   padding: 20px 22px;
   border: 1px solid #373737;
   border-radius: 20px;
   background: #171717;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
   color: #fff;
   pointer-events: auto;
   animation: lb-consent-in 0.32s cubic-bezier(0.22, 0.75, 0.25, 1) both;
}

@keyframes lb-consent-in {
   from {
      opacity: 0;
      transform: translateY(16px);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

.lb-consent__body {
   flex: 1;
   min-width: 0;
}

.lb-consent__title {
   margin: 0 0 6px;
   font-size: 18px;
   font-weight: 600;
   line-height: 1.2;
}

.lb-consent__text {
   margin: 0;
   color: #acacac;
   font-size: 15px;
   line-height: 1.45;
}

.lb-consent__link {
   color: #ec777b;
   text-decoration: underline;
   text-underline-offset: 2px;
}

.lb-consent__link:hover,
.lb-consent__link:focus-visible {
   color: #fff;
}

.lb-consent__actions {
   display: flex;
   flex: none;
   flex-wrap: wrap;
   gap: 10px;
}

.lb-consent__btn {
   min-height: 44px;
   padding: 12px 18px;
   border: 1px solid rgba(255, 255, 255, 0.35);
   border-radius: 30px;
   background: transparent;
   color: #fff;
   font-family: inherit;
   font-size: 15px;
   font-weight: 600;
   line-height: 1.2;
   cursor: pointer;
   transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.lb-consent__btn:hover,
.lb-consent__btn:focus-visible {
   border-color: #da3036;
   background: rgba(218, 48, 54, 0.14);
}

.lb-consent__btn_primary {
   border-color: #da3036;
   background: #da3036;
}

.lb-consent__btn_primary:hover,
.lb-consent__btn_primary:focus-visible {
   border-color: #fff;
   background: #fff;
   color: #0a0a0a;
}

.lb-consent__btn:focus-visible {
   outline: 2px solid #fff;
   outline-offset: 3px;
}

@media (max-width: 760px) {
   .lb-consent {
      padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
   }

   .lb-consent__panel {
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
      padding: 18px;
      border-radius: 18px;
   }

   .lb-consent__actions {
      flex-direction: column;
   }

   .lb-consent__btn {
      width: 100%;
   }
}

@media (prefers-reduced-motion: reduce) {
   .lb-consent__panel {
      animation: none;
   }
}
