/* PrismVault 100 legal bar + static legal pages */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
}

#legal-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 4px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, #070414 94%, transparent);
  font-family: "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #d2c4ea;
}

#legal-bar[hidden] {
  display: none !important;
}

#legal-bar a {
  color: #7ef0ff;
  text-decoration: none;
  touch-action: manipulation;
  font-size: 16px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  background: none;
  box-shadow: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#legal-bar a:hover,
#legal-bar a:focus-visible {
  text-decoration: underline;
  outline: 2px solid #fff;
  outline-offset: -2px;
}

html:not(.legal-bar-hidden) .scroll {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.legal-page {
  min-height: 100%;
  margin: 0;
  background: #070414;
  color: #f7f2ff;
  font-family: "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  touch-action: manipulation;
  overflow-x: hidden;
}

.legal-page main {
  box-sizing: border-box;
  width: min(48rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem calc(9.5rem + env(safe-area-inset-bottom, 0px));
  min-width: 0;
}

.legal-page .eyebrow {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ef0ff;
}

.legal-page h1 {
  margin: 0.5rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.legal-page h2 {
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.legal-page p,
.legal-page li {
  color: #d2c4ea;
  overflow-wrap: anywhere;
}

.legal-page a {
  color: #7ef0ff;
}

.legal-page .btn,
#delete-data-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  margin-top: 1rem;
  padding: 10px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  color: #1a0d08;
  background: linear-gradient(180deg, #ffe38a, #d18a22);
  cursor: pointer;
  touch-action: manipulation;
}

.legal-page .btn:focus-visible,
#delete-data-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#delete-status {
  min-height: 1.5em;
}
