.tg-cookie-notice {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: flex;
  gap: 12px;
  box-sizing: border-box;
  width: 350px;
  max-width: calc(100vw - 40px);
  padding: 18px 12px 18px 20px;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  background: #fff;
  color: #23324c;
  box-shadow: 0 4px 18px rgb(23 36 60 / 8%);
  font-family: inherit;
  text-align: left;
  animation: tg-cookie-appear .22s ease-out;
}
.tg-cookie-notice__body { flex: 1; min-width: 0; }
.tg-cookie-notice .tg-cookie-notice__title {
  display: block;
  margin: 0 0 6px;
  font: 600 15px/1.35 Arial, sans-serif;
  color: #23324c;
}
.tg-cookie-notice .tg-cookie-notice__text {
  margin: 0;
  font: 400 13px/1.55 Arial, sans-serif;
  color: #596478;
}
.tg-cookie-notice__text a { color: #375b9f; text-decoration: underline; text-underline-offset: 3px; }
.tg-cookie-notice .tg-cookie-notice__close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f1f4f8;
  color: #596478;
  font: 400 25px/1 Arial, sans-serif;
  cursor: pointer;
}
.tg-cookie-notice__close:hover { background: #e4eaf3; }
.tg-cookie-notice :focus-visible { outline: 2px solid #4465ad; outline-offset: 3px; }
@keyframes tg-cookie-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 575px) {
  .tg-cookie-notice {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 330px;
    max-width: calc(100vw - 76px);
    padding: 14px 10px 14px 14px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) { .tg-cookie-notice { animation: none; } }
@media print { .tg-cookie-notice { display: none; } }
