.linksea-legal-footer {
  position: relative;
  z-index: 8;
  border-top: 1px solid rgba(184, 244, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.72), rgba(3, 6, 11, 0.95)),
    #05080c;
  color: rgba(234, 246, 255, 0.68);
  font: 600 0.68rem/1.45 var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linksea-legal-footer__inner {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.linksea-legal-footer__brand {
  color: rgba(184, 244, 255, 0.86);
}

.linksea-legal-footer__credits {
  color: rgba(234, 246, 255, 0.54);
  letter-spacing: 0.03em;
  text-transform: none;
}

.linksea-legal-footer__credits a:first-of-type {
  text-transform: lowercase;
}

.linksea-legal-footer__credits a:last-of-type {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linksea-legal-footer nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.linksea-legal-footer a,
.linksea-legal-footer button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}

.linksea-legal-footer a:hover,
.linksea-legal-footer button:hover,
.linksea-legal-footer a:focus-visible,
.linksea-legal-footer button:focus-visible {
  color: #b8f4ff;
  outline: 0;
}

.linksea-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: 0.82rem max(1rem, calc((100vw - 1160px) / 2));
  border-top: 1px solid rgba(184, 244, 255, 0.13);
  background: rgba(3, 7, 13, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #eaf6ff;
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.32);
}

.linksea-consent.is-visible {
  transform: translateY(0);
}

.linksea-consent strong,
.linksea-consent-modal__head strong,
.linksea-cookie-row strong {
  display: block;
  font: 700 0.68rem/1 var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.linksea-consent strong {
  color: #b8f4ff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.linksea-consent p,
.linksea-consent-modal__head p,
.linksea-cookie-row p {
  margin: 0.35rem 0 0;
  color: rgba(234, 246, 255, 0.7);
  font: 400 0.88rem/1.45 var(--ui, system-ui, sans-serif);
  letter-spacing: 0;
}

.linksea-consent__copy {
  max-width: 48rem;
}

.linksea-consent a {
  color: #b8f4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linksea-consent__actions,
.linksea-consent-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.linksea-consent button,
.linksea-consent-modal button {
  min-height: 30px;
  border: 1px solid rgba(184, 244, 255, 0.2);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  padding: 0.5rem 0.88rem;
  font: 700 0.62rem/1 var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.linksea-consent button:last-child,
.linksea-consent-modal__actions button:last-child {
  border-color: rgba(184, 244, 255, 0.72);
  background: #b8f4ff;
  color: #031120;
}

.linksea-consent-modal[hidden] {
  display: none;
}

.linksea-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.66);
  color: #eaf6ff;
}

.linksea-consent-modal__panel {
  width: min(560px, 100%);
  border: 1px solid rgba(184, 244, 255, 0.18);
  border-radius: 2px;
  background: #05080c;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  padding: 1.1rem;
}

.linksea-consent-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.linksea-cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(184, 244, 255, 0.12);
}

.linksea-cookie-row input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #7eceff;
  flex: 0 0 auto;
}

.linksea-consent-modal__actions {
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 244, 255, 0.12);
}

.linksea-legal-page {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  padding: clamp(4.6rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.linksea-legal-page__inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.linksea-legal-page__back,
.linksea-legal-page__updated {
  color: rgba(184, 244, 255, 0.72);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.linksea-legal-page__back {
  display: inline-flex;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.linksea-legal-page h1 {
  max-width: 12ch;
  margin: 0;
  color: #eaf6ff;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(47, 141, 255, 0.28);
}

.linksea-legal-copy {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: rgba(234, 246, 255, 0.78);
  font-family: var(--body, Georgia, serif);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.72;
}

.linksea-legal-copy h2 {
  margin: 2.35rem 0 0.65rem;
  color: #7eceff;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.linksea-legal-copy p,
.linksea-legal-copy address {
  max-width: 74ch;
  margin: 0.85rem 0 0;
  font-style: normal;
}

.linksea-legal-copy a {
  color: #b8f4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linksea-legal-copy code {
  color: #eaf6ff;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  font-size: 0.9em;
}

@media (max-width: 760px) {
  .linksea-legal-footer__inner,
  .linksea-consent {
    align-items: flex-start;
    flex-direction: column;
  }

  .linksea-legal-footer nav {
    gap: 0.72rem;
  }

  .linksea-consent {
    gap: 0.8rem;
    padding: 0.78rem 1rem;
  }

  .linksea-consent__actions,
  .linksea-consent-modal__actions {
    justify-content: flex-start;
  }

  .linksea-consent button,
  .linksea-consent-modal button {
    padding-inline: 0.68rem;
  }

  .linksea-cookie-row {
    align-items: flex-start;
  }
}
