.tk-purchase-topbar {
  border: 1px solid rgba(217, 184, 95, .62);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(217, 184, 95, .10);
  color: #ffe6a5;
  font-size: 10px;
  font-weight: 900;
}

.tk-purchase-home {
  display: block;
  margin-top: 16px;
  border: 1px solid rgba(217, 184, 95, .50);
  border-radius: 11px;
  padding: 9px 13px;
  background: rgba(217, 184, 95, .10);
  color: #ffe6a5;
  font-size: 11px;
  font-weight: 900;
}

.tk-plan-original-price {
  display: block;
  margin-bottom: 2px;
  color: #8ea5bf;
  font: 700 13px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: line-through;
}

.tk-plan-upgrade-label {
  display: block;
  margin-top: 4px;
  color: #ffe6a5;
  font: 800 10px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tk-plan-owned {
  opacity: .72;
}

.tk-plan-owned .plan-button,
.tk-checkout-loading {
  cursor: wait;
  opacity: .80;
}

.tk-plan-owned .plan-button {
  cursor: default;
  background: #112b4a;
  color: #95acc6;
}

.plans.tk-university-only {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

@media (max-width: 560px) {
  .tk-purchase-topbar {
    padding: 7px 8px;
  }

  .tk-purchase-home {
    font-size: 10px;
  }
}
.modal.tk-simple-paywall {
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  padding: 22px;
}

.tk-simple-paywall .modal-head { align-items: flex-start; gap: 14px; }
.tk-simple-paywall .modal-head .eyebrow,
.tk-simple-paywall .modal-sub { display: none; }
.tk-simple-paywall .modal-title {
  font-size: clamp(23px, 6vw, 31px);
  line-height: 1.4;
  white-space: pre-line;
}
.tk-simple-paywall .plans { display: flex; flex-direction: column; gap: 14px; }
.tk-simple-paywall .tk-simple-hidden { display: none !important; }
.tk-simple-paywall .tk-simple-primary { order: 0; text-align: center; padding: 22px 18px; }
.tk-simple-paywall .tk-simple-primary .plan-label,
.tk-simple-paywall .tk-simple-primary .plan-desc { display: none; }
.tk-simple-paywall .tk-simple-primary .plan-name { font-size: 24px; }
.tk-simple-paywall .tk-simple-primary .plan-price { margin: 12px 0; font-size: 42px; }
.tk-simple-paywall .tk-simple-primary .plan-button {
  min-height: 52px;
  margin-top: 16px;
  background: var(--gold, #d9b85f);
  border-color: var(--gold, #d9b85f);
  color: #061526;
}
.tk-simple-paywall .tk-simple-secondary {
  order: 1;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: center;
}
.tk-simple-paywall .tk-simple-secondary .plan-label,
.tk-simple-paywall .tk-simple-secondary .plan-name,
.tk-simple-paywall .tk-simple-secondary .plan-price,
.tk-simple-paywall .tk-simple-secondary .plan-desc { display: none; }
.tk-simple-paywall .tk-simple-secondary .plan-button {
  min-height: 44px;
  margin: 0;
  border: 0;
  padding: 10px 6px;
  background: transparent;
  color: var(--muted, #9cafc4);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
}
.tk-simple-paywall .tk-simple-secondary .plan-button:hover { color: #fff; }
.tk-simple-paywall .tk-simple-secondary .plan-button:focus-visible { outline: 2px solid #d9b85f; outline-offset: 2px; }
.tk-simple-paywall .tk-paywall-assurance {
  margin: 16px 0;
  border: 1px solid rgba(217, 184, 95, .35);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 17, 31, .55);
  color: #ffe6a5;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}
.tk-simple-paywall .tk-affiliate-coupon {
  margin: 14px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.tk-simple-paywall .tk-affiliate-reveal {
  width: auto;
  padding: 6px 0;
  color: var(--muted, #8ea5bf);
  font-size: 11px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tk-simple-paywall .tk-affiliate-reveal::after,
.tk-simple-paywall .tk-affiliate-reveal[aria-expanded="true"]::after { content: none; }
.tk-simple-paywall .tk-affiliate-fields { text-align: left; }
@media (max-width: 520px) {
  .modal.tk-simple-paywall { padding: 18px; }
  .tk-simple-paywall .modal-close { min-height: 44px; padding: 8px; font-size: 13px; white-space: nowrap; }
}
