/* claude-links-20261126: PSC Pro's gold on the website (Claude, 26 Nov 2026; Ahmed 11:55: "make sure this gold subscription
   button is also available in the website, similar to the one in the app"). The app's colours (psc-mobile src/theme.ts
   proGold): words 7.4:1 (light) and 9.2:1 (dark) on the button, its edge 3:1 or more on the page in both looks.
   Also the "Pay with Apple or Google" box (psc-links-v1.js; Ahmed 12:01). */
:root {
  --psc-gold-bg: #D9A845; --psc-gold-ink: #2A1F08; --psc-gold-edge: #A97B22;
  --psc-gold-card: #FBEFD5; --psc-gold-card-edge: #D4A54A; --psc-gold-title: #5C4313; --psc-gold-text: #4A3810;
}
html[data-ips-scheme-active="dark"] {
  --psc-gold-bg: #E8BE68; --psc-gold-edge: #F4D0A2;
  --psc-gold-card: #2E2512; --psc-gold-card-edge: #B88A35; --psc-gold-title: #F4D0A2; --psc-gold-text: #F1E3C6;
}

/* Every button that leads to PSC Pro: Subscribe Now, Upgrade to PSC Pro (Pro sections), the free plan's limit pages,
   flashcards' See PSC Pro. A cancel or change button is left as it is. */
a.ipsButton.ipsButton--primary[href*="/subscriptions"]:not([href*="cancel"]),
a.psc-fc-button[href*="/subscriptions"],
.psc-gold-button {
  background: var(--psc-gold-bg) !important;
  color: var(--psc-gold-ink) !important;
  border: 1.5px solid var(--psc-gold-edge) !important;
  text-decoration: none !important;
  font-weight: 700;
}
a.ipsButton.ipsButton--primary[href*="/subscriptions"]:not([href*="cancel"]):hover,
a.psc-fc-button[href*="/subscriptions"]:hover,
.psc-gold-button:hover { filter: brightness(1.06); }
a.ipsButton.ipsButton--primary[href*="/subscriptions"]:focus-visible,
.psc-gold-button:focus-visible { outline: 2px solid var(--psc-gold-edge); outline-offset: 2px; }

/* "Prefer to pay with Apple or Google?" (psc-links-v1.js). */
.psc-store-pay {
  margin: 14px 0; padding: 14px 16px; border-radius: 12px;
  background: var(--psc-gold-card); border: 1.5px solid var(--psc-gold-card-edge); color: var(--psc-gold-text);
}
.psc-store-pay--compact { margin: 12px 0 0; padding: 12px 14px; }
.psc-store-pay__title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--psc-gold-title); }
.psc-store-pay--compact .psc-store-pay__title { font-size: .95rem; }
.psc-store-pay__text { margin: 0 0 10px; line-height: 1.45; color: var(--psc-gold-text); }
.psc-store-pay__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.psc-store-pay__button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none !important;
  background: transparent; color: var(--psc-gold-title) !important; border: 1.5px solid var(--psc-gold-edge);
}
.psc-store-pay__button:hover { background: rgba(217, 168, 69, .14); }
.psc-store-pay__button:focus-visible { outline: 2px solid var(--psc-gold-edge); outline-offset: 2px; }
.psc-store-pay__button i { font-size: 1.15em; }
.psc-store-pay__button--soon { opacity: .9; }
.psc-store-pay__note { margin: 10px 0 0; line-height: 1.45; font-size: .92rem; }
