/* v789: readable, exact package comparison and purchase facts. */
.paywall-panel,
body[data-theme] .paywall-panel,
html.native-layout-guard .paywall-panel,
html.native-layout-guard body[data-theme] .paywall-panel {
  width: min(860px, calc(100vw - 32px)) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow-y: auto !important;
  background: #0c0f13 !important;
  color: #f8f7f2 !important;
}

.paywall-panel > #paywallText,
body[data-theme] .paywall-panel > #paywallText {
  color: #dedbd2 !important;
}

.paywall-product small,
body[data-theme] .paywall-product small,
.paywall-product .paywall-plan-feature,
body[data-theme] .paywall-product .paywall-plan-feature {
  color: #e5e2da !important;
}

.paywall-product .paywall-plan-features,
body[data-theme] .paywall-product .paywall-plan-features {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 3px !important;
}

.paywall-product .paywall-plan-feature,
body[data-theme] .paywall-product .paywall-plan-feature {
  display: inline-flex !important;
  width: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  padding: 4px 7px !important;
  font-size: 0.64rem !important;
  font-weight: 680 !important;
  line-height: 1.2 !important;
}

.paywall-comparison,
body[data-theme] .paywall-comparison {
  display: grid !important;
  gap: 10px !important;
  margin-top: 4px !important;
  border: 1px solid rgba(220, 232, 111, 0.28) !important;
  border-radius: 20px !important;
  background: #12171c !important;
  padding: 16px !important;
  color: #f8f7f2 !important;
}

.paywall-comparison-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.paywall-comparison-head span {
  display: block;
  margin-bottom: 4px;
  color: #dce86f;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paywall-comparison h3,
body[data-theme] .paywall-comparison h3,
#paywallComparisonTitle,
body[data-theme] #paywallComparisonTitle {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 1.12rem !important;
  line-height: 1.2 !important;
}

.paywall-comparison > p,
body[data-theme] .paywall-comparison > p,
.paywall-comparison-content > p,
body[data-theme] .paywall-comparison-content > p {
  margin: 0 !important;
  color: #dedbd2 !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
}

.paywall-comparison-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #0a0d10;
  scrollbar-color: #dce86f #20262d;
  scrollbar-width: thin;
}

.paywall-comparison-scroll:focus-visible {
  outline: 3px solid #dce86f;
  outline-offset: 3px;
}

.paywall-comparison table {
  width: 100%;
  min-width: 760px;
  border-spacing: 0;
  border-collapse: separate;
  color: #f8f7f2;
  font-size: 0.78rem;
}

.paywall-comparison th,
.paywall-comparison td {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 10px;
  text-align: center;
  vertical-align: middle;
}

.paywall-comparison tr:last-child th,
.paywall-comparison tr:last-child td {
  border-bottom: 0;
}

.paywall-comparison th:last-child,
.paywall-comparison td:last-child {
  border-right: 0;
}

.paywall-comparison thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #20262d;
  color: #ffffff;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paywall-comparison thead th:first-child,
.paywall-comparison tbody th {
  width: 46%;
  min-width: 300px;
  text-align: left;
}

.paywall-comparison thead th:first-child {
  left: 0;
  z-index: 4;
}

.paywall-comparison tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #14191f;
  color: #f8f7f2;
  font-weight: 690;
  line-height: 1.3;
}

.paywall-comparison td {
  min-width: 106px;
  background: #0f1317;
  font-weight: 820;
}

.paywall-comparison td.is-included {
  color: #e7f592;
}

.paywall-comparison td.is-excluded {
  color: #c8c6c0;
  font-weight: 650;
}

.paywall-comparison td.is-limit {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.paywall-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.paywall-facts section {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #0d1115;
  padding: 12px;
}

.paywall-facts h4,
body[data-theme] .paywall-facts h4 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
}

.paywall-facts ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paywall-facts li {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: #dedbd2;
  font-size: 0.75rem;
  line-height: 1.4;
}

.paywall-facts li::before {
  position: absolute;
  top: 0.49em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dce86f;
  content: "";
}

.paywall-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 699px) {
  .paywall-panel,
  body[data-theme] .paywall-panel,
  html.native-layout-guard .paywall-panel,
  html.native-layout-guard body[data-theme] .paywall-panel {
    width: min(100%, calc(100vw - 12px)) !important;
    max-height: calc(100dvh - var(--safe-top, 0px) - var(--safe-bottom, 0px) - 12px) !important;
  }

  .paywall-comparison,
  body[data-theme] .paywall-comparison {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .paywall-comparison table {
    min-width: 525px;
    font-size: 0.75rem;
  }

  .paywall-comparison thead th:first-child,
  .paywall-comparison tbody th {
    width: 40%;
    min-width: 205px;
  }

  .paywall-comparison td {
    min-width: 100px;
  }

  .paywall-comparison th,
  .paywall-comparison td {
    padding: 8px;
  }

  .paywall-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .paywall-comparison-scroll {
    scroll-behavior: auto;
  }
}
