.visitor-notice,
.visitor-notice * {
  box-sizing: border-box;
}
.visitor-notice {
  position: fixed;
  z-index: 10000;
  left: 24px;
  bottom: 24px;
  width: min(520px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(0 0 0 / 24%);
  color: #2c6196;
  font: 600 16px / 1.7 sans-serif;
  text-align: start;
}
.visitor-notice::-webkit-scrollbar {
  width: 11px;
}
.visitor-notice::-webkit-scrollbar-track {
  background: #fafafa;
}
.visitor-notice::-webkit-scrollbar-thumb {
  border: 2.5px solid #fafafa;
  border-radius: 10px;
  background: #c1c1c1;
}
.visitor-notice [hidden] {
  display: none !important;
}
.visitor-notice__logo {
  display: block;
  width: auto;
  height: 70px;
  margin: 0 auto 7.5px;
}
.visitor-notice__body {
  display: flex;
  flex-direction: column;
  gap: 7.8px;
  padding: 50px 0;
}
.visitor-notice h2,
.visitor-notice h3,
.visitor-notice p {
  margin: 0;
  color: inherit;
}
.visitor-notice h2 {
  font: 900 20.5px / 1.18 sans-serif;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
}
.visitor-notice__lead {
  font: 650 11.6px / 1.52 sans-serif;
  text-align: center;
}
.visitor-notice__lead sup {
  font-size: 0.44em;
  line-height: 0;
  margin-left: 0.035em;
  vertical-align: super;
}
.visitor-notice__links {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5px 12px;
  margin: 1px 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
.visitor-notice__links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 2px 1px;
  color: inherit;
  font: 800 10.8px / 1.7 sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.visitor-notice :focus-visible,
.visitor-notice__links a:focus {
  outline: 3px solid #ffcf33;
  outline-offset: 2px;
  box-shadow:
    0 0 0 5.5px rgb(255 255 255 / 90%),
    0 0 0 8.5px #2c6196;
}
.visitor-notice__age,
.visitor-notice__category {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8.5px;
  align-items: center;
  margin: 0;
  padding: 9px;
  background: #fafcff;
  border: 1px solid #f7f9fa;
  border-radius: 7px;
  font: 800 10.8px / 1.42 sans-serif;
  cursor: pointer;
}
.visitor-notice input[type="checkbox"] {
  appearance: auto;
  width: 24px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #2c6196;
}
.visitor-notice__buttons {
  display: grid;
  gap: 6.8px;
}
.visitor-notice button {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 8.5px 10.5px;
  border: 0;
  border-radius: 50px;
  background:
    linear-gradient(
      0deg,
      rgb(6 0 0 / 50%) 8.85%,
      rgb(44 97 150 / 50%) 46.88%,
      rgb(51 7 8 / 50%)
    ),
    #678db2;
  box-shadow: 0 4px 8px rgb(0 0 0 / 15%);
  color: #fff;
  font: 900 11.2px / 1.16 sans-serif;
  text-align: center;
  cursor: pointer;
}
.visitor-notice button.visitor-notice__primary {
  background: #8f2b2c;
  box-shadow: none;
}
.visitor-notice button:disabled {
  opacity: 1;
  cursor: default;
}
.visitor-notice button:enabled:hover {
  filter: brightness(1.06);
}
.visitor-notice__extra {
  padding: 10px;
  border: 1px solid #f3f6f9;
  border-radius: 9px;
  background-color: #fafcff;
  text-align: left;
}
.visitor-notice__extra h3 {
  font: 500 14px / 1.4 sans-serif;
  margin: 0 0 8px;
}
.visitor-notice__category {
  align-items: start;
  font: 650 10px / 1.45 sans-serif;
  border-radius: 4px;
  margin-bottom: 5px;
}
.visitor-notice__category strong {
  display: block;
  font-weight: 850;
  margin-bottom: 2px;
}
.visitor-notice__legal {
  font: 600 12px / 1.55 sans-serif;
}
.visitor-notice__legal p,
.visitor-notice__legal li {
  margin-bottom: 8px;
}
.visitor-notice__legal ol {
  padding-left: 25px;
}
@media (max-width: 700px) {
  .has-visitor-notice::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgb(0 0 0 / 72%);
  }
  .visitor-notice {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-height: 78vh;
    max-height: 78dvh;
    padding: 13px;
    border-radius: 10px;
  }
  .visitor-notice__logo {
    height: 56px;
  }
  .visitor-notice h2 {
    font-size: 17.2px;
  }
  .visitor-notice__lead {
    font-size: 10.4px;
  }
}
@media (min-width: 701px) {
  .visitor-notice__body {
    position: relative;
    top: -.5px;
  }
}
