.oj-home-clones {
  --oj-primary: #1876d6;
  --oj-primary-hover: #0c5fba;
  --oj-brand-blue: #1876d6;
  --oj-brand-blue-hover: #0c5fba;
  --oj-promo: #d92b3a;
  --oj-text: #19172e;
  --oj-text-soft: #62597c;
  --oj-text-muted: #736788;
  --oj-line: #e9e6f1;
  --oj-surface: #ffffff;
  --oj-card: #ffffff;
  --oj-muted: #f5f2fc;
  --oj-soft: #f4efff;
  --oj-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 10;
  padding: 48px 0 0;
  background: var(--oj-surface);
  color: var(--oj-text);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.oj-home-clones + section {
  border-top-width: 0;
}

.oj-wallet-plan-target {
  scroll-margin-top: 96px;
  outline: 2px solid #1876d6;
  outline-offset: 3px;
  box-shadow:
    0 0 0 5px rgba(24, 118, 214, 0.1),
    0 16px 36px rgba(24, 118, 214, 0.16);
  animation: oj-wallet-plan-arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oj-wallet-plan-arrive {
  0% {
    opacity: 0.4;
    transform: translateY(10px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-oj-core-features-hidden] {
  display: none !important;
}

.oj-home-clones *,
.oj-home-clones *::before,
.oj-home-clones *::after {
  box-sizing: border-box;
}

.oj-home-clones img {
  display: block;
  max-width: 100%;
}

.oj-home-clones a {
  color: inherit;
  text-decoration: none;
}

.oj-home-clones button {
  font: inherit;
}

.oj-market-section {
  width: min(1216px, calc(100% - 48px));
  margin: 0 auto;
}

.oj-market-section + .oj-market-section {
  margin-top: 64px;
}

.oj-market-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 36px;
  margin-bottom: 12px;
}

.oj-market-title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: var(--oj-text);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.62;
  letter-spacing: -0.02em;
}

.oj-market-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--oj-primary);
  transform: translateY(-50%);
}

.oj-market-more {
  margin-left: auto;
  color: var(--oj-primary);
  font-size: 12px;
  font-weight: 650;
  line-height: 20px;
  transition: color 300ms var(--oj-ease);
}

.oj-market-more:hover,
.oj-market-more:focus-visible {
  color: var(--oj-primary-hover);
}

.oj-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.oj-model-grid.is-curated {
  gap: 16px;
}

.oj-model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--oj-line);
  border-radius: 16px;
  background: var(--oj-card);
  box-shadow: 0 4px 18px rgba(63, 41, 105, 0.055);
  transition:
    border-color 300ms var(--oj-ease),
    box-shadow 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-model-card:hover {
  border-color: #dcd5e9;
  box-shadow: 0 10px 28px rgba(63, 41, 105, 0.11);
  transform: translateY(-2px);
}

.oj-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f3f9;
}

.oj-card-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms var(--oj-ease);
}

.oj-model-card:hover .oj-card-cover > img {
  transform: scale(1.018);
}

.oj-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 48px;
  padding: 4px 8px;
  color: #ffffff;
  background: #e52a36;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(92, 18, 28, 0.2);
}

.oj-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px 14px;
}

.oj-card-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.oj-card-brand {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--oj-text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-card-name {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--oj-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-card-summary {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--oj-text-soft);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-card-meta {
  margin-top: auto;
  padding-top: 2px;
}

.oj-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--oj-text-muted);
  font-size: 12px;
  line-height: 16px;
}

.oj-price b {
  color: #e5324d;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.02em;
}

.oj-price span {
  white-space: nowrap;
}

.oj-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--oj-line);
}

.oj-home-clones .oj-card-action {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  background: var(--oj-brand-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-home-clones .oj-card-action:hover,
.oj-home-clones .oj-card-action:focus-visible {
  color: #ffffff;
  background: var(--oj-brand-blue-hover);
}

.oj-home-clones .oj-card-action:active {
  transform: scale(0.985);
}

.oj-home-clones .oj-card-action svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  transition: transform 300ms var(--oj-ease);
}

.oj-home-clones .oj-card-action:hover svg {
  transform: translateX(2px);
}

.oj-home-clones .oj-card-detail {
  flex: 0 0 auto;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 8px 2px;
  color: var(--oj-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  transition: color 300ms var(--oj-ease);
}

.oj-home-clones .oj-card-detail::after {
  content: "→";
  font-weight: 500;
}

.oj-home-clones .oj-card-detail:hover,
.oj-home-clones .oj-card-detail:focus-visible {
  color: var(--oj-primary);
}
.oj-marquee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading controls"
    "rail rail";
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--oj-line);
  border-radius: 14px;
  background: var(--oj-card);
}

.oj-marquee-heading {
  grid-area: heading;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--oj-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.oj-marquee-heading svg {
  width: 15px;
  height: 15px;
}

.oj-marquee-hint {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--oj-soft);
  color: var(--oj-primary);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}

.oj-marquee-rail {
  grid-area: rail;
  display: flex;
  gap: 0;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.oj-marquee-rail::-webkit-scrollbar {
  display: none;
}

.oj-deal {
  flex: 0 0 25%;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px dashed var(--oj-line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.oj-deal:last-child {
  border-right: 0;
}

.oj-deal-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.oj-deal + .oj-deal {
  padding-left: 12px;
}

.oj-deal-line + .oj-deal-line {
  margin-top: 7px;
}

.oj-deal-discount {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--oj-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
}

.oj-deal-name,
.oj-deal-spec {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-deal-name {
  color: var(--oj-text);
  font-size: 13px;
  font-weight: 700;
}

.oj-deal-price {
  color: var(--oj-primary);
  font-size: 15px;
  font-weight: 800;
}

.oj-deal-origin {
  color: var(--oj-text-muted);
  font-size: 11px;
}

.oj-deal-spec {
  color: var(--oj-text-muted);
  font-size: 11px;
}

.oj-marquee-controls {
  grid-area: controls;
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.oj-round-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--oj-line);
  border-radius: 999px;
  background: var(--oj-surface);
  color: var(--oj-text-soft);
  cursor: pointer;
  transition:
    border-color 300ms var(--oj-ease),
    color 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-round-button:hover,
.oj-round-button:focus-visible {
  border-color: #bcd7f7;
  color: var(--oj-primary);
}

.oj-round-button:active {
  transform: scale(0.96);
}

.oj-round-button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.oj-round-button svg {
  width: 14px;
  height: 14px;
}

.oj-n9-band {
  width: min(1216px, calc(100% - 48px));
  margin: 0 auto;
}

.oj-n9-band .oj-market-heading {
  margin-bottom: 18px;
}

.oj-n9-band + .oj-market-section {
  margin-top: 64px;
}

.oj-n9-lead {
  color: #5f6773;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.oj-n9-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.oj-n9-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 0;
  border: 1px solid #e6e6ea;
  border-radius: 16px;
  background: #ffffff;
  color: #19172e;
  text-align: left;
  transition:
    border-color 300ms var(--oj-ease),
    box-shadow 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-n9-card:hover,
.oj-n9-card:focus-visible {
  border-color: #cdced6;
  box-shadow: 0 12px 28px rgba(17, 19, 26, 0.08);
  transform: translateY(-2px);
}

.oj-n9-card:active {
  transform: translateY(-1px) scale(0.997);
}

.oj-n9-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 16px;
}

.oj-n9-family {
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.12em;
}

.oj-n9-name {
  margin-top: 10px;
  overflow: hidden;
  color: var(--oj-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-n9-desc {
  margin-top: 3px;
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-n9-quota {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
}

.oj-n9-quota b {
  color: var(--oj-text);
  font-size: 30px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.oj-n9-quota i {
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.oj-n9-meta {
  margin-top: 4px;
  color: #6b7280;
  font-size: 11.5px;
  line-height: 16px;
}

.oj-n9-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -18px 0;
  padding: 12px 18px;
  border-top: 1px solid #efeff2;
}

.oj-n9-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.oj-n9-price b {
  color: var(--oj-text);
  font-size: 21px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.oj-n9-price s {
  color: #6b7280;
  font-size: 11.5px;
}

.oj-n9-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid #dcdce2;
  border-radius: 999px;
  background: transparent;
  color: var(--oj-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 28px;
  transition:
    border-color 300ms var(--oj-ease),
    color 300ms var(--oj-ease);
}

.oj-n9-card:hover .oj-n9-cta,
.oj-n9-card:focus-visible .oj-n9-cta {
  border-color: #14161c;
  color: #14161c;
}

.oj-n9-anchor {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  column-gap: 26px;
  padding: 24px 28px;
  border-color: #14161c;
  background: #14161c;
  color: #f6f7f9;
}

.oj-n9-anchor:hover,
.oj-n9-anchor:focus-visible {
  border-color: #14161c;
  box-shadow: 0 20px 44px rgba(15, 17, 22, 0.22);
}

.oj-n9-anchor-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.oj-n9-anchor-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid #333842;
}

.oj-n9-anchor .oj-n9-family {
  color: #a8aeb9;
}

.oj-n9-anchor-tag {
  color: #d8b878;
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
  letter-spacing: 0.02em;
}

.oj-n9-anchor .oj-n9-name {
  margin-top: 14px;
  color: #f6f7f9;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: normal;
}

.oj-n9-anchor .oj-n9-desc {
  margin-top: 2px;
  color: #a8aeb9;
  font-size: 12.5px;
}

.oj-n9-anchor .oj-n9-meta {
  margin-top: auto;
  padding-top: 14px;
  color: #a8aeb9;
  font-size: 11.5px;
}

.oj-n9-anchor .oj-n9-quota {
  display: block;
  margin: 0;
}

.oj-n9-anchor .oj-n9-quota b {
  display: block;
  color: #f6f7f9;
  font-size: 54px;
  line-height: 1;
}

.oj-n9-anchor .oj-n9-quota i {
  display: block;
  margin-top: 6px;
  color: #a8aeb9;
  font-size: 12.5px;
}

.oj-n9-anchor .oj-n9-price {
  margin-top: auto;
  padding-top: 18px;
}

.oj-n9-anchor .oj-n9-price b {
  color: #f6f7f9;
  font-size: 26px;
}

.oj-n9-anchor .oj-n9-price s {
  color: #8b919c;
  font-size: 12px;
}

.oj-n9-anchor .oj-n9-cta {
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 16px;
  border-color: #f6f7f9;
  background: #f6f7f9;
  color: #14161c;
  font-size: 12.5px;
  line-height: 32px;
}

.oj-n9-anchor:hover .oj-n9-cta,
.oj-n9-anchor:focus-visible .oj-n9-cta {
  background: #e6e7ea;
}

.oj-n9-more {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 0 28px;
  border: 1px solid #d9d9e0;
  border-radius: 16px;
  color: var(--oj-text);
  text-align: left;
  transition:
    border-color 300ms var(--oj-ease),
    background-color 300ms var(--oj-ease);
}

.oj-n9-more-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.oj-n9-more-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
}

.oj-n9-more-sub {
  color: #5f6773;
  font-size: 11.5px;
  line-height: 16px;
}

.oj-n9-more-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d9d9e0;
  border-radius: 50%;
  color: var(--oj-text);
  font-size: 17px;
  line-height: 1;
  transition:
    background-color 300ms var(--oj-ease),
    border-color 300ms var(--oj-ease),
    color 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-n9-more:hover,
.oj-n9-more:focus-visible {
  border-color: #14161c;
  background: #ffffff;
}

.oj-n9-more:hover .oj-n9-more-arrow,
.oj-n9-more:focus-visible .oj-n9-more-arrow {
  border-color: #14161c;
  background: #14161c;
  color: #ffffff;
  transform: translateX(2px);
}

html.dark .oj-n9-card {
  border-color: #2a2d33;
  background: #1c1e24;
  color: #f2f3f5;
}

html.dark .oj-n9-card:hover,
html.dark .oj-n9-card:focus-visible {
  border-color: #3d414a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

html.dark .oj-n9-family,
html.dark .oj-n9-desc,
html.dark .oj-n9-quota i,
html.dark .oj-n9-meta,
html.dark .oj-n9-price s,
html.dark .oj-n9-lead,
html.dark .oj-n9-more-sub {
  color: #9aa0aa;
}

html.dark .oj-n9-foot {
  border-top-color: #2a2d33;
}

html.dark .oj-n9-cta {
  border-color: #3a3d45;
  background: transparent;
  color: #f2f3f5;
}

html.dark .oj-n9-card:hover .oj-n9-cta,
html.dark .oj-n9-card:focus-visible .oj-n9-cta {
  border-color: #f2f3f5;
  color: #ffffff;
}

html.dark .oj-n9-anchor {
  border-color: #262a33;
  background: #0b0d11;
  color: #f6f7f9;
}

html.dark .oj-n9-anchor .oj-n9-cta {
  border-color: #f6f7f9;
  background: #f6f7f9;
  color: #14161c;
}

html.dark .oj-n9-anchor:hover .oj-n9-cta,
html.dark .oj-n9-anchor:focus-visible .oj-n9-cta {
  border-color: #e6e7ea;
  background: #e6e7ea;
}

html.dark .oj-n9-anchor:hover,
html.dark .oj-n9-anchor:focus-visible {
  border-color: #262a33;
}

html.dark .oj-n9-more {
  border-color: #3a3d45;
  color: #f2f3f5;
}

html.dark .oj-n9-more:hover,
html.dark .oj-n9-more:focus-visible {
  border-color: #5a5f6a;
  background: #1c1e24;
}

html.dark .oj-n9-more-arrow {
  border-color: #3a3d45;
  color: #f2f3f5;
}

html.dark .oj-n9-more:hover .oj-n9-more-arrow,
html.dark .oj-n9-more:focus-visible .oj-n9-more-arrow {
  border-color: #f2f3f5;
  background: #f2f3f5;
  color: #14161c;
}

.oj-tools-section {
  margin-top: 64px;
}

.oj-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.oj-tool-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e7e0f4;
  border-radius: 22px;
  background: var(--oj-card);
  box-shadow: 0 6px 22px rgba(58, 31, 103, 0.045);
  transition:
    border-color 300ms var(--oj-ease),
    box-shadow 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-tool-card:hover {
  border-color: #cbb5f2;
  box-shadow: 0 10px 28px rgba(58, 31, 103, 0.09);
  transform: translateY(-2px);
}

.oj-tool-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #eae6f2;
  border-radius: 14px;
  background: #f5f3f9;
}

.oj-tool-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oj-tool-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-bottom: 4px;
}

.oj-tool-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.oj-tool-name {
  min-width: 0;
  overflow: hidden;
  color: var(--oj-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-tool-tags {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.oj-tool-tag {
  padding: 3px 5px;
  border-radius: 6px;
  background: #f5f2fc;
  color: var(--oj-text-soft);
  font-size: 9px;
  line-height: 1.4;
  white-space: nowrap;
}

.oj-tool-description {
  margin: 0;
  min-height: 58px;
  color: var(--oj-text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.oj-tool-footer {
  display: flex;
  justify-content: flex-end;
}

.oj-tool-cta {
  width: 110px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--oj-brand-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(24, 118, 214, 0.22);
  transition:
    background-color 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-tool-card:hover .oj-tool-cta {
  background: var(--oj-brand-blue-hover);
}

.oj-tool-card:active .oj-tool-cta {
  transform: scale(0.98);
}

.oj-tool-cta svg {
  width: 14px;
  height: 14px;
}

.oj-enterprise {
  position: relative;
  isolation: isolate;
  width: min(1216px, calc(100% - 48px));
  min-height: 460px;
  margin: 64px auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: #07080b;
  color: #ffffff;
}

.oj-enterprise-media,
.oj-enterprise::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.oj-enterprise-media {
  z-index: 0;
  object-fit: cover;
  object-position: 58% 50%;
}

.oj-enterprise::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.6), rgba(4, 6, 14, 0.12) 68%),
    linear-gradient(0deg, rgba(4, 6, 14, 0.74), transparent 52%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 28%);
}

.oj-enterprise-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 460px;
  padding-inline: 64px;
}

.oj-enterprise-copy {
  position: absolute;
  bottom: 12%;
  left: 64px;
  right: 64px;
  max-width: 720px;
  color: #ffffff;
}

.oj-enterprise-copy h2 {
  max-width: 720px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 56px;
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.oj-enterprise-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

.oj-enterprise-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.oj-enterprise-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 24px;
}

.oj-enterprise-points svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #5478ff;
  color: #ffffff;
}

.oj-enterprise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.oj-enterprise-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition:
    background-color 300ms var(--oj-ease),
    border-color 300ms var(--oj-ease),
    transform 300ms var(--oj-ease);
}

.oj-enterprise-action.is-primary {
  border-color: transparent;
  background: linear-gradient(100deg, #5478ff, #7457f4);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.oj-enterprise-action.is-primary:hover,
.oj-enterprise-action.is-primary:focus-visible {
  background: linear-gradient(100deg, #6685ff, #8266f5);
}

.oj-enterprise-action.is-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(5, 9, 20, 0.3);
}

.oj-enterprise-action.is-secondary:hover,
.oj-enterprise-action.is-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(24, 34, 56, 0.98);
}

.oj-enterprise-action:active {
  transform: scale(0.98);
}

.oj-enterprise-action svg {
  width: 16px;
  height: 16px;
}

.oj-home-clones :focus-visible {
  outline: 2px solid var(--oj-primary);
  outline-offset: 3px;
}

.oj-enterprise :focus-visible {
  outline-color: #ffffff;
}

html.dark .oj-home-clones {
  --oj-text: #f3f3f3;
  --oj-text-soft: #b7b7b7;
  --oj-text-muted: #949494;
  --oj-line: #3b3b3b;
  --oj-surface: #1e1e1e;
  --oj-card: #2a2a2a;
  --oj-muted: #2f2f2f;
  --oj-soft: #35294f;
}

html.dark .oj-home-clones {
  background: var(--oj-surface);
}

html.dark .oj-model-card {
  border: 1px solid var(--oj-line);
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.28);
}

html.dark .oj-model-card:hover {
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.38);
}

html.dark .oj-card-cover {
  background: var(--oj-muted);
}

html.dark .oj-home-clones .oj-card-action {
  color: #e8e8e8;
  background: #373737;
}

html.dark .oj-card-action:hover,
html.dark .oj-card-action:focus-visible {
  color: #d1bcff;
  background: #40384d;
}

html.dark .oj-card-action.is-primary {
  color: #ffffff;
  background: var(--oj-brand-blue);
}

html.dark .oj-card-action.is-primary:hover,
html.dark .oj-card-action.is-primary:focus-visible {
  color: #ffffff;
  background: var(--oj-brand-blue-hover);
}

html.dark .oj-marquee {
  border-color: var(--oj-line);
}

html.dark .oj-deal {
  border-right-color: var(--oj-line);
}

html.dark .oj-round-button {
  border-color: var(--oj-line);
  background: #373737;
  color: #d5d5d5;
}

html.dark .oj-round-button:hover,
html.dark .oj-round-button:focus-visible {
  border-color: #7357a6;
  color: #d1bcff;
  background: #40384d;
}

html.dark .oj-tool-card {
  border-color: var(--oj-line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

html.dark .oj-tool-card:hover {
  border-color: #7357a6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

html.dark .oj-tool-cover {
  border-color: var(--oj-line);
  background: var(--oj-muted);
}

html.dark .oj-tool-tag {
  color: #b7b7b7;
  background: var(--oj-muted);
}

@media (max-width: 1100px) {
  .oj-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oj-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oj-n9-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oj-n9-card.oj-n9-anchor {
    grid-column: span 2;
    grid-row: auto;
  }

  .oj-n9-more {
    grid-column: span 1;
  }

  .oj-n9-anchor .oj-n9-quota b {
    font-size: 44px;
  }

  .oj-enterprise-copy h2 {    font-size: 56px;
  }
}

@media (max-width: 760px) {
  .oj-home-clones {
    padding-top: 48px;
  }

  .oj-market-section {
    width: min(100% - 32px, 1216px);
  }

  .oj-market-section + .oj-market-section,
  .oj-tools-section,
  .oj-enterprise {
    margin-top: 48px;
  }

  .oj-n9-band {
    width: min(100% - 32px, 1216px);
  }

  .oj-n9-band + .oj-market-section {
    margin-top: 48px;
  }

  .oj-n9-lead {
    display: none;
  }

  .oj-enterprise {
    width: calc(100% - 32px);
  }

  .oj-model-grid,
  .oj-tools-grid,
  .oj-n9-grid {
    grid-template-columns: 1fr;
  }

  .oj-n9-card {
    padding: 14px 16px 0;
  }

  .oj-n9-card .oj-n9-foot {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .oj-n9-card.oj-n9-anchor {
    grid-column: span 1;
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 20px 18px;
  }

  .oj-n9-anchor .oj-n9-name {
    margin-top: 12px;
    font-size: 22px;
  }

  .oj-n9-anchor .oj-n9-meta {
    padding-top: 16px;
  }

  .oj-n9-anchor-side {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid #333842;
  }

  .oj-n9-anchor .oj-n9-quota {
    grid-column: 1 / -1;
  }

  .oj-n9-anchor .oj-n9-quota b {
    display: inline;
    font-size: 40px;
  }

  .oj-n9-anchor .oj-n9-quota i {
    display: inline;
    margin: 0 0 0 6px;
  }

  .oj-n9-anchor .oj-n9-price {
    grid-column: 1;
    margin: 12px 0 0;
    padding: 0;
  }

  .oj-n9-anchor .oj-n9-cta {
    grid-column: 2;
    width: auto;
    margin-top: 12px;
  }

  .oj-n9-more {
    grid-column: span 1;
    min-height: 84px;
    padding: 0 18px;
  }

  .oj-marquee {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .oj-marquee-heading {
    width: 100%;
  }

  .oj-marquee-rail {
    width: 100%;
  }

  .oj-deal {
    flex-basis: 214px;
  }

  .oj-enterprise,
  .oj-enterprise-inner {
    min-height: 650px;
  }

  .oj-enterprise-inner {
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 100px 24px 36px;
  }

  .oj-enterprise-media {
    object-position: 72% 50%;
  }

  .oj-enterprise-copy {
    position: static;
  }

  .oj-enterprise-copy h2 {
    font-size: 42px;
    line-height: 1.04;
  }

  .oj-enterprise-points li {
    font-size: 14px;
    line-height: 20px;
  }

  .oj-enterprise-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oj-home-clones *,
  .oj-home-clones *::before,
  .oj-home-clones *::after,
  .oj-wallet-plan-target {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 1ms !important;
  }
}

@media (forced-colors: active) {
  section:first-of-type > div[aria-hidden="true"] {
    forced-color-adjust: none;
  }

  section:first-of-type h1 > span {
    background: none !important;
    color: CanvasText !important;
    -webkit-text-fill-color: CanvasText !important;
  }
}




/* homepage hero simplification (20261118r) */
#oj-hero {
  padding-top: clamp(96px, 9vw, 128px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

#oj-hero .oj-hero-title {
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  line-height: 1.1;
}

#oj-hero .oj-hero-title__line {
  height: 1.1em;
  line-height: 1.1em;
}

#oj-hero .oj-hero-subtitle {
  max-width: 36rem;
}

/* back-to-top (20261118s) */
#oj-back-top {
  position: fixed;
  right: 12px;
  bottom: 156px;
  /* 20261119e: 桌面端改为排在客服气泡下方，见文件末尾“右下角悬浮按钮顺序” */
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  background: rgba(255, 255, 255, 0.94);
  color: var(--foreground, #171717);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

#oj-back-top svg {
  width: 20px;
  height: 20px;
}

#oj-back-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#oj-back-top:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16), 0 1px 3px rgba(15, 23, 42, 0.1);
}

#oj-back-top:focus-visible {
  outline: 2px solid var(--ring, #3977ff);
  outline-offset: 2px;
}

html.dark #oj-back-top {
  background: rgba(24, 24, 27, 0.9);
  color: #f4f4f5;
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 640px) {
  #oj-back-top {
    right: 14px;
    bottom: 154px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   右下角悬浮按钮顺序 (20261119e)
   客服气泡在上，返回顶部箭头紧贴其下方，两者右侧中线对齐
   ============================================================ */
@media (min-width: 901px) {
  /* 客服气泡由 kf.ojtoken.com 的 uchat.js 注入，位置写在内联样式上，这里用 !important 接管；
     拖动时带 uchat-bar-dragging 类，规则让位，避免破坏拖拽手感 */
  #uchat-bar:not(.uchat-bar-dragging) {
    right: 20px !important;
    left: auto !important;
    bottom: 76px !important;
    top: auto !important;
  }

  /* 箭头排在气泡下方，44px 宽 + right 28px，与气泡中线 x 对齐 */
  #oj-back-top {
    right: 28px;
    bottom: 20px;
  }
}

/* ============================================================
   首页直购弹窗 (20261119f)
   ============================================================ */
.oj-qb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 18, 30, 0.44);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.oj-qb-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.oj-qb-dialog {
  width: min(432px, 100%);
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  color: #19172e;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.08);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.oj-qb-overlay.is-open .oj-qb-dialog {
  transform: none;
}

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

.oj-qb-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.oj-qb-sub {
  margin: 5px 0 0;
  font-size: 12px;
  color: #8b8399;
}

.oj-qb-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b8399;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.oj-qb-close:hover {
  background: #f2f0f8;
  color: #19172e;
}

.oj-qb-rows {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.oj-qb-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #62597c;
}

.oj-qb-row b {
  color: #19172e;
  font-weight: 600;
  text-align: right;
}

.oj-qb-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e9e6f1;
}

.oj-qb-total-label {
  font-size: 13px;
  color: #62597c;
}

.oj-qb-total b {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #d92b3a;
}

.oj-qb-label {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #62597c;
}

.oj-qb-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  align-items: center;
}

.oj-qb-methods-hint {
  font-size: 12px;
  color: #8b8399;
}

.oj-qb-method {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #dcdce2;
  border-radius: 10px;
  background: #ffffff;
  color: #19172e;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.oj-qb-method:hover {
  border-color: #b9b5c9;
}

.oj-qb-method.is-active {
  border-color: #1876d6;
  background: #eef4fb;
  color: #1876d6;
}

.oj-qb-note {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fdf1f1;
  color: #c0392b;
  font-size: 12px;
  line-height: 1.5;
}

.oj-qb-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.oj-qb-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #1876d6;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.oj-qb-primary:hover {
  background: #0c5fba;
}

.oj-qb-primary:disabled {
  opacity: 0.7;
  cursor: default;
}

.oj-qb-ghost {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #dcdce2;
  border-radius: 12px;
  background: #ffffff;
  color: #62597c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.oj-qb-ghost:hover {
  border-color: #b9b5c9;
  color: #19172e;
}

html.dark .oj-qb-dialog {
  background: #1d1d20;
  color: #f4f4f5;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

html.dark .oj-qb-row,
html.dark .oj-qb-total-label,
html.dark .oj-qb-label,
html.dark .oj-qb-ghost {
  color: #c2c2c6;
}

html.dark .oj-qb-row b {
  color: #f4f4f5;
}

html.dark .oj-qb-total {
  border-top-color: #34343a;
}

html.dark .oj-qb-method {
  border-color: #3b3b42;
  background: #26262b;
  color: #f4f4f5;
}

html.dark .oj-qb-method.is-active {
  border-color: #6aa8ee;
  background: #22303f;
  color: #6aa8ee;
}

html.dark .oj-qb-ghost {
  border-color: #3b3b42;
  background: #26262b;
}

html.dark .oj-qb-close:hover {
  background: #2c2c32;
  color: #f4f4f5;
}

html.dark .oj-qb-note {
  background: #3a2327;
  color: #ff9c96;
}

@media (max-width: 520px) {
  .oj-qb-dialog {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .oj-qb-total b {
    font-size: 22px;
  }
}

.oj-qb-fallback {
  color: #1876d6;
  text-decoration: underline;
  white-space: nowrap;
}

html.dark .oj-qb-fallback {
  color: #6aa8ee;
}

.oj-qb-note.is-ok {
  background: #eef8f1;
  color: #1f7a45;
}

html.dark .oj-qb-note.is-ok {
  background: #1f3327;
  color: #7ed3a0;
}

/* ============================================================
   模型卡按钮 + 模型详情弹窗 (20261119g)
   ============================================================ */
.oj-home-clones .oj-card-actions {
  gap: 10px;
  padding-top: 12px;
}

.oj-home-clones .oj-card-action {
  height: 38px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.oj-home-clones .oj-card-detail {
  flex: 0 0 auto;
  justify-content: center;
  height: 38px;
  min-width: 76px;
  padding: 0 14px;
  border: 1px solid #dcdce2;
  border-radius: 10px;
  background: #ffffff;
  color: #19172e;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 200ms var(--oj-ease),
    color 200ms var(--oj-ease),
    background-color 200ms var(--oj-ease);
}

.oj-home-clones .oj-card-detail::after {
  content: none;
}

.oj-home-clones .oj-card-detail:hover,
.oj-home-clones .oj-card-detail:focus-visible {
  border-color: var(--oj-brand-blue);
  background: #f4f8fd;
  color: var(--oj-brand-blue);
}

.oj-md-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 18, 30, 0.44);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.oj-md-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.oj-md-dialog {
  position: relative;
  width: min(468px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  color: #19172e;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.08);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.oj-md-overlay.is-open .oj-md-dialog {
  transform: none;
}

.oj-md-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b8399;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.oj-md-close:hover {
  background: #f2f0f8;
  color: #19172e;
}

.oj-md-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
}

.oj-md-cover {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f0f8;
}

.oj-md-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oj-md-head-main {
  min-width: 0;
}

.oj-md-brand {
  margin: 0;
  font-size: 12px;
  color: #8b8399;
}

.oj-md-name {
  margin: 3px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-all;
}

.oj-md-summary {
  margin: 4px 0 0;
  font-size: 13px;
  color: #62597c;
}

.oj-md-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.oj-md-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f3f9;
  color: #62597c;
  font-size: 12px;
  font-weight: 600;
}

.oj-md-chip.is-accent {
  background: #fdeff0;
  color: #d92b3a;
}

.oj-md-label {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #62597c;
}

.oj-md-prices {
  display: grid;
  gap: 8px;
}

.oj-md-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border: 1px solid #eeeaf6;
  border-radius: 10px;
  background: #fbfaff;
  font-size: 13px;
  color: #62597c;
}

.oj-md-price-row b {
  color: #19172e;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.oj-md-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oj-md-tag {
  padding: 5px 10px;
  border: 1px solid #e9e6f1;
  border-radius: 8px;
  color: #62597c;
  font-size: 12px;
}

.oj-md-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.oj-md-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border-radius: 12px;
  background: #1876d6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease;
}

.oj-md-primary:hover {
  background: #0c5fba;
}

.oj-md-ghost {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #dcdce2;
  border-radius: 12px;
  background: #ffffff;
  color: #62597c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.oj-md-ghost:hover {
  border-color: #b9b5c9;
  color: #19172e;
}

html.dark .oj-md-dialog {
  background: #1d1d20;
  color: #f4f4f5;
}

html.dark .oj-md-brand,
html.dark .oj-md-summary,
html.dark .oj-md-label,
html.dark .oj-md-chip,
html.dark .oj-md-tag,
html.dark .oj-md-ghost {
  color: #c2c2c6;
}

html.dark .oj-md-chip,
html.dark .oj-md-tag,
html.dark .oj-md-price-row {
  border-color: #34343a;
  background: #26262b;
}

html.dark .oj-md-price-row b {
  color: #f4f4f5;
}

html.dark .oj-md-ghost {
  background: #26262b;
  border-color: #3b3b42;
}

@media (max-width: 520px) {
  .oj-md-dialog {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .oj-md-cover {
    width: 54px;
    height: 54px;
  }

  .oj-md-name {
    font-size: 15px;
  }
}

.oj-md-primary {
  white-space: nowrap;
}

.oj-md-primary svg {
  display: none !important;
}

.oj-tp-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  align-items: center;
}

.oj-tp-amount {
  min-height: 38px;
  min-width: 76px;
  padding: 0 14px;
  border: 1px solid #dcdce2;
  border-radius: 10px;
  background: #ffffff;
  color: #19172e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.oj-tp-amount:hover {
  border-color: #b9b5c9;
}

.oj-tp-amount.is-active {
  border-color: #1876d6;
  background: #eef4fb;
  color: #1876d6;
}

html.dark .oj-tp-amount {
  border-color: #3b3b42;
  background: #26262b;
  color: #f4f4f5;
}

html.dark .oj-tp-amount.is-active {
  border-color: #6aa8ee;
  background: #22303f;
  color: #6aa8ee;
}

/* ---------- 我的套餐：套餐分类筛选 ---------- */
.oj-plan-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
}
.oj-plan-filter-label {
  font-size: 12px;
  line-height: 1;
  color: #6b7280;
  margin-right: 2px;
}
.oj-plan-chip {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 500;
  cursor: pointer;
  transition: all .16s ease;
}
.oj-plan-chip:hover {
  border-color: #1876d6;
  color: #1876d6;
}
.oj-plan-chip.is-active {
  background: #1876d6;
  border-color: #1876d6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 118, 214, .25);
}
body.dark .oj-plan-filter-label { color: #9ca3af; }
body.dark .oj-plan-chip {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: #e5e7eb;
}
body.dark .oj-plan-chip.is-active {
  background: #1876d6;
  border-color: #1876d6;
  color: #fff;
}
@media (max-width: 520px) {
  .oj-plan-chip { padding: 5px 11px; font-size: 12px; }
}

/* ---------- 我的套餐：仅限 N 单角标（布局见文件末尾） ---------- */

body.dark .oj-plan-limit-badge {
  background: rgba(212, 56, 13, .18);
  border-color: rgba(255, 168, 120, .45);
  color: #ffb08a;
}

.oj-plan-limit-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.oj-plan-limit-row > h3,
.oj-plan-limit-row > h4 {
  margin: 0;
  min-width: 0;
}
.oj-plan-limit-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff3e6;
  border: 1px solid #ffd8b2;
  color: #d4380d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .2px;
  pointer-events: none;
}
body.dark .oj-plan-limit-badge {
  background: rgba(212, 56, 13, .18);
  border-color: rgba(255, 168, 120, .45);
  color: #ffb08a;
}

/* ---------- 邀请好友：邀请中心 ---------- */
.oj-invite {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.oj-invite-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 18px;
  background: radial-gradient(120% 140% at 0% 0%, #2f8ef0 0%, #1876d6 45%, #0b5cbe 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(24, 118, 214, .22);
}
.oj-invite-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 12px;
  letter-spacing: .5px;
}
.oj-invite-title {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}
.oj-invite-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}
.oj-invite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.oj-invite-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
}
.oj-invite-hero-panel {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.oj-invite-panel-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 8px;
}
.oj-invite-link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.oj-invite-link {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .96);
  color: #19172e;
  font-size: 12px;
}
.oj-invite-copy {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: #fff;
  color: #0c5fba;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.oj-invite-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.oj-invite-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}
.oj-invite-note.is-ok { color: #c9f7d2; }
.oj-invite-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.oj-invite-stat {
  background: #fff;
  border: 1px solid #e9e6f1;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oj-invite-stat-label {
  font-size: 12px;
  color: #6b7280;
}
.oj-invite-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #19172e;
  line-height: 1.1;
}
.oj-invite-stat-value small {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-left: 2px;
}
.oj-invite-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.oj-invite-step {
  background: #fff;
  border: 1px solid #e9e6f1;
  border-radius: 14px;
  padding: 16px 18px;
}
.oj-invite-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #eaf2fe;
  color: #1876d6;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.oj-invite-step b {
  display: block;
  font-size: 14px;
  color: #19172e;
}
.oj-invite-step p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #62597c;
}
.oj-invite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
}
.oj-invite-card {
  background: #fff;
  border: 1px solid #e9e6f1;
  border-radius: 14px;
  padding: 18px 20px;
}
.oj-invite-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #19172e;
}
.oj-invite-card ul {
  margin: 0;
  padding-left: 18px;
}
.oj-invite-card li {
  font-size: 12.5px;
  line-height: 1.9;
  color: #62597c;
}
.oj-invite-card-partner {
  background: linear-gradient(160deg, #f7fbff 0%, #eef6ff 100%);
  border-color: #d7e8fb;
}
.oj-invite-partner-badge {
  display: inline-block;
  font-size: 11px;
  color: #0c5fba;
  background: #dceeff;
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 8px;
}
.oj-invite-card-partner p {
  margin: 6px 0 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #4b5563;
}
.oj-invite-partner-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid #1876d6;
  background: #1876d6;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.oj-invite-partner-btn:hover { background: #0c5fba; border-color: #0c5fba; }
.dark .oj-invite-stat,
.dark .oj-invite-step,
.dark .oj-invite-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.dark .oj-invite-stat-value,
.dark .oj-invite-step b,
.dark .oj-invite-card h3 { color: #e5e7eb; }
.dark .oj-invite-card li,
.dark .oj-invite-step p { color: #a5a1b8; }
.dark .oj-invite-card-partner { background: rgba(24, 118, 214, .12); border-color: rgba(24, 118, 214, .3); }
@media (max-width: 900px) {
  .oj-invite-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .oj-invite-stats, .oj-invite-steps, .oj-invite-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 我的套餐页签不展示邀请中心，避免与「邀请好友」页重复出现 */
.oj-wallet-mode-plans .oj-invite { display: none !important; }

/* 原生推荐计划条已由自定义邀请面板替代，避免两个“转入余额”入口重复 */
.oj-invite-native-hidden { display: none !important; }
.oj-wallet-mode-invite.oj-invite-ready .oj-wallet-referral-card { display: none !important; }

/* 邀请返利：一键转入余额 */
.oj-invite-transfer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(24, 118, 214, .22);
  background: rgba(24, 118, 214, .06);
  border-radius: 12px;
}
.oj-invite-transfer-hint { font-size: 12px; line-height: 1.5; color: #5b6472; }
.oj-invite-transfer {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #1876d6;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease;
}
.oj-invite-transfer:hover:not(:disabled) { background: #1266bd; }
.oj-invite-transfer:disabled { background: #c7d2e0; cursor: not-allowed; }
.dark .oj-invite-transfer-row { background: rgba(24, 118, 214, .12); border-color: rgba(24, 118, 214, .34); }
.dark .oj-invite-transfer-hint { color: #a5a1b8; }
@media (max-width: 900px) {
  .oj-invite-transfer-row { flex-direction: column; align-items: flex-start; }
  .oj-invite-transfer { width: 100%; }
}

/* 静态主标题：行高/换行放松，字号沿用 #oj-hero 的 clamp */
#oj-hero .oj-hero-title--static .oj-hero-title__line {
  height: auto;
  line-height: 1.14;
  white-space: normal;
}

/* 渐变文字用 background-clip:text 时，给下延字母（j/g/y）留出绘制区域 */
#oj-hero .oj-hero-title--static .oj-hero-title__inner {
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

