.th-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(11, 29, 58, 0.97);
  color: #fff;
  padding: 16px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.th-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.th-cookie-banner__text p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  line-height: 1.5;
}

.th-cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.th-cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
}

.th-cookie-btn--primary {
  background: #57d6e2;
  color: #0b1d3a;
}

.th-cookie-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.th-cookie-link {
  color: #9be8ef;
  font-size: 0.85rem;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .th-cookie-banner {
    padding: 14px 14px max(14px, env(safe-area-inset-bottom));
  }
  .th-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .th-cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .th-cookie-btn {
    width: 100%;
    text-align: center;
  }
  .th-cookie-link {
    text-align: center;
    display: block;
    padding-top: 4px;
  }
}
