/* Premium pricing and feature comparison match the reference paywall. */
body > .premium-paywall > .premium-paywall-dialog {
  width: min(740px, calc(100vw - 32px)) !important;
  border-radius: 12px;
}

.premium-plan-grid {
  gap: 22px;
  margin: 20px 20px 0;
}

.premium-plan {
  min-height: 168px;
  padding: 22px;
  border-width: 3px;
  border-radius: 20px;
}

.premium-plan > span {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600 !important;
}

.premium-plan > strong {
  margin-top: 12px;
  font-size: 30px;
  line-height: 38px;
  font-weight: 600 !important;
}

.premium-plan > em,
.premium-plan > small {
  color: #64748b;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400 !important;
}

.premium-plan > b {
  top: -16px;
  right: 14px;
  padding: 5px 12px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600 !important;
}

.premium-comparison {
  margin: 30px 20px 0;
  border-radius: 14px;
}

.premium-comparison-head,
.premium-comparison-row {
  min-height: 57px;
  grid-template-columns: minmax(0, 1fr) 84px 84px;
  padding: 10px 22px;
}

.premium-comparison-head strong {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600 !important;
}

.premium-feature-label {
  gap: 14px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500 !important;
}

.premium-feature-label i,
.premium-feature-label i svg {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.premium-feature-state,
.premium-feature-state svg {
  width: 24px;
  height: 24px;
}

.premium-feature-number {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600 !important;
}

.premium-paywall-scroll {
  padding-bottom: 116px;
}

.premium-paywall-spacer {
  height: 28px;
}

.premium-paywall-footer {
  padding: 20px;
}

.premium-paywall-footer button {
  min-height: 78px;
  border-radius: 20px;
  font-size: 23px;
  line-height: 30px;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  body > .premium-paywall > .premium-paywall-dialog {
    width: 100vw !important;
    border-radius: 0;
  }

  .premium-plan-grid {
    gap: 10px;
    margin: 14px 14px 0;
  }

  .premium-plan {
    min-height: 112px;
    padding: 12px;
    border-width: 2px;
    border-radius: 14px;
  }

  .premium-plan > span { font-size: 15px; line-height: 21px; }
  .premium-plan > strong { margin-top: 5px; font-size: 20px; line-height: 28px; }
  .premium-plan > em,
  .premium-plan > small { font-size: 12px; line-height: 17px; }
  .premium-plan > b { top: -10px; right: 8px; padding: 2px 8px; font-size: 10px; line-height: 16px; }

  .premium-comparison { margin: 16px 14px 0; border-radius: 10px; }
  .premium-comparison-head,
  .premium-comparison-row {
    min-height: 46px;
    grid-template-columns: minmax(0, 1fr) 48px 56px;
    padding: 7px 10px;
  }
  .premium-comparison-head strong,
  .premium-feature-label,
  .premium-feature-number { font-size: 12px; line-height: 17px; }
  .premium-feature-label { gap: 7px; }
  .premium-feature-label i,
  .premium-feature-label i svg,
  .premium-feature-state,
  .premium-feature-state svg { width: 16px; height: 16px; flex-basis: 16px; }

  .premium-paywall-scroll { padding-bottom: 82px; }
  .premium-paywall-footer { padding: 12px 14px; }
  .premium-paywall-footer button { min-height: 52px; border-radius: 14px; font-size: 16px; line-height: 22px; }
}
