/* ==========================================================================
   account-pages.css — chat / claude / pricing 重建页专用组件
   视觉语言对齐首页：深色 #080808 · ring 面板 · 圆角 16 · kicker · 红 skew badge
   仅这三页在 category.css 之后 link 本文件；全部规则scoped 于 .acct，避免污染他页。
   ========================================================================== */

.acct {
  display: block;
}

/* ---- 通用 ring 面板 ----------------------------------------------------- */
.acct .panel,
.acct-panel {
  background: rgba(18, 18, 18, 0.5);
  border-radius: var(--radius-surface, 16px);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.08);
  padding: 28px;
}

.acct .kicker {
  margin-bottom: 16px;
}

.acct-panel .kicker {
  margin-bottom: 12px;
}

/* hero 内 kicker 与标题间距 */
.acct .hero .kicker {
  margin-bottom: 20px;
}

.acct .hero {
  padding-bottom: 8px;
}

/* ---- 节标题（h2 小标题） ------------------------------------------------ */
.acct-sec {
  margin-top: 56px;
}

.acct-sec__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.acct-sec__title {
  font-size: var(--text-xl, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
  margin: 0;
}

.acct-sec__sub {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
  margin: 0 0 16px;
}

.acct-sec__note {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
  line-height: 1.7;
  margin: 12px 0 0;
}

/* 无审查绿 chip（沿用 category 语义，重绘为 pill） */
.acct-chip--uncensored {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs, 12px);
  font-weight: 500;
  color: var(--p-success, #59d499);
  background: rgba(89, 212, 153, 0.1);
  box-shadow: 0 0 0 1px rgba(89, 212, 153, 0.25);
  border-radius: 999px;
  padding: 2px 10px;
}

/* 中性分类 chip（团队 / ChatGPT / 附加服务 等） */
.acct-chip {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--p-text-secondary, #c9c9c9);
  background: var(--p-surface-raised, #212121f2);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.08);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---- plain 宽表 + hairline 行分隔 -------------------------------------- */
.acct-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.acct-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--text-sm, 13px);
}

.acct-table thead th {
  font-size: var(--text-xs, 12px);
  font-weight: 500;
  color: var(--p-text-muted, #9e9e9e);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
  white-space: nowrap;
}

.acct-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
  color: var(--p-text-secondary, #c9c9c9);
  vertical-align: middle;
}

.acct-table tbody tr:last-child td {
  border-bottom: none;
}

.acct-table tbody td:first-child {
  color: #fafafa;
  font-weight: 500;
  white-space: nowrap;
}

.acct-table .mono,
.acct-table .price {
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  white-space: nowrap;
}

/* 折后价：绿 */
.acct-table .now {
  color: var(--p-success, #59d499);
  font-weight: 600;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  white-space: nowrap;
}

/* 官网原价：muted 删除线 */
.acct-table s,
.acct-table .was {
  color: var(--p-text-dim, #6b6b6b);
  text-decoration: line-through;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  font-size: var(--text-xs, 12px);
  margin-right: 8px;
  white-space: nowrap;
}

/* 原价行：白价 */
.acct-table .orig {
  color: #fafafa;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  white-space: nowrap;
}

/* 备注列 */
.acct-table td.note,
.acct-table .note {
  color: var(--p-text-muted, #9e9e9e);
  font-size: var(--text-xs, 12px);
}

/* 横跨分辨率列的统一单价 */
.acct-table td.span-price {
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  color: var(--p-success, #59d499);
  font-weight: 600;
}

.acct-table td.span-price.orig {
  color: #fafafa;
  font-weight: 500;
}

.acct-table td.span-price s {
  margin-right: 8px;
}

/* 分组行（聊天四族） */
.acct-table tr.acct-group td {
  padding: 18px 16px 10px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
  background: rgba(250, 250, 250, 0.02);
}

.acct-group__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base, 14px);
  font-weight: 600;
  color: #fafafa;
}

.acct-group__desc {
  display: block;
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
  margin-top: 6px;
  line-height: 1.6;
}

.acct-group__feat {
  display: block;
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
  margin-top: 4px;
}

/* ---- 工具行（积分口径 + 锚链） ----------------------------------------- */
.acct-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(18, 18, 18, 0.5);
  border-radius: var(--radius-surface, 16px);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.08);
  padding: 16px 24px;
  margin-top: 40px;
}

.acct-toolbar__info {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-secondary, #c9c9c9);
  line-height: 1.7;
}

.acct-toolbar__info .mono {
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  color: #fafafa;
}

.acct-toolbar__info .green {
  color: var(--p-success, #59d499);
}

.acct-toolbar__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.acct-toolbar__anchors a {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-muted, #9e9e9e);
  text-decoration: none;
  transition: color 0.15s ease;
}

.acct-toolbar__anchors a:hover {
  color: #fafafa;
}

/* ---- 充值赠送面板 ------------------------------------------------------- */
.acct-bonus__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.acct-bonus__title {
  font-size: var(--text-2xl, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
  margin: 0;
}

.acct-bonus__desc {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-muted, #9e9e9e);
  margin: 8px 0 0;
  max-width: 46rem;
  line-height: 1.7;
}

.acct-bonus__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.acct-tier {
  background: rgba(250, 250, 250, 0.03);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.06);
  padding: 18px 16px;
}

.acct-tier__threshold {
  font-size: var(--text-base, 14px);
  font-weight: 600;
  color: #fafafa;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
}

.acct-tier__pct {
  display: block;
  font-size: var(--text-2xl, 24px);
  font-weight: 600;
  color: var(--p-success, #59d499);
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  margin-top: 8px;
}

.acct-tier__free {
  display: block;
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
  margin-top: 6px;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
}

/* ---- 双计划卡 ----------------------------------------------------------- */
.acct-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.acct-plan {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.5);
  border-radius: var(--radius-surface, 16px);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.08);
  padding: 32px;
  position: relative;
}

.acct-plan--enterprise {
  background: rgba(255, 99, 99, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 99, 99, 0.25);
}

.acct-plan__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) skewX(-12deg);
}

.acct-plan__label {
  font-size: var(--text-xs, 12px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--p-text-muted, #9e9e9e);
}

.acct-plan__title {
  font-size: var(--text-3xl, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 12px 0 0;
}

.acct-plan__sub {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-secondary, #c9c9c9);
  margin: 8px 0 0;
  line-height: 1.7;
}

.acct-plan__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.acct-plan__list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--text-sm, 13px);
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.78);
}

.acct-plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--p-primary, #ff6363);
  font-weight: 700;
}

.acct-plan--enterprise .acct-plan__list li::before {
  color: var(--p-accent-bright, #ff8080);
}

.acct-plan__cta {
  margin-top: 32px;
}

.acct-plan__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---- "应该选到哪一行" 面板 --------------------------------------------- */
.acct-which__title {
  font-size: var(--text-xl, 20px);
  font-weight: 600;
  color: #fafafa;
  margin: 0 0 16px;
}

.acct-which__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.acct-which__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--text-sm, 13px);
  line-height: 1.7;
  color: rgba(250, 250, 250, 0.78);
}

.acct-which__list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--p-primary, #ff6363);
  font-weight: 700;
  font-size: 18px;
}

.acct-which__list strong {
  color: #fafafa;
  font-weight: 600;
}

/* ---- 支付面板 ----------------------------------------------------------- */
.acct-pay__title {
  font-size: var(--text-xl, 20px);
  font-weight: 600;
  color: #fafafa;
  margin: 0 0 8px;
}

.acct-pay__desc {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-secondary, #c9c9c9);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 52rem;
}

.acct-pay .pay-block__key {
  display: inline-block;
  margin-bottom: 8px;
}

.acct-pay .pay-block__key-note {
  display: block;
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
  margin-bottom: 20px;
}

.acct-pay .oxapay-form {
  margin-top: 8px;
}

/* ---- 尾注 --------------------------------------------------------------- */
.acct-footnote {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
  line-height: 1.8;
  margin: 48px 0 0;
  max-width: 60rem;
}

.acct-footnote a {
  color: var(--p-text-muted, #9e9e9e);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acct-footnote--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---- 聊天页：intro / 代码块 / 占位注 ----------------------------------- */
.acct-intro__text {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-secondary, #c9c9c9);
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 56rem;
}

.acct-intro__text .mono {
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
  color: #fafafa;
}

.acct-placeholder {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
  line-height: 1.7;
  background: rgba(255, 197, 51, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 197, 51, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 20px;
}

.acct-placeholder__icon {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 197, 51, 0.18);
  color: var(--p-warning, #ffc533);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.acct-placeholder strong {
  color: var(--p-text-secondary, #c9c9c9);
}

.acct .codeblock {
  margin-top: 20px;
}

.acct-code__title {
  font-size: var(--text-base, 14px);
  font-weight: 600;
  color: #fafafa;
  margin: 0 0 4px;
}

.acct-code__sub {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
  margin: 0 0 16px;
}

/* ---- Claude 页：产品卡 grid -------------------------------------------- */
.acct-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.acct-product {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.5);
  border-radius: var(--radius-surface, 16px);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.08);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.acct-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.14);
}

.acct-product__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.acct-product__name {
  font-size: var(--text-lg, 16px);
  font-weight: 600;
  color: #fafafa;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.acct-product__desc {
  font-size: var(--text-sm, 13px);
  color: rgba(250, 250, 250, 0.72);
  line-height: 1.7;
  margin: 0 0 16px;
}

.acct-product__feat {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.acct-product__feat li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm, 13px);
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.72);
}

.acct-product__feat li::before {
  content: "·";
  position: absolute;
  left: 3px;
  top: -2px;
  color: var(--p-primary, #ff6363);
  font-weight: 700;
  font-size: 18px;
}

.acct-product__price {
  margin-top: auto;
  border-top: 1px solid rgba(250, 250, 250, 0.06);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.acct-product__price-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.acct-product__price-label {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
}

.acct-product__price-value {
  font-size: var(--text-base, 14px);
  font-weight: 600;
  color: #fafafa;
  font-family: var(--font-mono, "Geist Mono Variable", monospace);
}

.acct-product__price-value s {
  color: var(--p-text-dim, #6b6b6b);
  font-weight: 400;
  font-size: var(--text-xs, 12px);
  margin-right: 6px;
}

.acct-product__price-value .now {
  color: var(--p-success, #59d499);
}

.acct-product__delivery {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-dim, #6b6b6b);
}

/* ---- Claude 页：六个理由 grid ------------------------------------------ */
.acct-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.acct-why__item {
  background: rgba(250, 250, 250, 0.03);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.06);
  padding: 20px;
}

.acct-why__item strong {
  display: block;
  font-size: var(--text-base, 14px);
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 8px;
  line-height: 1.5;
}

.acct-why__item span {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-muted, #9e9e9e);
  line-height: 1.7;
}

/* ---- Claude 页：联系销售红 tint 面板 ----------------------------------- */
.acct-contact {
  background: rgba(255, 99, 99, 0.08);
  border-radius: var(--radius-surface, 16px);
  box-shadow: 0 0 0 1px rgba(255, 99, 99, 0.25);
  padding: 32px;
  margin-top: 56px;
}

.acct-contact__title {
  font-size: var(--text-2xl, 24px);
  font-weight: 600;
  color: #fafafa;
  margin: 0 0 12px;
}

.acct-contact__desc {
  font-size: var(--text-sm, 13px);
  color: var(--p-text-secondary, #c9c9c9);
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 52rem;
}

.acct-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.acct-contact__note {
  font-size: var(--text-xs, 12px);
  color: var(--p-text-muted, #9e9e9e);
  margin: 20px 0 0;
}

/* ---- 响应式 ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .acct-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .acct-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .acct-bonus__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .acct-plans {
    grid-template-columns: 1fr;
  }
  .acct-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .acct-products {
    grid-template-columns: 1fr;
  }
  .acct-why__grid {
    grid-template-columns: 1fr;
  }
  .acct-bonus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .acct-panel,
  .acct-plan,
  .acct-contact {
    padding: 22px;
  }
  .acct-sec {
    margin-top: 44px;
  }
}