/* Pay-if-you-can request after every 10th free design download, and the Share Hotpot sheet. Builds on credit_checkout.css. */
.credit-checkout.pay-or-share { --cc-pad-top: 30px; --cc-title-size: 32px; width: min(420px, calc(100vw - 24px)); }
.credit-checkout.pay-or-share .pos-done { display: flex; align-items: center; gap: 7px; margin: 0 40px 12px 0; color: #4c7a4c; font-size: 13px; line-height: 20px; }
.credit-checkout.pay-or-share .pos-ok { flex: none; width: 20px; height: 20px; }
.credit-checkout.pay-or-share .pos-ok circle { fill: #3d8a52; }
.credit-checkout.pay-or-share .pos-ok path { fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.credit-checkout.pay-or-share .cc-close { top: 18px; }
.credit-checkout.pay-or-share h2 { margin: 0 36px 16px 0; font-family: var(--cc-serif); text-wrap: balance; }
.credit-checkout.pay-or-share p { margin: 0 0 12px; padding: 0; font-size: 15px; line-height: 1.55; }
.credit-checkout.pay-or-share .pos-details { color: var(--cc-purple); text-decoration: none; }
.credit-checkout.pay-or-share .pos-details:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.credit-checkout.pay-or-share .pos-actions { display: flex; gap: 10px; margin-top: 24px; }
.credit-checkout.pay-or-share .pos-actions > * { flex: 1; }
.credit-checkout.pay-or-share .pos-secondary { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 12px 18px; border: 1px solid var(--cc-line); border-radius: 5px; background: white; color: var(--cc-ink); font-weight: 500; }
.credit-checkout.pay-or-share .pos-secondary:hover { border-color: #a39b91; }
.credit-checkout.pay-or-share .pos-note { margin: 26px 0 0; color: var(--cc-muted); font-size: 13px; line-height: 1.5; }
.credit-checkout.pay-or-share .pos-note a { color: var(--cc-purple); text-decoration: none; }
.credit-checkout.pay-or-share .pos-note a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.credit-checkout.pay-or-share :is(button, a):focus-visible { outline: 2px solid #6b6b6b; outline-offset: 3px; }

/* Share Hotpot. Networks first, then the message with one Copy action. */
.credit-checkout.pay-or-share.pos-share-view .cc-close { top: 10px; }
.credit-checkout.pay-or-share.pos-share-view h2 { margin-top: 30px; margin-bottom: 24px; }
.credit-checkout.pay-or-share.pos-share-view:not(:has(.cc-back)) h2 { margin-top: 0; }
.credit-checkout.pay-or-share.pos-share-view:not(:has(.cc-back)) .cc-close { top: calc(var(--cc-pad-top) + var(--cc-title-size) * .55 - 22px); }
.credit-checkout.pay-or-share .pos-networks { display: flex; justify-content: space-between; gap: 4px; }
.credit-checkout.pay-or-share .pos-networks > * { display: grid; justify-items: center; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--cc-muted); font: 400 11.5px/1 var(--cc-sans); text-decoration: none; }
.credit-checkout.pay-or-share .pos-networks span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cc-surface); color: var(--cc-ink); transition: background-color .15s; }
.credit-checkout.pay-or-share .pos-networks > *:hover span { background: #ece6dc; }
.credit-checkout.pay-or-share .pos-networks svg { width: 19px; height: 19px; fill: currentColor; }
.credit-checkout.pay-or-share .pos-networks svg.pos-outline { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.credit-checkout.pay-or-share .pos-message { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--cc-line); }
.credit-checkout.pay-or-share .pos-message > p:first-child { margin-bottom: 4px; }
.credit-checkout.pay-or-share .pos-message span { color: var(--cc-purple); }
.credit-checkout.pay-or-share .pos-copy { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0; border: 0; background: none; color: var(--cc-purple); font-weight: 500; }
.credit-checkout.pay-or-share .pos-copy:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.credit-checkout.pay-or-share .pos-status { display: flex; align-items: center; gap: 6px; margin: 0; color: #4c7a4c; font-size: 13px; }
.credit-checkout.pay-or-share .pos-status:empty { display: none; }
.credit-checkout.pay-or-share .pos-status .pos-ok { width: 16px; height: 16px; }

@media (max-width: 600px) {
  .credit-checkout.pay-or-share { --cc-pad-top: 24px; --cc-title-size: 28px; }
  .credit-checkout.pay-or-share .pos-actions { flex-direction: column; }
  .credit-checkout.pay-or-share .pos-networks span { width: 40px; height: 40px; }
  .credit-checkout.pay-or-share .pos-networks svg { width: 17px; height: 17px; }
  .credit-checkout.pay-or-share .pos-networks > * { font-size: 10.5px; }
}
