/* Keep the original blue checked state distinct from the annual recommendation. */
.buysubs-container .plan-card .t1 .chu-plan-capacity {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(var(--primary-color, 62, 146, 246), .18);
  border-radius: 12px;
  background: rgba(var(--primary-color, 62, 146, 246), .06);
  color: rgba(var(--primary-color, 62, 146, 246), 1);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  vertical-align: middle;
}
.buysubs-container .plan-card .t1 .chu-plan-capacity.is-unavailable {
  border-color: #d9d9d9;
  background: #f5f5f5;
  color: #757575;
}
.buysubs-container .plan-card .t3:disabled {
  opacity: .5;
  cursor: not-allowed;
}
body .dashboard-container .subscribe-info .subs-box.chu-subscription-card {
  height: auto;
  min-height: 300px;
}
body .dashboard-container .subscribe-info .subs-box .subs-msg.chu-subscription-summary .t1 {
  margin-bottom: 22px;
  color: #182b49;
  font-weight: 600;
}
body .dashboard-container .subscribe-info .subs-box .subs-msg.chu-subscription-summary > .t2,
body .dashboard-container .subscribe-info .subs-box .subs-msg.chu-subscription-summary .t3 {
  display: none;
}
.chu-subscription-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-bottom: 26px;
}
.chu-subscription-label {
  display: block;
  margin-bottom: 5px;
  color: #737b86;
  font-size: 13px;
  line-height: 1.5;
}
.chu-subscription-value {
  display: block;
  color: #182b49;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.chu-subscription-metrics > div:last-child .chu-subscription-value {
  color: #246df5;
}
.chu-subscription-usage {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  color: #737b86;
  font-size: 13px;
  line-height: 1.6;
}
.chu-subscription-usage > span:last-child {
  color: #253247;
}
body .dashboard-container .subscribe-info .subs-box .subs-msg.chu-subscription-summary .prog {
  margin-bottom: 0;
}
body .dashboard-container .subscribe-info .subs-box.chu-subscription-card .subs-btns {
  margin-top: 20px;
  margin-bottom: 0;
}
body .dashboard-container .subscribe-info .chu-subscription-card .subs-btns > .btn-2:first-of-type {
  border-color: #246df5;
  color: #246df5;
  background: transparent;
  border-radius: 6px;
}
body.is-darkmode .dashboard-container .subscribe-info .subs-box .subs-msg.chu-subscription-summary .t1,
body.is-darkmode .chu-subscription-value,
body.is-darkmode .chu-subscription-usage > span:last-child {
  color: #e4edfc;
}
body.is-darkmode .chu-subscription-label,
body.is-darkmode .chu-subscription-usage {
  color: #b9c4d6;
}
body.is-darkmode .chu-subscription-metrics > div:last-child .chu-subscription-value {
  color: #80b4ff;
}
@media (max-width: 600px) {
  .chu-subscription-metrics { gap: 16px; }
  .chu-subscription-value { font-size: 20px; }
}
@media (max-width: 380px) {
  .chu-subscription-metrics { grid-template-columns: minmax(0, 1fr); }
}
body .chu-notice-section--promotion > .chu-notice-section__title {
  flex-wrap: wrap;
  row-gap: 4px;
}
body .chu-notice-section__title .chu-notice-period-hint {
  color: #7b879a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
body.is-darkmode .chu-notice-section__title .chu-notice-period-hint {
  color: #b9c4d6;
}
@media (max-width: 600px) {
  body .chu-notice-section__title .chu-notice-period-hint {
    flex-basis: 100%;
    max-width: calc(100% - 17px);
    margin-left: 17px;
  }
}
.buysubs-container .plan-card .t3 {
  border-color: rgba(var(--primary-color, 62, 146, 246), 1);
  border-radius: 8px;
  background: transparent;
  color: rgba(var(--primary-color, 62, 146, 246), 1);
  font-weight: 600;
}
.buysubs-container .plan-card .t3:hover {
  background: rgba(var(--primary-color, 62, 146, 246), .06);
}
/* Override the inline link color supplied by the custom plan description. */
.buysubs-container .plan-card .plan-cont a[href^="https://t.me/"] {
  color: rgba(var(--primary-color, 62, 146, 246), 1) !important;
}
.buysubs-container .plan-card .t3 .cart {
  display: none;
}
.buysubs-container .order-box .tit .chu-period-hint {
  display: block;
  margin-top: 6px;
  color: #757575;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
body.is-darkmode .buysubs-container .order-box .tit .chu-period-hint {
  color: #b9bec7;
}
.buysubs-container .order-box .ant-radio-button-wrapper.chu-annual-option {
  position: relative;
  height: auto;
  min-height: 64px;
  padding: 10px 15px;
  overflow: hidden;
  line-height: 1.5;
  white-space: normal;
}
.buysubs-container .order-box .ant-radio-button-wrapper.chu-annual-option:not(.ant-radio-button-wrapper-checked) {
  border-color: #f3a147;
  background: linear-gradient(110deg, #fff8ee, #fff2df);
  box-shadow: 0 0 0 2px rgba(243, 161, 71, .07);
}
.buysubs-container .order-box .chu-annual-option .radio-flex {
  gap: 12px;
}
.buysubs-container .order-box .chu-annual-option .radio-flex > span:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
}
.buysubs-container .order-box .chu-annual-option .radio-flex > span:last-child {
  flex-shrink: 0;
  font-weight: 700;
}
.buysubs-container .order-box .chu-annual-option:not(.ant-radio-button-wrapper-checked) .radio-flex > span:last-child {
  color: #cf6500;
}
.chu-annual-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 12px;
  background: #f28a18;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
}
.chu-annual-note {
  display: block;
  margin-top: 3px;
  color: #8a5c2c;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ant-radio-button-wrapper-checked .chu-annual-note {
  color: inherit;
}
.buysubs-container .order-box .chu-annual-option::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: chu-annual-shine 1.2s ease-out .25s 1 both;
}
@keyframes chu-annual-shine {
  to { transform: translateX(120%); }
}
body.is-darkmode .buysubs-container .order-box .chu-annual-option:not(.ant-radio-button-wrapper-checked) {
  background: #392d20;
  border-color: #b77d3f;
}
body.is-darkmode .chu-annual-note,
body.is-darkmode .buysubs-container .order-box .chu-annual-option:not(.ant-radio-button-wrapper-checked) .radio-flex > span:last-child {
  color: #f0b978;
}
body.is-darkmode .ant-radio-button-wrapper-checked .chu-annual-note {
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .buysubs-container .order-box .chu-annual-option::after { animation: none; }
}
