.cookie-root {
  position: relative;
  z-index: 80;
}

.cookie-banner,
.cookie-panel-card {
  background: #070707;
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem 1.3rem;
  border-radius: 1.25rem;
}

.cookie-banner[hidden],
.cookie-panel[hidden] {
  display: none;
}

.cookie-copy {
  max-width: 42rem;
}

.cookie-kicker,
.cookie-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

.cookie-kicker {
  color: #ee2;
  font-size: 1.15rem;
}

.cookie-title {
  margin-top: 0.35rem;
  font-size: 2rem;
  font-weight: 400;
}

.cookie-text,
.cookie-choice-body span {
  margin: 0.7rem 0 0;
  color: #bbb;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookie-inline {
  color: #eee;
  text-underline-offset: 0.18em;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 9.5rem;
}

.cookie-btn {
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
  border-color: #ee2;
  outline: none;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.62);
}

.cookie-panel-card {
  width: min(36rem, 100%);
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 1.25rem;
}

.cookie-choice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 0.95rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  cursor: pointer;
}

.cookie-choice.is-locked {
  cursor: default;
  opacity: 0.85;
}

.cookie-choice input {
  margin-top: 0.2rem;
  accent-color: #ee2;
}

.cookie-choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-choice-body strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.cookie-choice-body span {
  margin: 0;
}

.cookie-panel-card .cookie-actions {
  margin-top: 1.1rem;
}

.cookie-pref-link {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  color: #bbb;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.cookie-pref-link:hover,
.cookie-pref-link:focus-visible {
  color: #ee2;
  outline: none;
}

.legal {
  padding: 8.5rem 0 4rem;
}

.legal-wrap {
  max-width: 44rem;
}

.legal h1 {
  margin: 0.4rem 0 0;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.legal .legal-kicker {
  margin: 0;
  color: #ee2;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.legal-updated {
  margin: 1rem 0 0;
  color: #bbb;
  font-family: Inter, Arial, sans-serif;
}

.legal h2 {
  margin: 2.4rem 0 0.6rem;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.legal p,
.legal li {
  color: #c8c8c8;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
}

.legal ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.legal a {
  color: #eee;
}

.legal-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #c8c8c8;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #ee2;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.legal-actions {
  margin-top: 1.5rem;
}

@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .cookie-actions,
  .cookie-btn {
    width: 100%;
  }
}
