:root {
  color-scheme: light;
  --header-height: 64px;
  --site-line: rgba(26, 35, 48, 0.1);
  --site-muted: rgba(26, 35, 48, 0.52);
  --violet: #8e47f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: #1a2330;
  background: #f3f3f3;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.site-logo {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  object-fit: contain;
}

.classic-header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(243, 243, 243, 0.94);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(16px);
}

.classic-header-bar__container {
  max-width: 1300px;
  height: var(--header-height);
  padding: 0 40px;
}

.classic-header-bar__logo {
  color: #1a2330;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.classic-header-bar__nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 28px;
  margin-right: auto;
}

.classic-header-bar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.classic-header-bar__link:hover,
.classic-header-bar__link--active {
  color: #1a2330;
}

.classic-header-bar__link--active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #5f41cf;
  border-radius: 2px 2px 0 0;
  content: "";
}

.classic-header-bar__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.classic-header-bar__icon-btn {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #1a2330;
  background: rgba(26, 35, 48, 0.05);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.classic-header-bar__icon-btn svg {
  width: 18px;
  height: 18px;
}

.classic-header-bar__login,
.classic-header-bar__register {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  border: 0;
  cursor: pointer;
}

.classic-header-bar__login {
  color: #4c3b7c;
  background: rgba(140, 106, 236, 0.1);
}

.classic-header-bar__register {
  color: #fff;
  background: #1a2330;
}

.pricing-page-shell {
  --pricing-hero-top-gap: 64px;
  min-height: calc(100vh - var(--header-height));
  padding-bottom: 72px;
}

.pricing-page-content {
  max-width: 1300px;
  padding: 0 40px;
}

.pricing-hero-search {
  padding-top: var(--pricing-hero-top-gap);
}

.pricing-hero-title {
  font-size: 64px;
  letter-spacing: -0.02em;
}

.pricing-hero-desc {
  max-width: 920px;
  line-height: 1.7;
}

.pricing-hero-search-bar {
  max-width: 100%;
  border: 1px solid rgba(26, 35, 48, 0.06);
  box-shadow: 0 1px 2px rgba(26, 35, 48, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pricing-hero-search-bar:focus-within {
  border-color: rgba(142, 71, 240, 0.42);
  box-shadow: 0 0 0 3px rgba(142, 71, 240, 0.09);
}

.pricing-hero-search-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #707987;
}

.pricing-hero-hot {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  color: var(--site-muted);
}

.pricing-hero-hot-label {
  flex: 0 0 auto;
  font-size: 13px;
}

.pricing-hero-hot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-hero-hot-tag:hover {
  background: rgba(255, 255, 255, 0.65);
  opacity: 0.78;
}

.pricing-filter-row {
  min-height: 28px;
}

.pricing-category-section {
  width: 174px;
  min-width: 174px;
}

.pricing-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-category-clear:hover {
  color: #5f41cf;
}

.pricing-category-divider {
  height: 1px;
  margin-top: 10px;
  background: var(--site-line);
}

.view-switch {
  display: inline-flex;
  width: 88px;
  height: 28px;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: var(--pricing-atlas-bg-panel, #fdfdfd);
  border-radius: 4px;
}

.view-switch__button {
  display: inline-flex;
  width: 40px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--pricing-atlas-text, #1a2330);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.view-switch__button svg {
  display: block;
  width: 16px;
  height: 16px;
}

.view-switch__button:hover {
  opacity: 0.8;
}

.view-switch__button.is-active {
  color: #ebf4fb;
  background: #212121;
}

.pricing-sort-wrap {
  position: relative;
}

.pricing-sort-dropdown[hidden] {
  display: none;
}

.pricing-sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 124px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(26, 35, 48, 0.13);
}

.pricing-sort-item {
  width: 100%;
  padding: 8px 10px;
  color: #394452;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.pricing-sort-item:hover,
.pricing-sort-item.is-selected {
  color: #5f41cf;
  background: rgba(142, 71, 240, 0.08);
}

.pricing-sidebar-inner {
  padding-right: 4px;
}

.pricing-discount-label {
  color: #1a2330;
  font-size: 14px;
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  padding: 0;
  background: #d8dbe0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.toggle-switch[aria-checked="true"] {
  background: #8e47f0;
}

.toggle-switch[aria-checked="true"] span {
  transform: translateX(16px);
}

.pricing-filter-section__title {
  margin-bottom: 14px;
  color: #1a2330;
  font-size: 14px;
  font-weight: 700;
}

.pricing-filter-option {
  width: 100%;
  padding: 2px 0;
}

.pricing-filter-option:hover {
  background: rgba(0, 0, 0, 0.035);
}

.pricing-filter-option--active {
  color: #5f41cf;
}

.pricing-filter-option__label {
  min-width: 0;
}

.pricing-filter-option__label span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricing-filter-option__count {
  color: var(--site-muted);
  font-variant-numeric: tabular-nums;
}

.more-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  color: #75808e;
  font-size: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.more-filter:hover {
  color: #1a2330;
}

.pricing-content {
  min-width: 0;
  padding-top: 0;
}

.pricing-view-container {
  min-height: 420px;
}

.pricing-cards-grid {
  align-items: stretch;
}

.pricing-cards-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-card {
  min-width: 0;
}

.product-item {
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.product-item:hover {
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: #e7e8ea;
}

.product-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.25s ease;
}

.product-item:hover .product-image {
  filter: brightness(0.92);
}

.product-banner-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(1px);
}

.product-banner-orb--one {
  top: -28px;
  right: -18px;
  width: 110px;
  height: 110px;
}

.product-banner-orb--two {
  bottom: -34px;
  left: -24px;
  width: 92px;
  height: 92px;
}

.product-banner-brand {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: calc(100% - 32px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(22, 29, 42, 0.12);
}

.product-brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff;
  background: #1d2531;
  border-radius: 10px;
}

.product-brand-name {
  min-width: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-pop {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #fff;
  font-size: 14px;
  line-height: 2;
  background: rgba(142, 71, 240, 0.88);
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.product-item:hover .product-pop {
  opacity: 1;
  transform: translateY(0);
}

.product-pop__action {
  padding: 7px 12px;
  cursor: pointer;
}

.product-pop__divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.product-tag-billing {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-cate-icon {
  color: #34404f;
}

.product-price {
  width: 100%;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #677489;
  font-size: 11px;
  line-height: 1.5;
}

.price-line + .price-line {
  margin-top: 3px;
}

.price-line__value {
  color: #1f2a38;
  font-weight: 600;
  white-space: nowrap;
}

.model-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.model-card-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #77818f;
  font-size: 11px;
}

.model-card-meta__item svg {
  width: 13px;
  height: 13px;
}

.model-list-card {
  display: flex;
  min-height: 184px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(22, 29, 42, 0.06);
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.model-list-card:hover {
  box-shadow: 0 9px 26px rgba(22, 29, 42, 0.1);
  transform: translateY(-1px);
}

.model-list-card__media {
  position: relative;
  width: 252px;
  min-width: 252px;
  overflow: hidden;
}

.model-list-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
}

.model-list-card__main {
  min-width: 0;
  flex: 1;
}

.model-list-card__title {
  margin: 0 0 9px;
  color: #1a2330;
  font-size: 18px;
  font-weight: 700;
}

.model-list-card__desc {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 16px;
  overflow: hidden;
  color: #667280;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.model-list-card__side {
  display: flex;
  width: 280px;
  flex: 0 0 280px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.model-list-card__buttons {
  display: flex;
  gap: 12px;
}

.model-list-card__buttons button {
  height: 38px;
  min-width: 112px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
}

.button-secondary {
  color: #394452;
  background: #fff;
  border: 1px solid #cbd1d8;
}

.button-primary {
  color: #fff;
  background: #8e47f0;
  border: 1px solid #8e47f0;
}

.empty-state {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a94a2;
  text-align: center;
}

.empty-state svg {
  width: 138px;
  height: 138px;
}

.empty-state h2 {
  margin: 4px 0 6px;
  color: #394452;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  font-size: 13px;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding: 26px 0 4px;
  border-top: 1px solid #eceef1;
}

.pagination-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #4d5866;
  background: #fff;
  border: 1px solid #e0e3e7;
  border-radius: 6px;
  cursor: pointer;
}

.pagination-button:hover:not(:disabled) {
  color: #5f41cf;
  border-color: rgba(142, 71, 240, 0.4);
}

.pagination-button.is-active {
  color: #fff;
  background: #212121;
  border-color: #212121;
}

.pagination-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: #7b8491;
  user-select: none;
}

.mobile-filter-row {
  display: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #17191d;
}

.site-footer__inner {
  display: flex;
  max-width: 1300px;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 13px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 24, 0.45);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  padding: 30px;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(10, 15, 25, 0.22);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #687382;
  background: #f4f5f7;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.header-auth-actions,
.header-user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-auth-actions[hidden],
.header-user-actions[hidden] {
  display: none;
}

.header-user-actions {
  position: relative;
}

.header-user-button {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 3px 9px 3px 4px;
  color: #283342;
  background: rgba(26, 35, 48, 0.05);
  border: 1px solid rgba(26, 35, 48, 0.07);
  border-radius: 999px;
  cursor: pointer;
}

.header-user-button svg {
  width: 14px;
  height: 14px;
}

.header-user-avatar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #6d3bd4, #b367ff);
  border-radius: 50%;
}

.header-user-name {
  max-width: 110px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-menu[hidden] {
  display: none;
}

.header-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.header-user-menu__profile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid #eceef1;
}

.header-user-menu__profile strong,
.header-user-menu__profile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-menu__profile strong {
  color: #1f2937;
  font-size: 14px;
}

.header-user-menu__profile span {
  color: #7d8794;
  font-size: 12px;
}

.header-user-menu button {
  display: flex;
  width: 100%;
  height: 38px;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 0 10px;
  color: #b43b47;
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.header-user-menu button:hover {
  background: #fff2f3;
}

.header-user-menu button svg {
  width: 17px;
  height: 17px;
}

.auth-modal__panel {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  padding: 32px;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(10, 15, 25, 0.24);
}

.auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #1b2531;
  font-size: 17px;
  font-weight: 700;
}

.auth-modal__brand img {
  width: 30px;
  height: 30px;
}

.auth-modal__title {
  margin: 0;
  color: #18212d;
  font-size: 26px;
  line-height: 1.25;
}

.auth-modal__subtitle {
  margin: 8px 0 22px;
  color: #77818e;
  font-size: 13px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  background: #f1f2f4;
  border-radius: 8px;
}

.auth-tab {
  height: 36px;
  color: #697482;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.auth-tab.is-active {
  color: #202a37;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.auth-form[hidden] {
  display: none;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field > span {
  color: #3b4654;
  font-size: 12px;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: #1d2734;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  outline: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.auth-field input:focus {
  border-color: rgba(142, 71, 240, 0.55);
  box-shadow: 0 0 0 3px rgba(142, 71, 240, 0.1);
}

.auth-field input:disabled {
  color: #89929e;
  background: #f4f5f7;
  cursor: not-allowed;
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #707b88;
  font-size: 12px;
  line-height: 1.45;
}

.auth-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #8e47f0;
}

.auth-submit {
  position: relative;
  display: inline-flex;
  width: 100%;
  height: 43px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: #8e47f0;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.auth-submit:hover {
  background: #7e36e4;
}

.auth-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.auth-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

.auth-submit.is-loading .auth-submit__label {
  display: none;
}

.auth-submit.is-loading .auth-spinner {
  display: block;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-message {
  min-height: 18px;
  margin: -2px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.auth-message.is-error {
  color: #c43a47;
}

.auth-message.is-success {
  color: #198754;
}

.auth-modal__footnote {
  margin: 22px 0 0;
  padding-top: 16px;
  color: #929ba7;
  font-size: 11px;
  text-align: center;
  border-top: 1px solid #eceef1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.console-section[hidden] {
  display: none;
}

.console-section {
  margin-top: 44px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(26, 35, 48, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(25, 32, 45, 0.05);
  scroll-margin-top: 90px;
}

.console-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.console-eyebrow {
  color: #8e47f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.console-heading h2 {
  margin: 7px 0 6px;
  color: #17212d;
  font-size: 28px;
}

.console-heading p,
.console-key-panel__head p,
.console-help p {
  margin: 0;
  color: #77818e;
  font-size: 13px;
  line-height: 1.55;
}

.console-status {
  display: inline-flex;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #168253;
  font-size: 12px;
  background: #edf9f3;
  border: 1px solid #c9eddd;
  border-radius: 999px;
}

.console-status span {
  width: 7px;
  height: 7px;
  background: #19a865;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(25, 168, 101, 0.1);
}

.console-status.is-warning {
  color: #a76805;
  background: #fff9e9;
  border-color: #f2dfaa;
}

.console-status.is-warning span {
  background: #e4a11a;
  box-shadow: 0 0 0 3px rgba(228, 161, 26, 0.12);
}

.console-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.console-stat {
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  background: #f7f7f8;
  border: 1px solid #eceef1;
  border-radius: 9px;
}

.console-stat > span {
  color: #78828e;
  font-size: 12px;
}

.console-stat strong {
  color: #202a37;
  font-size: 24px;
  line-height: 1.2;
}

.console-stat small {
  color: #9aa2ac;
  font-size: 10px;
}

.console-stat__url {
  overflow: hidden;
  font-size: 14px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-inline-button {
  align-self: flex-start;
  padding: 0;
  color: #6f3ad2;
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.console-key-panel {
  padding: 20px;
  background: #fbfbfc;
  border: 1px solid #eceef1;
  border-radius: 9px;
}

.console-key-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.console-key-panel__head h3 {
  margin: 0 0 4px;
  color: #202a37;
  font-size: 17px;
}

.create-key-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-key-form input {
  width: 180px;
  height: 36px;
  padding: 0 11px;
  color: #26313e;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  outline: 0;
}

.create-key-form input:focus {
  border-color: rgba(142, 71, 240, 0.55);
  box-shadow: 0 0 0 3px rgba(142, 71, 240, 0.1);
}

.create-key-form button,
.new-key-value button {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: #20252c;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.create-key-form button svg {
  width: 15px;
  height: 15px;
}

.new-key-reveal[hidden] {
  display: none;
}

.new-key-reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px;
  background: #f2edff;
  border: 1px solid rgba(142, 71, 240, 0.2);
  border-radius: 8px;
}

.new-key-reveal strong {
  color: #49317c;
  font-size: 13px;
}

.new-key-reveal p {
  margin: 4px 0 0;
  color: #776891;
  font-size: 11px;
}

.new-key-value {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.new-key-value code {
  max-width: 360px;
  padding: 8px 10px;
  overflow: hidden;
  color: #4f347f;
  font-size: 11px;
  background: #fff;
  border: 1px solid rgba(142, 71, 240, 0.16);
  border-radius: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-key-value button {
  height: 32px;
  color: #fff;
  background: #8e47f0;
}

.key-list {
  display: flex;
  flex-direction: column;
}

.key-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.3fr) minmax(130px, 1fr) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #eceef1;
}

.key-row:first-child {
  border-top: 0;
}

.key-row__name {
  min-width: 0;
}

.key-row__name strong,
.key-row__name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-row__name strong {
  color: #26313e;
  font-size: 13px;
}

.key-row__name span,
.key-row__date {
  color: #89929d;
  font-size: 11px;
}

.key-row__prefix {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.key-revoke {
  height: 30px;
  padding: 0 10px;
  color: #b63b47;
  font-size: 11px;
  background: #fff4f5;
  border: 1px solid #f3d3d7;
  border-radius: 6px;
  cursor: pointer;
}

.key-empty[hidden] {
  display: none;
}

.key-empty {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #969faa;
  text-align: center;
}

.key-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.key-empty h3 {
  margin: 0 0 4px;
  color: #495460;
  font-size: 14px;
}

.key-empty p {
  margin: 0;
  font-size: 11px;
}

.console-help {
  margin-top: 16px;
  padding: 15px 17px;
  color: #65707d;
  background: #f7f7f8;
  border-left: 3px solid #8e47f0;
  border-radius: 0 7px 7px 0;
}

.console-help strong {
  display: block;
  margin-bottom: 6px;
  color: #313c49;
  font-size: 12px;
}

.console-help p + p {
  margin-top: 5px;
}

.console-help code {
  color: #5d38a0;
  font-size: 11px;
}

.console-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.console-subpanel {
  padding: 18px;
  background: #fbfbfc;
  border: 1px solid #eceef1;
  border-radius: 9px;
}

.console-subpanel__head {
  margin-bottom: 14px;
}

.console-subpanel__head h3 {
  margin: 0 0 4px;
  color: #202a37;
  font-size: 15px;
}

.console-subpanel__head p {
  margin: 0;
  color: #858f9b;
  font-size: 11px;
}

.usage-log-list {
  display: flex;
  flex-direction: column;
}

.usage-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #eceef1;
}

.usage-log-row:first-child {
  border-top: 0;
}

.usage-log-row__model {
  min-width: 0;
}

.usage-log-row__model strong,
.usage-log-row__model span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usage-log-row__model strong {
  color: #35404d;
  font-size: 12px;
}

.usage-log-row__model span,
.usage-log-row__tokens {
  color: #8d96a1;
  font-size: 10px;
}

.usage-log-row__status {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 7px;
  color: #168253;
  font-size: 10px;
  background: #edf9f3;
  border-radius: 999px;
}

.usage-log-row__status.is-error {
  color: #b63b47;
  background: #fff0f2;
}

.usage-log-empty[hidden] {
  display: none;
}

.usage-log-empty {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  color: #99a1ab;
  font-size: 12px;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.password-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.password-form label span {
  color: #5e6874;
  font-size: 11px;
  font-weight: 600;
}

.password-form input {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  color: #26313e;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  outline: 0;
}

.password-form input:focus {
  border-color: rgba(142, 71, 240, 0.55);
  box-shadow: 0 0 0 3px rgba(142, 71, 240, 0.1);
}

.password-form button,
.logout-all-button {
  height: 36px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: #20252c;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.logout-all-button {
  width: 100%;
  margin-top: 8px;
  color: #b63b47;
  background: #fff4f5;
  border: 1px solid #f3d3d7;
}

.detail-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 36px;
}

.detail-hero__mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #fff;
  border-radius: 14px;
}

.detail-hero h2 {
  margin: 0 0 5px;
  color: #17202c;
  font-size: 24px;
}

.detail-hero p {
  margin: 0;
  color: #707b89;
  font-size: 13px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.detail-tag {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #5f41cf;
  font-size: 12px;
  background: #f2edff;
  border: 1px solid rgba(142, 71, 240, 0.16);
  border-radius: 4px;
}

.detail-description {
  color: #5f6a77;
  font-size: 14px;
  line-height: 1.75;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.detail-grid__item {
  padding: 14px;
  background: #f7f8fa;
  border: 1px solid #eceef1;
  border-radius: 8px;
}

.detail-grid__item span {
  display: block;
  margin-bottom: 5px;
  color: #818b98;
  font-size: 11px;
}

.detail-grid__item strong {
  color: #26313e;
  font-size: 14px;
}

html.dark {
  color-scheme: dark;
  --site-line: rgba(255, 255, 255, 0.09);
  --site-muted: rgba(255, 255, 255, 0.56);
  --pricing-atlas-text: #e5e6eb;
  --pricing-atlas-text-secondary: rgba(229, 230, 235, 0.55);
  --pricing-atlas-bg-panel: #202126;
  --pricing-atlas-border: rgba(255, 255, 255, 0.09);
  --semi-color-bg-0: #111216;
  --semi-color-bg-1: #1b1c21;
  --semi-color-border: #30323a;
  --semi-color-text-0: #e8e9ed;
  --semi-color-text-2: #a7abb5;
  background: #111216;
}

html.dark body {
  color: #f0f1f4;
  background: #111216;
}

html.dark .classic-header-bar {
  background: rgba(17, 18, 22, 0.94);
}

html.dark .classic-header-bar__logo,
html.dark .classic-header-bar__link:hover,
html.dark .classic-header-bar__link--active,
html.dark .classic-header-bar__icon-btn,
html.dark .pricing-category-title,
html.dark .pricing-discount-label,
html.dark .pricing-filter-section__title {
  color: #f1f2f5;
}

html.dark .classic-header-bar__login {
  color: #d9c6ff;
  background: rgba(142, 71, 240, 0.18);
}

html.dark .classic-header-bar__register {
  color: #16171a;
  background: #f0f1f4;
}

html.dark .pricing-page-shell {
  background: #111216;
}

html.dark .pricing-hero-search-bar,
html.dark .view-switch,
html.dark .pricing-sort-dropdown,
html.dark .product-item,
html.dark .pagination-button,
html.dark .modal__panel,
html.dark .auth-modal__panel,
html.dark .header-user-menu,
html.dark .console-section {
  background: #1c1d22;
}

html.dark .pricing-hero-search-input,
html.dark .pricing-filter-option,
html.dark .product-price,
html.dark .price-line {
  color: #d8dbe2;
}

html.dark .product-title,
html.dark .product-title span,
html.dark .price-line__value,
html.dark .model-list-card__title,
html.dark .detail-hero h2,
html.dark .detail-grid__item strong {
  color: #f1f2f5 !important;
}

html.dark .product-desc,
html.dark .model-list-card__desc,
html.dark .detail-hero p,
html.dark .detail-description,
html.dark .detail-grid__item span {
  color: #a9aeb8 !important;
}

html.dark .model-list-card,
html.dark .detail-grid__item {
  background: #1b1c21;
  border-color: #30323a;
}

html.dark .console-stat,
html.dark .console-key-panel,
html.dark .console-help,
html.dark .console-subpanel {
  background: #14151a;
  border-color: #30323a;
}

html.dark .console-heading h2,
html.dark .console-stat strong,
html.dark .console-key-panel__head h3,
html.dark .console-subpanel__head h3,
html.dark .key-row__name strong,
html.dark .console-help strong {
  color: #f0f1f4;
}

html.dark .console-heading p,
html.dark .console-key-panel__head p,
html.dark .console-subpanel__head p,
html.dark .console-help,
html.dark .key-row__name span,
html.dark .key-row__date,
html.dark .console-stat > span,
html.dark .console-stat small,
html.dark .usage-log-row__model span,
html.dark .usage-log-row__tokens {
  color: #a9aeb8;
}

html.dark .create-key-form input,
html.dark .password-form input {
  color: #f0f1f4;
  background: #1c1d22;
  border-color: #383a43;
}

html.dark .key-row,
html.dark .usage-log-row {
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .auth-modal__brand,
html.dark .auth-modal__title,
html.dark .auth-tab.is-active,
html.dark .auth-field > span,
html.dark .header-user-menu__profile strong {
  color: #f1f2f5;
}

html.dark .auth-modal__subtitle,
html.dark .auth-consent,
html.dark .auth-modal__footnote,
html.dark .header-user-menu__profile span {
  color: #a9aeb8;
}

html.dark .auth-tabs {
  background: #111216;
}

html.dark .auth-tab {
  color: #a9aeb8;
}

html.dark .auth-tab.is-active {
  background: #2a2b31;
}

html.dark .auth-field input {
  color: #f0f1f4;
  background: #14151a;
  border-color: #383a43;
}

html.dark .auth-field input:disabled {
  color: #777d88;
  background: #24252a;
}

html.dark .auth-modal__footnote,
html.dark .header-user-menu__profile {
  border-color: rgba(255, 255, 255, 0.09);
}

html.dark .header-user-button {
  color: #e5e6eb;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .header-user-menu button:hover {
  background: rgba(218, 72, 88, 0.12);
}

html.dark .site-footer {
  background: #090a0c;
}

html.dark .pagination-wrap {
  border-color: rgba(255, 255, 255, 0.09);
}

@media (max-width: 1100px) {
  .classic-header-bar__container,
  .pricing-page-content,
  .site-footer__inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .model-list-card__side {
    width: 235px;
    flex-basis: 235px;
  }

  .model-list-card__buttons button {
    min-width: 92px;
  }
}

@media (max-width: 900px) {
  .pricing-hero-title {
    font-size: 44px;
  }

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

  .pricing-category-section {
    width: 148px;
    min-width: 148px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 56px;
  }

  .classic-header-bar__container,
  .pricing-page-content,
  .site-footer__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .classic-header-bar__nav,
  .classic-header-bar__login {
    display: none;
  }

  .classic-header-bar__btns {
    display: flex !important;
  }

  .header-auth-actions {
    gap: 0;
  }

  .classic-header-bar__register {
    height: 32px;
    padding: 0 12px;
  }

  .header-user-name,
  .header-user-button > svg {
    display: none;
  }

  .header-user-button {
    width: 38px;
    justify-content: center;
    padding: 3px;
  }

  .pricing-page-shell {
    --pricing-hero-top-gap: 30px;
    padding-bottom: 48px;
  }

  .pricing-hero-title {
    font-size: 34px;
  }

  .pricing-hero-desc {
    margin-top: 14px;
    font-size: 14px;
  }

  .pricing-hero-search-bar {
    height: 42px;
    margin-top: 24px;
  }

  .pricing-hero-hot {
    align-items: flex-start;
  }

  .pricing-hero-hot-list {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pricing-hero-hot-list::-webkit-scrollbar {
    display: none;
  }

  .console-section {
    margin-top: 28px;
    padding: 18px;
  }

  .console-heading,
  .console-key-panel__head,
  .new-key-reveal {
    flex-direction: column;
    align-items: stretch;
  }

  .console-heading h2 {
    font-size: 24px;
  }

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

  .create-key-form {
    width: 100%;
  }

  .create-key-form label,
  .create-key-form input {
    width: 100%;
  }

  .new-key-value {
    width: 100%;
  }

  .new-key-value code {
    max-width: none;
    flex: 1;
  }

  .key-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .key-row__prefix {
    grid-column: 1;
    grid-row: 2;
  }

  .key-row__date {
    display: none;
  }

  .key-revoke {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .pricing-filter-row {
    margin-top: 18px;
  }

  .pricing-category-section {
    width: auto;
    min-width: 0;
  }

  .pricing-category-divider {
    display: none;
  }

  .pricing-filter-row > .pricing-category-section {
    display: none;
  }

  .pricing-layout {
    flex-direction: column;
    gap: 0;
  }

  .pricing-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-top: 12px !important;
  }

  .pricing-sidebar-inner {
    gap: 12px;
    padding-bottom: 12px;
  }

  .pricing-filter-section {
    display: none;
  }

  .pricing-discount-row {
    display: none;
  }

  .mobile-filter-row {
    display: flex;
    gap: 8px;
    padding: 12px 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-filter-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-filter-chip {
    display: inline-flex;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 11px;
    color: #66717f;
    font-size: 12px;
    background: #fff;
    border: 1px solid #e3e5e9;
    border-radius: 999px;
  }

  .mobile-filter-chip.is-active {
    color: #5f41cf;
    background: #f3edff;
    border-color: rgba(142, 71, 240, 0.34);
  }

  .pricing-content {
    width: 100%;
  }

  .product-item {
    border-radius: 8px;
  }

  .pricing-cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .product-image-wrap {
    aspect-ratio: 374 / 160;
  }

  .product-pop {
    display: none;
  }

  .model-list-card {
    flex-direction: column;
  }

  .model-list-card__media {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 6;
  }

  .model-list-card__body {
    flex-direction: column;
    padding: 16px;
  }

  .model-list-card__side {
    width: 100%;
    flex-basis: auto;
    align-items: stretch;
    gap: 16px;
  }

  .model-list-card__buttons {
    width: 100%;
  }

  .model-list-card__buttons button {
    flex: 1;
  }

  .pagination-wrap {
    gap: 6px;
    margin-top: 18px;
    overflow-x: auto;
  }

  .pagination-button {
    width: 34px;
    height: 34px;
  }

  .site-footer__inner {
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal__panel {
    width: 100%;
    max-height: 88vh;
    padding: 24px 18px 30px;
    border-radius: 16px 16px 0 0;
  }

  .auth-modal__panel {
    width: 100%;
    max-height: 94vh;
    padding: 26px 18px 28px;
    border-radius: 16px 16px 0 0;
  }

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