.br-pa-article {
  width: 100%;
}

.br-pa-purchased-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid #86efac;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  vertical-align: middle;
  white-space: nowrap;
}

.br-pa-free-content {
  min-width: 0;
}

.br-pa-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: #92400e;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.br-pa-divider::before,
.br-pa-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #f59e0b;
}

.br-pa-divider span {
  flex: 0 1 auto;
}

/* 購入済み記事の無料本文と有料本文の間隔 */
.br-pa-divider-purchased {
  margin-top: 28px;
  margin-bottom: 28px;
}

.br-pa-paywall {
  margin: 28px 0 8px;
  padding: 25px 18px;
  border: 1px solid #f4d28c;
  border-radius: 8px;
  background: #fffbeb;
  text-align: center;
}

.br-pa-paywall-title {
  color: #78350f;
  font-size: 17px;
  font-weight: 800;
}

.br-pa-price-options {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.br-pa-base-price {
  position: relative;
  min-width: 170px;
  padding: 9px 14px;
  border: 1px solid #7db7e8;
  border-radius: 7px;
  background: #eaf5ff;
  color: #24557a;
  white-space: nowrap;
}

.br-pa-base-price-label {
  display: block;
  margin: 0 0 2px !important;
  font-size: 12px !important;
  font-weight: 800;
}

.br-pa-base-price strong {
  font-size: 22px;
  font-weight: 800;
}

.br-pa-base-price span,
.br-pa-premium-price > span:not(.br-pa-premium-price-label) {
  margin-left: 4px;
  font-size: 13px;
}

.br-pa-premium-price {
  position: relative;
  min-width: 170px;
  padding: 9px 14px;
  border: 1px solid #f5c56d;
  border-radius: 7px;
  background: #fff7df;
  color: #b45309;
  white-space: nowrap;
}

.br-pa-premium-price.is-applied {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .12);
}

.br-pa-premium-price-label {
  display: block;
  margin: 0 0 2px !important;
  font-size: 12px !important;
  font-weight: 800;
}

.br-pa-premium-price strong {
  font-size: 22px;
  font-weight: 800;
}

.br-pa-premium-price em {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  vertical-align: 3px;
}

.br-pa-purchase-button {
  display: block;
  width: min(100%, 360px);
  min-height: 50px;
  margin: 18px auto 0;
  padding: 13px 18px;
  border: 0;
  border-radius: 7px;
  background: #f58220;
  box-shadow: 0 5px 13px rgba(234, 88, 12, .2);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.br-pa-purchase-button:hover {
  background: #e87514;
}

a.br-pa-purchase-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
}

.br-pa-point-balance {
  margin: 14px 0 -4px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.br-pa-point-balance strong {
  color: #ea580c;
  font-size: 18px;
  font-weight: 800;
}

.br-pa-purchase-form {
  margin: 0;
}

.br-pa-premium-cta {
  margin-top: 10px;
}

.br-pa-premium-cta .premium-btn-container {
  margin: 0;
}

.br-pa-premium-cta .premium-btn {
  width: min(100%, 360px) !important;
  max-width: 360px !important;
  min-height: 50px !important;
  margin: 0 auto !important;
  padding: 12px 18px !important;
  font-size: 16px !important;
}

.br-pa-premium-cta-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 50px;
  margin: 0 auto;
  padding: 11px 18px;
  border: 1px solid #d9670d;
  border-radius: 7px;
  background: #e97818;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.br-pa-purchase-notice {
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.br-pa-purchase-notice.is-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.br-pa-purchase-notice.is-error {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #b91c1c;
}

.br-pa-test-grant-form {
  margin: -8px 0 20px;
  text-align: center;
}
.br-pa-test-grant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.br-pa-test-grant-button:hover {
  background: #e2e8f0;
}

.br-pa-bet-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 30px;
  margin: 3px 0;
  padding: 0;
}

.br-pa-bet-row.is-first {
  margin-top: 2em;
}

.br-pa-bet-combination {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.br-pa-bet-boat {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.br-pa-bet-hyphen {
  color: #475569;
  font-size: 15px;
  font-weight: 800;
}

.br-pa-bet-stake {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.br-pa-bet-total {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.br-pa-preview {
  width: 100%;
}

.br-pa-preview-title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
}

.br-pa-preview-error {
  padding: 14px 16px;
  border: 1px solid #fca5a5;
  border-radius: 7px;
  background: #fff1f2;
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 600px) {
  .br-pa-divider {
    gap: 8px;
    margin: 23px 0;
    font-size: 13px;
  }

  .br-pa-paywall {
    padding: 21px 12px;
  }

  .br-pa-price-options {
    gap: 10px;
  }

  .br-pa-base-price strong,
  .br-pa-premium-price strong {
    font-size: 19px;
  }

  .br-pa-base-price,
  .br-pa-premium-price {
    min-width: 0;
    flex: 1 1 0;
    padding: 8px 7px;
  }

  .br-pa-premium-price {
    padding: 8px 10px;
  }

  .br-pa-bet-row {
    min-height: 29px;
    margin: 2px 0;
  }

  .br-pa-bet-boat {
    width: 20px;
    height: 20px;
  }
}
