.petina-cookie-banner,
.petina-cookie-panel__inner {
  color: #2f2d2b;
  background: #fffef7;
  border: 1px solid #cfe8ee;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(47, 45, 43, 0.16);
  font-family: "Noto Sans JP", sans-serif;
}

.petina-cookie-banner {
  position: fixed;
  z-index: 100000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.petina-cookie-banner h2,
.petina-cookie-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.5;
}

.petina-cookie-banner p,
.petina-cookie-panel p,
.petina-cookie-panel dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.petina-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.petina-cookie-actions button,
.petina-cookie-settings-link {
  border: 1px solid #2f2d2b;
  border-radius: 999px;
  background: #fffef7;
  color: #2f2d2b;
  cursor: pointer;
  font: inherit;
}

.petina-cookie-actions button {
  min-height: 44px;
  padding: 9px 18px;
  font-weight: 700;
}

.petina-cookie-actions .is-primary {
  border-color: #1688ad;
  background: #1688ad;
  color: #fff;
}

.petina-cookie-panel {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(47, 45, 43, 0.45);
}

.petina-cookie-panel__inner {
  position: relative;
  width: min(620px, 100%);
  padding: 30px;
}

.petina-cookie-panel dl {
  margin: 20px 0;
}

.petina-cookie-panel dl div {
  padding: 14px 0;
  border-top: 1px solid #dfeef1;
}

.petina-cookie-panel dt {
  margin-bottom: 4px;
  font-weight: 700;
}

.petina-cookie-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #2f2d2b;
  cursor: pointer;
  font-size: 28px;
}

.petina-cookie-settings-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .petina-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 18px;
  }

  .petina-cookie-actions {
    display: grid;
    margin-top: 16px;
  }

  .petina-cookie-actions button {
    width: 100%;
  }
}
