html.footer-policy-open {
  overflow: hidden;
}

.footer-policy-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  border: 0;
  overflow: hidden;
  color: #111;
  background: #fff;
}

.footer-policy-dialog[open] {
  display: flex;
  flex-direction: column;
}

.footer-policy-heading {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0 52px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.footer-policy-heading h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.footer-policy-close {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font: 28px/1 system-ui, sans-serif;
}

.footer-policy-status:not(:empty) {
  padding: 12px 16px;
}

.footer-policy-status a {
  text-decoration: underline;
}

.footer-policy-dialog #scrollarea {
  position: static;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: auto;
  overscroll-behavior: contain;
}

.footer-policy-body {
  padding: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.footer-policy-body .inner5 {
  padding: 0;
}

.footer-policy-body .policyList a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: inherit;
}

.footer-policy-body .policyCont section {
  padding-top: 20px;
  font-size: inherit;
  line-height: inherit;
}

.footer-policy-body .policyCont section h3 {
  margin-bottom: 8px;
  font-weight: 600;
}
