/* THC Play Billing 0.1.0 (2026-10-04). Only ever drawn inside the Google Play app (assets/thc-play-billing.js). */
.thc-play-buy {
	margin: 0 0 1rem;
}
.thc-play-buy p {
	margin: 0 0 0.75rem;
}
.thc-play-buy .thc-play-buy__note {
	font-size: 0.9em;
	opacity: 0.85;
}
.thc-play-buy .thc-play-buy__status:empty {
	display: none;
}
.thc-play-buy button[disabled] {
	opacity: 0.6;
	cursor: default;
}
/* A buy control replaces THC PWA's "isn't available in the Android app yet" note in the same box. */
html.thc-play-app .thc-play-billing-has-buy > .thc-play-note:not(.thc-play-buy) {
	display: none !important;
}
/* THC 2026-10-09 (0.1.7): the signed-out "Sign in to buy" link was invisible on the Tutor course page in the dark
 * theme: a link-colour rule with higher specificity than THC Core's dark button rule painted the words the same light
 * green as the button. The text colour is now set here on every state, from the same variable the theme's buttons
 * use (THC Core flips it for dark and high contrast): cream on dark green in light, dark on light green in dark, white
 * on near-black in high contrast. The signed-in <button> gets the same rule so both always match.
 */
.thc-play-buy a.thc-button-primary,
.thc-play-buy a.thc-button-primary:hover,
.thc-play-buy a.thc-button-primary:visited,
.thc-play-buy a.thc-button-primary:focus,
.thc-play-buy a.thc-button-primary:active,
.thc-play-buy button.thc-button-primary,
.thc-play-buy button.thc-button-primary:hover,
.thc-play-buy button.thc-button-primary:visited,
.thc-play-buy button.thc-button-primary:focus,
.thc-play-buy button.thc-button-primary:active {
	color: var(--thc-surface-raised, #fcf8ef) !important;
	text-decoration: none;
}
