[x-cloak] { display: none; }

.fullscreen-banner[hidden] {
  display: none;
}

.fullscreen-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(5, 22, 15, 0.76);
  backdrop-filter: blur(2px);
  overscroll-behavior: contain;
  animation: fullscreen-banner-fade-in 180ms ease-out both;
}

.fullscreen-banner__dialog {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  align-items: center;
  justify-content: center;
  outline: none;
  animation: fullscreen-banner-dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.fullscreen-banner__link {
  display: block;
  max-width: 100%;
  max-height: inherit;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2118;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.fullscreen-banner__link:focus-visible {
  outline: 3px solid rgba(35, 181, 112, 0.85);
  outline-offset: 3px;
}

.fullscreen-banner__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 32px);
  object-fit: contain;
}

.fullscreen-banner__close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: #23b570;
  box-shadow: 0 4px 14px rgba(4, 61, 34, 0.3);
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.fullscreen-banner__close:hover {
  background: #168d56;
  transform: scale(1.04);
}

.fullscreen-banner__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

html.fullscreen-banner-open,
html.fullscreen-banner-open body {
  overflow: hidden;
}

@keyframes fullscreen-banner-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fullscreen-banner-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  .fullscreen-banner {
    padding: 12px;
  }

  .fullscreen-banner__dialog {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .fullscreen-banner__link {
    width: 100%;
  }

  .fullscreen-banner__image {
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .fullscreen-banner__close {
    top: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fullscreen-banner,
  .fullscreen-banner__dialog {
    animation: none;
  }

  .fullscreen-banner__close {
    transition: none;
  }
}

    .flag-icon {
      background-size: contain;
      background-position: 50%;
      background-repeat: no-repeat;
      position: relative;
      display: inline-block;
      width: 1.33333333em;
      line-height: 1em;
      border-radius: 2px;
      box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.8);
    }
    .flag-icon::before {
      content: "\00a0";
    }
    .flag-icon.flag-icon-squared {
      width: 1em;
    }

    .flag-icon.main-table-world-icon {
      background-image: url('/flags/4x3/un-green.svg');
    }

.site-fixed-notices {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 12px;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overscroll-behavior: contain;
}

.site-fixed-notices > * {
  flex: 0 0 auto;
}

.cookie-notice {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 18px;
  border: 1px solid rgba(47, 139, 76, 0.3);
  border-radius: 12px;
  border-left: 4px solid #2f8b4c;
  background: linear-gradient(135deg, #fff 0%, #f7fbf8 100%);
  box-shadow:
    0 2px 6px rgba(31, 61, 42, 0.1),
    0 14px 36px rgba(31, 61, 42, 0.16);
  color: #263238;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 74px;
}

.cookie-notice__icon img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.cookie-notice__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title actions"
    "text actions";
  align-items: center;
  gap: 4px 12px;
  min-width: 0;
}

.cookie-notice__title {
  grid-area: title;
  margin: 0;
  color: #263238;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.cookie-notice__text {
  grid-area: text;
  margin: 0;
  color: #52605a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.cookie-notice__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
  gap: 6px;
  min-width: 86px;
}

.cookie-notice__accept,
.cookie-notice__more {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-notice__accept {
  border: 1px solid #2f8b4c;
  background: #2f8b4c;
  color: #fff;
  cursor: pointer;
}

.cookie-notice__accept:hover {
  border-color: #236d3a;
  background: #236d3a;
}

.cookie-notice__more {
  border: 1px solid #78ae89;
  background: #fff;
  color: #2f8b4c;
}

.cookie-notice__more:hover {
  border-color: #2f8b4c;
  background: #edf7ef;
  color: #236d3a;
}

.cookie-notice__accept:focus-visible,
.cookie-notice__more:focus-visible {
  outline: 3px solid rgba(47, 139, 76, 0.35);
  outline-offset: 2px;
}

.adblock-fixed-notice {
  position: relative;
  display: none;
  width: 100%;
  min-height: 106px;
  padding: 20px 188px 18px 178px;
  border: 0;
  border-radius: 8px;
  background-image: url('/images/adblock-notice/banner-card-red-inverted-v7.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 12px 30px rgba(102, 13, 29, 0.24);
  color: #fff;
  overflow: hidden;
  transform-origin: right bottom;
  animation: adblock-fixed-notice-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[data-adblock="detected"] .adblock-fixed-notice {
  display: block;
}

.adblock-fixed-notice::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -34%;
  z-index: 1;
  width: 34%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-120%, 0, 0) skewX(-16deg);
  animation: adblock-fixed-notice-shine 4.8s ease-in-out 900ms infinite;
}

.adblock-fixed-notice__body {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 350px;
}

.adblock-fixed-notice__copy {
  min-width: 0;
  max-width: 350px;
}

.adblock-fixed-notice__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.adblock-fixed-notice__text {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.adblock-fixed-notice__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: absolute;
  right: 35px;
  bottom: 29px;
  z-index: 3;
  width: 156px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: rgba(120, 17, 37, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(102, 13, 29, 0.2);
  backdrop-filter: blur(6px);
}

.adblock-fixed-notice__refresh:hover {
  border-color: #fff;
  background: #fff;
  color: #b82439;
  box-shadow: 0 8px 20px rgba(102, 13, 29, 0.28);
}

.adblock-fixed-notice__refresh:hover .adblock-fixed-notice__refresh-icon {
  background: rgba(184, 36, 57, 0.12);
  color: #b82439;
}

.adblock-fixed-notice__refresh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.adblock-fixed-notice__close {
  position: absolute;
  top: 8px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.adblock-fixed-notice__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 767px) {
  .site-fixed-notices {
    left: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    gap: 8px;
  }

  .cookie-notice {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .cookie-notice__icon {
    display: none;
  }

  .cookie-notice__title {
    font-size: 13px;
    line-height: 1.25;
  }

  .cookie-notice__copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "text"
      "actions";
    gap: 2px;
  }

  .cookie-notice__text {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.32;
  }

  .cookie-notice__actions {
    flex-direction: row;
    align-items: center;
    margin-top: 4px;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
    min-width: 0;
  }

  .cookie-notice__accept,
  .cookie-notice__more {
    flex: 0 1 auto;
    min-height: 30px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .adblock-fixed-notice {
    width: 100%;
    min-height: 0;
    padding: 10px 11px 10px 12px;
    border-radius: 10px;
    background-color: #98252f;
    background-image: linear-gradient(120deg, #aa2d37 0%, #92212c 100%);
    background-position: center;
    background-size: cover;
  }

  .adblock-fixed-notice__body {
    max-width: none;
  }

  .adblock-fixed-notice__copy {
    max-width: none;
  }

  .adblock-fixed-notice__title {
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
  }

  .adblock-fixed-notice__text {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
  }

  .adblock-fixed-notice__refresh {
    display: flex;
    position: static;
    min-height: 29px;
    margin: 6px 0 0 auto;
    width: fit-content;
    padding: 6px 9px;
    font-size: 11px;
  }

  .adblock-fixed-notice__refresh-icon {
    width: 16px;
    height: 16px;
    font-size: 12px;
  }

  .adblock-fixed-notice__close {
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
}

@keyframes adblock-fixed-notice-in {
  0% {
    opacity: 0;
    transform: translate3d(72px, 0, 0) scale(0.98);
  }

  72% {
    opacity: 1;
    transform: translate3d(-5px, 0, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes adblock-fixed-notice-shine {
  0%,
  42% {
    opacity: 0;
    transform: translate3d(-120%, 0, 0) skewX(-16deg);
  }

  50% {
    opacity: 0.9;
  }

  64% {
    opacity: 0;
    transform: translate3d(430%, 0, 0) skewX(-16deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(430%, 0, 0) skewX(-16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .adblock-fixed-notice {
    animation: none;
  }

  .adblock-fixed-notice::after {
    animation: none;
  }
}
