
















.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  



  min-height: 2rem;
  padding: 0.3125rem 0.8125rem;
  border-radius: var(--r-xs);
  border: none;
  gap: 0.375rem;

  color: var(--text);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}


.pb-btn pb-icon { line-height: 0; }
.pb-btn svg { width: 15px; height: 15px; }


.pb-btn:active { transform: translateY(0.03125rem); }


.pb-btn-primary {
  background: var(--primary);
  color: var(--primary-text);
}





.pb-btn-warn {
  background: var(--warn);
  color: var(--surface);
}
.pb-btn-warn:hover { background: color-mix(in srgb, #000 12%, var(--warn)); }
.pb-btn-primary:hover { background: var(--primary-hover); }


.pb-btn-secondary {
  background: var(--surface-warm);
  color: var(--text);
}
.pb-btn-secondary:hover {
  background: color-mix(in srgb, var(--text) 8%, var(--surface-warm));
}


.pb-btn-ghost {
  background: transparent;
  color: var(--text-soft);
}
.pb-btn-ghost:hover {
  background: var(--surface-warm);
  color: var(--text);
}


.pb-btn-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: var(--surface-warm);
  color: var(--text);
}
.pb-btn-icon:hover {
  background: color-mix(in srgb, var(--text) 8%, var(--surface-warm));
}
.pb-btn-icon svg { width: 16px; height: 16px; }




.pb-btn-sm {
  min-height: 2rem;
  padding: 0.3125rem 0.8125rem;
  font-size: var(--fs-md);
  border-radius: var(--r-xs);
}
.pb-btn-sm svg { width: 15px; height: 15px; }









.pb-btn-lg {
  height: 2.25rem;
  padding: 0 1.125rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-body);
  letter-spacing: var(--track-body);
  border-radius: var(--r-md);
  gap: 0.4375rem;
}






.pb-btn-lg svg {
  width: 1.125em;
  height: 1.125em;
  margin: -0.09em 0 0 -0.1875em;
}







.pb-btn-go {
  height: 2.5rem;
  padding: 0 1.125rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-body);
  letter-spacing: var(--track-body);
  border-radius: calc(var(--r-xl) - 0.5rem);
  gap: 0.4375rem;
}
.pb-btn-go.pb-btn-secondary { background: rgb(var(--tint) / 0.075); color: var(--text-soft); }
.pb-btn-go.pb-btn-secondary:hover { background: rgb(var(--tint) / 0.12); color: var(--text); }
.pb-btn-go svg { width: 1.125em; height: 1.125em; }


.pb-btn-block { width: 100%; }


.pb-btn-add { gap: 0.375rem; padding: 0.3125rem 0.8125rem; }
.pb-btn-add svg { width: 15px; height: 15px; }





.pb-btn:disabled:not(.loading),
.pb-btn[aria-disabled="true"]:not(.loading) {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}


@media (hover: none) {
  .pb-btn:active { transform: none; }
}














@media (max-width: 767.98px) {
  .pb-btn {
    font-size: var(--fs-md);
    




    min-height: 2.15rem;
    padding: 0.35em 0.5em;
    gap: 0.25em;
  }
  .pb-btn svg { width: 1em; height: 1em; }
  .pb-btn-sm { font-size: var(--fs-md); min-height: 2.15rem; padding: 0.35em 0.5em; }

  .pb-btn-icon {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    position: relative;
  }
  .pb-btn-icon svg { width: 1em; height: 1em; }
  .pb-btn-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--touch);
    height: var(--touch);
    transform: translate(-50%, -50%);
  }
}











.pb-btn-x {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border: none;
  background: transparent;
  color: var(--text-faint);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pb-btn-x:hover { background: var(--fill-hover); color: var(--text); } 
.pb-btn-x svg { width: 18px; height: 18px; }










.pb-spin {
  --spin: 1.125rem;
  --spin-w: 0.1875rem;
  position: relative;
  width: var(--spin);
  height: var(--spin);
  flex: none;
  border-radius: 50%;
  border: var(--spin-w) solid color-mix(in srgb, currentColor 16%, transparent);
  animation: pb-spin 0.7s linear infinite;
}
.pb-spin::after {
  content: "";
  position: absolute;
  inset: calc(var(--spin-w) * -1);
  border-radius: 50%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-dasharray='24 100'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-dasharray='24 100'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pb-spin.sm { --spin: 0.875rem; --spin-w: 0.15625rem; }
.pb-spin.lg { --spin: 1.5rem; }
@keyframes pb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pb-spin { animation-duration: 1.6s; }
}







.pb-btn.loading {
  pointer-events: none;
  color: transparent !important;
  position: relative;
}
.pb-btn.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border-radius: 50%;
  
  background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-dasharray='24 100'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-dasharray='24 100'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  animation: pb-spin 0.7s linear infinite;
}
.pb-btn-primary.loading::after { background: var(--primary-text); }









.pb-skel {
  display: block;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  animation: pb-skel 1.1s ease-in-out infinite;
}
.pb-skel--box { border-radius: var(--r-md); }
.pb-skel--circle { border-radius: 50%; }
@keyframes pb-skel { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .pb-skel { animation: none; opacity: 0.4; }
}










.pb-fcard-skel {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: var(--sp-2);
  background: var(--surface);
  border-radius: var(--r-lg);
  min-height: 15rem;
}
.pb-fcard-skel > .pb-skel--circle { position: relative; z-index: 1; }












.pb-lockcta {
  display: inline-flex;
  align-items: center;
  


  gap: 0.3125rem;
  padding: 0.1875rem 0.625rem 0.1875rem 0.5rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--warn-tint);
  color: var(--warn);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: baseline;
  text-decoration: none;
}
.pb-lockcta svg { width: 12px; height: 12px; flex: none; color: var(--warn); }
button.pb-lockcta,
a.pb-lockcta { cursor: pointer; }






.pb-btn.is-locked:disabled {
  opacity: 1;
  background: var(--warn-tint);
  color: var(--warn);
  cursor: default;
}
.pb-btn.is-locked:disabled:hover { background: var(--warn-tint); }
.pb-btn.is-locked svg { width: 13px; height: 13px; flex: none; }


button.pb-lockcta:hover,
a.pb-lockcta:hover { filter: brightness(0.97); }
