.tg-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 860px;
  z-index: 9999;
  background: #0d1322;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 20px 24px;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.tg-cookie--hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.tg-cookie__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tg-cookie__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.tg-cookie__content {
  flex: 1;
}

.tg-cookie__text {
  font-size: 13px;
  line-height: 1.6;
}

.tg-cookie__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.tg-cookie__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    transform 0.1s;
}

.tg-cookie__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.tg-cookie__btn--accept {
  background: linear-gradient(67.84deg, #2e3393 -1.82%, #1cfafc 106.59%);
  color: #fff;
}

.tg-cookie__btn--decline {
  background: transparent;
  border: 1px solid #fff;
}

@media (max-width: 640px) {
  .tg-cookie {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .tg-cookie__inner {
    flex-direction: column;
    text-align: center;
  }

  .tg-cookie__icon {
    display: none;
  }

  .tg-cookie__actions {
    flex-direction: row;
    width: 100%;
  }

  .tg-cookie__btn {
    flex: 1;
  }
}
