/* Free Play Bay shared cookie consent and bottom nav profile sizing. */
#bottom-nav .nav-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 92px;
}

#bottom-nav .fpb-profile-nav svg {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.08));
}

@media (max-width: 420px) {
  #bottom-nav {
    gap: 1px;
    padding-left: max(4px, env(safe-area-inset-left));
    padding-right: max(4px, env(safe-area-inset-right));
  }

  #bottom-nav .nav-btn {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
    letter-spacing: 0.015em;
  }

  #bottom-nav .nav-btn svg {
    width: 21px;
    height: 21px;
  }
}

.fpb-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  min-height: var(--nav-h, 70px);
  padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
  background: rgba(4, 12, 25, 0.94);
  border-top: 1px solid rgba(59, 130, 246, 0.24);
  box-shadow: 0 -14px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #e2e8f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fpb-cookie-consent[hidden] {
  display: none !important;
}

.fpb-cookie-consent__inner {
  width: min(760px, 100%);
  min-height: calc(var(--nav-h, 70px) - 16px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fpb-cookie-consent__copy {
  flex: 1 1 auto;
  min-width: 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0.005em;
}

.fpb-cookie-consent__copy strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 1px;
}

.fpb-cookie-consent__copy a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 950;
  white-space: nowrap;
}

.fpb-cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.fpb-cookie-consent__button {
  min-height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(15, 23, 42, 0.82);
  color: #dbeafe;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.025em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.1s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.fpb-cookie-consent__button:hover,
.fpb-cookie-consent__button:focus-visible {
  outline: none;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(125, 211, 252, 0.56);
  color: #ffffff;
}

.fpb-cookie-consent__button:active {
  transform: scale(0.96);
}

.fpb-cookie-consent__button--accept {
  background: #38bdf8;
  border-color: rgba(125, 211, 252, 0.95);
  color: #06111f;
}

.fpb-cookie-consent__button--accept:hover,
.fpb-cookie-consent__button--accept:focus-visible {
  background: #7dd3fc;
  color: #03111f;
}

body.fpb-cookie-consent-open #bottom-nav {
  pointer-events: none;
}

body.fpb-cookie-consent-open #bottom-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@media (max-width: 560px) {
  .fpb-cookie-consent {
    padding-left: 8px;
    padding-right: 8px;
  }

  .fpb-cookie-consent__inner {
    gap: 7px;
  }

  .fpb-cookie-consent__copy {
    font-size: 11px;
    line-height: 1.28;
  }

  .fpb-cookie-consent__copy strong {
    font-size: 11px;
  }

  .fpb-cookie-consent__actions {
    gap: 5px;
  }

  .fpb-cookie-consent__button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 10px;
  }
}

@media (max-width: 374px) {
  .fpb-cookie-consent__copy strong {
    display: none;
  }

  .fpb-cookie-consent__copy {
    font-size: 10.5px;
  }

  .fpb-cookie-consent__button {
    padding: 0 8px;
    font-size: 9.5px;
  }
}
