/*
 * Cookie consent banner (js/cookie-consent.js).
 * Its own stylesheet, not part of play-verto.webflow.css, because the
 * partner pages (bodyandsoul, konekin, japanese-red-cross-society) don't load
 * the Webflow styles. Colours are Play Verto's brand palette.
 */
.pv-cc {
  --pv-cc-bg: #121212;
  --pv-cc-card: #1c1c1e;
  --pv-cc-text: #ffffff;
  --pv-cc-muted: #c9c9cd;
  --pv-cc-aqua: #01eacb;
  --pv-cc-pink: #ff1e6f;
  --pv-cc-purple: #615bf5;
  --pv-cc-brand: linear-gradient(90deg, #01eacb, #0ca7ff, #615bf5, #ff1e6f, #fffa77);

  position: fixed;
  z-index: 2147483000;
  left: 1.5rem;
  bottom: 1.5rem;
  width: min(27rem, calc(100vw - 2rem));
  font-family: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pv-cc-text);
  text-align: left;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .35s ease, transform .45s cubic-bezier(.77, 0, .175, 1);
}
.pv-cc.is-open { opacity: 1; transform: none; }
.pv-cc[hidden] { display: none; }
.pv-cc *, .pv-cc *::before, .pv-cc *::after { box-sizing: border-box; }

.pv-cc .pv-cc__card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--pv-cc-card);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .55);
  overflow: hidden;
}
/* the Verto rainbow, as a 4px band across the top */
.pv-cc .pv-cc__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--pv-cc-brand);
}

.pv-cc .pv-cc__head { display: flex; align-items: center; gap: .875rem; margin-bottom: .75rem; }
.pv-cc .pv-cc__icon { flex: none; width: 44px; height: auto; display: block; }
.pv-cc .pv-cc__eyebrow {
  margin: 0;
  color: var(--pv-cc-aqua);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pv-cc .pv-cc__title {
  margin: 0;
  color: var(--pv-cc-text);
  font-family: inherit;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
.pv-cc .pv-cc__text { margin: 0 0 1.25rem; color: var(--pv-cc-muted); font-size: .9375rem; }
.pv-cc .pv-cc__link { color: var(--pv-cc-aqua); text-decoration: underline; text-underline-offset: 2px; }
.pv-cc .pv-cc__link:hover { color: var(--pv-cc-text); }

.pv-cc .pv-cc__actions { display: flex; gap: .75rem; }
.pv-cc .pv-cc__btn {
  flex: 1 1 0;
  min-height: 2.875rem;
  margin: 0;
  padding: .625rem 1rem;
  border: 2px solid transparent;
  border-radius: 1.875rem;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s cubic-bezier(.77, 0, .175, 1), border-color .25s, color .25s;
}
.pv-cc .pv-cc__btn--yes { background: var(--pv-cc-pink); color: #fff; }
.pv-cc .pv-cc__btn--yes:hover { background: var(--pv-cc-purple); }
.pv-cc .pv-cc__btn--no { background: transparent; border-color: #fff; color: #fff; }
.pv-cc .pv-cc__btn--no:hover { border-color: var(--pv-cc-aqua); color: var(--pv-cc-aqua); }
.pv-cc .pv-cc__btn:focus-visible, .pv-cc .pv-cc__link:focus-visible {
  outline: 2px solid #fffa77;
  outline-offset: 3px;
}

/* the "Cookie settings" links in page footers are buttons, styled as links */
button[data-cookie-settings] {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

@media (max-width: 479px) {
  .pv-cc { left: 1rem; right: 1rem; bottom: 1rem; width: auto; }
  .pv-cc__card { padding: 1.25rem; }
  .pv-cc__title { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-cc { transition: none; }
}
