/* OmniAI Compare — 对齐 Findly UI 变量 */

.pk-page .pk-breadcrumb,
.pk-plaza .pk-breadcrumb {
  margin-bottom: 14px;
}

/* —— 顶部居中 SEO 文案 —— */
.pk-seo-hero {
  text-align: center;
  margin: 0 0 22px;
  padding: 8px 8px 4px;
}
.pk-seo-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--f-text-3, #a3a3a3);
}
.pk-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--f-text, #0a0a0a);
}
.pk-seo-vs {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--f-text, #0a0a0a);
}
.pk-summary {
  color: var(--f-text-2, #525252);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 auto 16px;
  max-width: 40em;
}
.pk-seo-bridge {
  text-align: left;
  color: var(--f-text-2, #525252);
  font-size: 13px;
  line-height: 1.65;
  margin: 14px 0 10px;
  max-width: none;
}
.pk-cat-lead {
  color: var(--f-text-2, #525252);
  font-size: 14px;
  line-height: 1.65;
  margin: -4px 0 14px;
}

/* —— 详情页大对决头图 —— */
.pk-duel-hero {
  margin: 8px 0 4px;
}
.pk-duel-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 16px !important;
}
.pk-duel-hero-inner--triple {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
}
.pk-duel-hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none !important;
  color: inherit !important;
  min-width: 0;
  padding: 6px;
}
.pk-duel-hero-side strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--f-text, #0a0a0a);
}
.pk-duel-hero-side span:not(.pk-duel-icon):not(.pk-duel-icon-lg) {
  font-size: 12px;
  color: var(--f-text-3, #a3a3a3);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pk-duel-vs-lg {
  flex-direction: column;
  gap: 6px;
}
.pk-duel-vs-lg em {
  font-style: normal;
  font-size: 11px;
  color: var(--f-text-3, #a3a3a3);
  font-weight: 600;
}
.pk-duel-icon-lg {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 12px;
}

/* —— 正文区块 —— */
.pk-section {
  margin: 28px 0 0;
  padding-top: 4px;
}
.pk-section .findly-section-title,
.pk-section-title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--f-text, #0a0a0a);
}
.pk-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 3px;
  border-radius: 999px;
  background: #ff7a1a;
}
.pk-prose {
  line-height: 1.8;
  color: var(--f-text-2, #525252);
  font-size: 14.5px;
}
.pk-prose p {
  margin: 0 0 0.85em;
}
.pk-prose p:last-child {
  margin-bottom: 0;
}
.pk-table-intro {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: left;
  max-width: none;
}

/* 双层留白壳（分析 / 适合人群） */
.pk-analysis-panel,
.pk-audience-panel,
.pk-pros,
.pk-cons {
  padding: 4px;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  background: var(--f-surface, #fff);
  box-sizing: border-box;
}
.pk-analysis-panel-inner,
.pk-audience-panel-inner,
.pk-pros-inner,
.pk-cons-inner {
  padding: 16px 16px 18px;
  border-radius: 8px;
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  box-sizing: border-box;
}
.pk-analysis-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--f-border, #e8e8e8);
}
.pk-analysis-ico,
.pk-analysis-letter {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
}
.pk-analysis-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--f-text-2, #525252);
}
.pk-analysis-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--f-text, #0a0a0a);
  line-height: 1.3;
}

/* —— 结构化对比矩阵 —— */
.pk-matrix {
  margin: 0 0 4px;
}
.pk-matrix-shell {
  padding: 4px;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  background: var(--f-surface, #fff);
  box-sizing: border-box;
}
.pk-matrix-shell-inner {
  border-radius: 8px;
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  overflow: hidden;
  box-sizing: border-box;
}
.pk-matrix-desktop {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.pk-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
  min-width: 0;
}
.pk-matrix[data-cols="2"] .pk-matrix-table { min-width: 420px; }
.pk-matrix[data-cols="3"] .pk-matrix-table { min-width: 560px; }
.pk-matrix-table th,
.pk-matrix-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--f-border, #e8e8e8);
  vertical-align: middle;
  color: var(--f-text, #0a0a0a);
  word-break: break-word;
}
.pk-matrix-table thead th {
  background: var(--f-surface, #fff);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}
.pk-matrix-table thead th.pk-matrix-tool {
  color: var(--f-text, #0a0a0a);
}
.pk-matrix-tool-name {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.pk-matrix-table thead th.pk-matrix-dim,
.pk-matrix-table tbody th.pk-matrix-dim {
  text-align: left;
  width: 22%;
  font-weight: 600;
  color: var(--f-text-2, #525252);
  background: var(--f-surface, #fff);
  position: sticky;
  left: 0;
  z-index: 2;
}
.pk-matrix-dim-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--f-text, #0a0a0a);
  line-height: 1.4;
}
.pk-matrix-table tbody td {
  text-align: center;
  background: transparent;
}
.pk-matrix-table tbody tr:nth-child(even) td,
.pk-matrix-table tbody tr:nth-child(even) th.pk-matrix-dim {
  background: rgba(255, 255, 255, 0.45);
}
.io-black-mode .pk-matrix-table tbody tr:nth-child(even) td,
.io-black-mode .pk-matrix-table tbody tr:nth-child(even) th.pk-matrix-dim {
  background: rgba(255, 255, 255, 0.03);
}
.pk-matrix-table tbody tr:hover td,
.pk-matrix-table tbody tr:hover th.pk-matrix-dim {
  background: rgba(255, 122, 26, 0.06);
}
.pk-matrix-table tbody tr:last-child th,
.pk-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}
.pk-matrix-note {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  color: var(--f-text-3, #a3a3a3);
  line-height: 1.4;
}
.pk-matrix-foot {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--f-text-3, #a3a3a3);
  line-height: 1.55;
}

.pk-cell-text {
  display: inline-block;
  max-width: 100%;
  line-height: 1.5;
  font-size: 13px;
  color: var(--f-text, #0a0a0a);
}
.pk-cell-price {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--f-text, #0a0a0a);
}
.pk-cell-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f5a524;
  font-size: 13px;
  line-height: 1;
}
.pk-cell-stars .is-off {
  color: var(--f-border-strong, #e0e0e0);
}
.pk-cell-stars em {
  margin-left: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--f-text-3, #a3a3a3);
}
.pk-cell-bool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 700;
}
.pk-cell-bool i {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
}
.pk-cell-bool-text {
  display: none;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}
.pk-cell-bool.is-yes {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}
.pk-cell-bool.is-no {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.1);
}

/* 手机：维度卡片列表 */
.pk-matrix-mobile {
  display: none;
}
@media (max-width: 767px) {
  .pk-matrix-desktop {
    display: none;
  }
  .pk-matrix-shell-inner {
    background: transparent;
    padding: 0;
  }
  .pk-matrix-mobile {
    display: grid;
    gap: 8px;
    padding: 2px;
  }
  .pk-matrix-card {
    border: 1px solid var(--f-border, #e8e8e8);
    border-radius: 8px;
    background: var(--f-surface, #fff);
    overflow: hidden;
  }
  .pk-matrix-card-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--f-text, #0a0a0a);
    background: var(--f-panel, rgba(245, 245, 245, 0.85));
    border-bottom: 1px solid var(--f-border, #e8e8e8);
  }
  .pk-matrix-card-label-text {
    line-height: 1.35;
  }
  .pk-matrix-card-label small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--f-text-3, #a3a3a3);
  }
  .pk-matrix-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .pk-matrix-card-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--f-border, #e8e8e8);
  }
  .pk-matrix-card-list li:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
  }
  .io-black-mode .pk-matrix-card-list li:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
  }
  .pk-matrix-card-list li:last-child {
    border-bottom: 0;
  }
  .pk-matrix-card-tool {
    flex: 0 1 40%;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--f-text-2, #525252);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pk-matrix-card-val {
    flex: 1 1 auto;
    text-align: right;
    min-width: 0;
  }
  .pk-matrix-card-val .pk-cell-text {
    text-align: right;
  }
  .pk-cell-bool-text {
    display: inline;
  }
  .pk-cell-bool {
    min-width: 0;
    height: auto;
    padding: 4px 8px;
  }
}

/* 旧 Markdown 表兼容 */
.pk-table-wrap {
  overflow-x: auto;
  padding: 4px;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  background: var(--f-surface, #fff);
  box-sizing: border-box;
}
.pk-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 14px;
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  border-radius: 8px;
  overflow: hidden;
}
.pk-table th,
.pk-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--f-border, #e8e8e8);
  text-align: left;
  vertical-align: top;
  color: var(--f-text, #0a0a0a);
}
.pk-table thead th {
  background: var(--f-surface, #fff);
  font-weight: 700;
}
.pk-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 优缺点 */
.pk-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.pk-pros h3,
.pk-cons h3 {
  margin: 0 0 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1.3;
}
.pk-pros h3 {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}
.pk-cons h3 {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.1);
}

/* FAQ */
.pk-faq-list {
  display: grid;
  gap: 8px;
}
.pk-faq-item {
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  padding: 0;
  margin: 0;
  background: var(--f-surface, #fff);
  overflow: hidden;
}
.pk-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--f-text, #0a0a0a);
  background: var(--f-panel, rgba(245, 245, 245, 0.55));
}
.pk-faq-item summary::-webkit-details-marker {
  display: none;
}
.pk-faq-item summary span {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}
.pk-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--f-text-3, #a3a3a3);
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
}
.pk-faq-item[open] summary {
  border-bottom: 1px solid var(--f-border, #e8e8e8);
}
.pk-faq-item[open] summary::after {
  content: "–";
  color: #ff7a1a;
  border-color: rgba(255, 122, 26, 0.35);
}
.pk-faq-answer {
  padding: 12px 14px 14px;
  color: var(--f-text-2, #525252);
}
.pk-faq-answer.pk-prose {
  margin-top: 0;
}

/* —— VS 对决卡片（详情相关 / 广场 / 工具页共用） —— */
.pk-related-block {
  margin-top: 8px;
}
.findly-ui .pk-duel-grid,
.pk-duel-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
@media (min-width: 640px) {
  .findly-ui .pk-duel-grid,
  .pk-duel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (min-width: 992px) {
  .findly-ui .pk-plaza .pk-duel-grid,
  .findly-ui .pk-duel-grid--plaza,
  .pk-plaza .pk-duel-grid,
  .pk-duel-grid--plaza {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* 广场五列：图标/文字更紧凑，两侧纵向排布更稳 */
.pk-plaza .pk-duel-card .pk-duel-inner {
  padding: 10px 8px 9px;
  gap: 4px;
  min-height: 0;
}
.pk-plaza .pk-duel-card .pk-duel-inner--triple {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2px;
}
.pk-plaza .pk-duel-inner--triple .pk-duel-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}
.pk-plaza .pk-duel-inner--triple .pk-duel-name {
  font-size: 11px;
}
.pk-plaza .pk-duel-side {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
}
.pk-plaza .pk-duel-side:last-child {
  flex-direction: column;
  text-align: center;
}
.pk-plaza .pk-duel-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.pk-plaza .pk-duel-letter {
  font-size: 13px;
}
.pk-plaza .pk-duel-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
.pk-plaza .pk-duel-vs-badge {
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: 10px;
  letter-spacing: 0.02em;
}
.findly-ui a.pk-duel-card,
a.pk-duel-card,
.pk-duel-card {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  padding: 2px;
  overflow: visible;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: transparent;
  box-sizing: border-box;
}
.pk-duel-card:hover {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.pk-duel-card .pk-duel-inner {
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  border-radius: 8px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  pointer-events: none; /* 点击落在外层 <a>，避免主题卡片脚本干扰 */
}
.pk-duel-card .pk-duel-inner--triple {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 6px;
}
.pk-duel-side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pk-duel-inner:not(.pk-duel-inner--triple) .pk-duel-side:last-child {
  flex-direction: row-reverse;
  text-align: right;
}
.pk-duel-inner--triple .pk-duel-side {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.pk-duel-inner--triple .pk-duel-name {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
}
.pk-duel-inner--triple .pk-duel-vs-badge {
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: 10px;
}
.pk-duel-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--f-elevated, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk-duel-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pk-duel-letter {
  font-size: 16px;
  font-weight: 700;
  color: var(--f-text-2, #525252);
}
.pk-duel-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--f-text, #0a0a0a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-duel-vs {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk-duel-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--f-black, #0a0a0a);
  line-height: 1;
}
.pk-duel-card:hover .pk-duel-vs-badge,
.pk-duel-hero:hover .pk-duel-vs-badge {
  background: var(--f-purple, #7c3aed);
}
.io-black-mode .pk-duel-vs-badge {
  background: #e5e7eb;
  color: #0a0a0a;
}
.io-black-mode .pk-duel-card:hover .pk-duel-vs-badge,
.io-black-mode .pk-duel-hero:hover .pk-duel-vs-badge {
  background: #a78bfa;
  color: #0a0a0a;
}
.io-black-mode .pk-duel-name,
.io-black-mode .pk-title,
.io-black-mode .pk-seo-vs,
.io-black-mode .pk-duel-hero-side strong {
  color: var(--f-text, #f5f5f5);
}

/* —— 广场（对齐热门页 container-lg 全宽；盖过 ai-pro 1200px） —— */
.findly-ui #content.pk-plaza.container,
.findly-ui #content.pk-plaza.container-lg,
#content.pk-plaza.container,
#content.pk-plaza.container-lg,
#content.pk-plaza {
  width: 100% !important;
  max-width: var(--f-content-width, 1800px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--f-content-pad, 16px) !important;
  padding-right: var(--f-content-pad, 16px) !important;
  padding-top: 16px !important;
  padding-bottom: 56px !important;
  box-sizing: border-box !important;
  float: none !important;
}
.findly-ui .pk-plaza .content-wrap,
.findly-ui .pk-plaza .content-layout,
.pk-plaza .content-wrap,
.pk-plaza .content-layout,
.pk-plaza-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* 广场 hero：双层留白边框（对齐网址卡片）；PK 橙色点缀 */
.pk-plaza .findly-tools-page-hero.pk-plaza-hero {
  position: relative;
  margin: 8px 0 24px;
  padding: 4px;
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.pk-plaza .findly-tools-page-hero.pk-plaza-hero::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 180, 100, 0.06));
  pointer-events: none;
  z-index: 0;
}
.pk-plaza .findly-tools-page-hero.pk-plaza-hero::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(167, 139, 250, 0.04));
  pointer-events: none;
  z-index: 0;
}
.pk-plaza .findly-tools-page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 28px 26px 24px;
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  border-radius: 8px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .pk-plaza .findly-tools-page-hero.pk-plaza-hero {
    padding: 3px;
    margin-bottom: 16px;
  }
  .pk-plaza .findly-tools-page-hero-inner {
    padding: 20px 14px 18px;
  }
}
.pk-plaza .findly-tools-page-badge {
  color: #047857;
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.28);
}
.pk-plaza .findly-tools-page-link:hover {
  color: #fff !important;
  background: #ff7a1a !important;
  border-color: #ff7a1a !important;
}
.pk-plaza-section {
  margin: 8px 0 28px;
}
.pk-plaza-section .findly-section-head {
  margin-bottom: 12px;
}
.pk-plaza-foot {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--f-border, #e8e8e8);
  text-align: left;
  color: var(--f-text-3, #a3a3a3);
  font-size: 13px;
  line-height: 1.7;
}
.pk-empty {
  color: var(--f-text-3, #a3a3a3);
  padding: 20px 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 640px) {
  .pk-duel-hero-inner {
    gap: 8px;
    padding: 14px 10px !important;
  }
  .pk-duel-hero-inner--triple {
    gap: 6px;
  }
  .pk-duel-hero-inner--triple .pk-duel-hero-side span:not(.pk-duel-icon):not(.pk-duel-icon-lg) {
    display: none;
  }
  .pk-duel-hero-side strong {
    font-size: 14px;
  }
  .pk-duel-hero-inner--triple .pk-duel-hero-side strong {
    font-size: 12px;
  }
  .pk-duel-icon-lg {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .pk-duel-hero-inner--triple .pk-duel-icon-lg {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
  }
}

/* —— 工具详情：AI 智能对比 —— */
.findly-ui .pk-ondemand,
.pk-ondemand {
  position: relative;
  z-index: 6;
  margin: 6px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  background: var(--f-surface, #fff);
  pointer-events: auto !important;
  box-sizing: border-box;
}
.findly-ui .pk-ondemand-bar,
.pk-ondemand-bar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px;
  width: 100%;
}
.findly-ui .pk-ondemand-main,
.pk-ondemand-main {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.pk-ondemand-label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--f-text-2, #525252);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.pk-ondemand-name {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 28%;
  font-size: 14px;
  font-weight: 700;
  color: var(--f-text, #0a0a0a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pk-ondemand-vs {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  color: #fff !important;
  background: #ff7a1a;
  border-radius: 999px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* 自定义下拉：双层留白边框，对齐网址卡片 */
.findly-ui .pk-select-wrap,
.pk-select-wrap {
  position: relative;
  flex: 1 1 200px;
  min-width: 148px;
  max-width: 300px;
  z-index: 30;
}
.findly-ui .pk-ondemand-select,
.pk-ondemand-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}
.findly-ui .pk-select-trigger,
.pk-select-trigger {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  padding: 3px;
  margin: 0;
  border: 1px solid var(--f-border, #e8e8e8) !important;
  border-radius: 10px !important;
  background: var(--f-surface, #fff) !important;
  color: var(--f-text, #0a0a0a) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  text-align: left;
  font: inherit;
}
.findly-ui .pk-select-trigger:hover,
.pk-select-trigger:hover,
.pk-select-wrap.is-open .pk-select-trigger {
  border-color: rgba(255, 122, 26, 0.45) !important;
}
.pk-select-wrap.is-open .pk-select-trigger {
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.1) !important;
}
.pk-select-trigger-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  padding: 0 8px;
  background: var(--f-panel, rgba(245, 245, 245, 0.85));
  border-radius: 8px;
}
.pk-select-trigger-ico,
.pk-select-option-ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
}
.pk-select-trigger-letter,
.pk-select-option-letter {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--f-text-2, #525252);
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
}
.pk-select-trigger-text,
.pk-select-option-text {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pk-select-caret {
  flex: 0 0 auto;
  margin-left: 2px;
  color: var(--f-text-3, #a3a3a3);
  transition: transform 0.15s ease;
}
.pk-select-wrap.is-open .pk-select-caret {
  transform: rotate(180deg);
  color: #ff7a1a;
}
.pk-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  background: var(--f-surface, #fff);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  z-index: 40;
  display: none;
}
.pk-select-wrap.is-open .pk-select-menu {
  display: block;
}
.pk-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--f-text, #0a0a0a);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.pk-select-option:hover,
.pk-select-option:focus {
  background: var(--f-panel, rgba(245, 245, 245, 0.9));
  outline: none;
}
.pk-select-option.is-active {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}
.findly-ui .pk-ondemand-btn,
.pk-ondemand-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px !important;
  min-width: 72px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ff7a1a !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none !important;
}
.findly-ui .pk-ondemand-btn:hover,
.pk-ondemand-btn:hover {
  opacity: 0.92;
  color: #fff !important;
}
/* display:!important 会压过原生 [hidden]，需显式盖回 */
.findly-ui .pk-ondemand-btn[hidden],
.pk-ondemand-btn[hidden],
.pk-ondemand [data-pk-cta][hidden] {
  display: none !important;
}

.pk-ondemand-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--f-border, #e8e8e8);
}
.pk-ondemand-hot-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--f-text-3, #a3a3a3);
  white-space: nowrap;
}
.pk-ondemand-hot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.findly-ui .pk-hot-chip,
.pk-hot-chip,
.findly-ui a.pk-hot-chip,
a.pk-hot-chip,
button.pk-hot-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 28px;
  height: auto;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  border: 1px solid var(--f-border, #e8e8e8) !important;
  background: var(--f-panel, rgba(245, 245, 245, 0.85)) !important;
  color: var(--f-text, #0a0a0a) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  line-height: 1.25;
  max-width: 100%;
}
.findly-ui .pk-hot-chip:hover,
.pk-hot-chip:hover,
.findly-ui a.pk-hot-chip:hover,
a.pk-hot-chip:hover {
  border-color: rgba(255, 122, 26, 0.45) !important;
  background: rgba(255, 122, 26, 0.08) !important;
  color: var(--f-text, #0a0a0a) !important;
  text-decoration: none !important;
}
.pk-hot-chip .pk-hot-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pk-hot-chip img {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  flex: 0 0 auto;
}

/* —— 生成中：绿系轨道环 + 时间线 + 进度条 —— */
body.pk-gen-open {
  overflow: hidden;
}
body.pk-gen-leaving .pk-gen-overlay {
  pointer-events: none;
}
.pk-gen-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    rgba(248, 250, 252, 0.88);
  background-size: 40px 40px, 40px 40px, auto;
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow: hidden;
}
.io-black-mode .pk-gen-overlay {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(12, 14, 18, 0.88);
  background-size: 40px 40px, 40px 40px, auto;
}
.pk-gen-overlay[hidden] {
  display: none !important;
}
.pk-gen-overlay.is-leaving {
  opacity: 0;
}
.pk-gen-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.28), transparent);
  animation: pk-gen-scan 4s linear infinite;
  pointer-events: none;
}
@keyframes pk-gen-scan {
  to { top: 100%; }
}
.pk-gen-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.pk-gen-particles i {
  position: absolute;
  border-radius: 50%;
  background: #059669;
  opacity: 0;
  animation: pk-gen-float 8s ease-in-out infinite;
}
.pk-gen-particles i:nth-child(1) { width: 4px; height: 4px; left: 10%; top: 20%; }
.pk-gen-particles i:nth-child(2) { width: 3px; height: 3px; left: 25%; top: 60%; animation-delay: 1.5s; background: #34d399; }
.pk-gen-particles i:nth-child(3) { width: 5px; height: 5px; left: 70%; top: 15%; animation-delay: 3s; }
.pk-gen-particles i:nth-child(4) { width: 3px; height: 3px; left: 85%; top: 45%; animation-delay: 2s; background: #10b981; }
.pk-gen-particles i:nth-child(5) { width: 4px; height: 4px; left: 50%; top: 80%; animation-delay: 4s; }
.pk-gen-particles i:nth-child(6) { width: 2px; height: 2px; left: 15%; top: 75%; animation-delay: 5s; }
.pk-gen-particles i:nth-child(7) { width: 3px; height: 3px; left: 60%; top: 30%; animation-delay: 0.5s; background: #6ee7b7; }
.pk-gen-particles i:nth-child(8) { width: 4px; height: 4px; left: 40%; top: 50%; animation-delay: 3.5s; }
@keyframes pk-gen-float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.55; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.35; transform: translateY(-60px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-100px) scale(0); }
}
.pk-gen-dialog {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  padding: 36px 32px 26px;
  border-radius: 24px;
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e2e8f0);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 60px -24px rgba(5, 150, 105, 0.18);
  text-align: center;
  animation: pk-gen-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.pk-gen-overlay.is-leaving .pk-gen-dialog {
  animation: pk-gen-out 0.4s ease forwards;
}
@keyframes pk-gen-in {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pk-gen-out {
  to { opacity: 0; transform: translateY(-8px) scale(1.02); }
}

.pk-gen-orbit {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  height: 120px;
}
.pk-gen-orbit-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk-gen-orbit-spinner {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px dashed rgba(5, 150, 105, 0.18);
  animation: pk-gen-spin 20s linear infinite;
}
.pk-gen-orbit-spinner::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #059669;
  border-radius: 50%;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.45);
}
@keyframes pk-gen-spin {
  to { transform: rotate(360deg); }
}
.pk-gen-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(5, 150, 105, 0.18);
  background: transparent;
}
.pk-gen-orbit-ring-1 {
  width: 120px;
  height: 120px;
  animation: pk-orbit-pulse 3s ease-in-out infinite;
}
.pk-gen-orbit-ring-2 {
  width: 96px;
  height: 96px;
  border-color: rgba(16, 185, 129, 0.22);
  animation: pk-orbit-pulse 3s ease-in-out infinite 0.4s;
}
.pk-gen-orbit-ring-3 {
  width: 72px;
  height: 72px;
  border-color: rgba(5, 150, 105, 0.3);
  animation: pk-orbit-pulse 3s ease-in-out infinite 0.8s;
}
@keyframes pk-orbit-pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.06); opacity: 0.95; }
}
.pk-gen-orbit-core {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  animation: pk-core-breathe 2.5s ease-in-out infinite;
}
@keyframes pk-core-breathe {
  0%, 100% { box-shadow: 0 0 18px rgba(5, 150, 105, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 0 28px rgba(5, 150, 105, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.25); }
}
.pk-gen-pct-num {
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pk-gen-pct-unit {
  font-size: 10px;
  opacity: 0.9;
  margin-top: 1px;
}

.pk-gen-waves {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 22px;
  margin-bottom: 14px;
}
.pk-gen-waves span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, #047857, #34d399);
  animation: pk-wave 1.4s ease-in-out infinite;
  transform-origin: bottom;
}
.pk-gen-waves span:nth-child(1) { height: 35%; animation-delay: 0s; }
.pk-gen-waves span:nth-child(2) { height: 65%; animation-delay: 0.12s; }
.pk-gen-waves span:nth-child(3) { height: 100%; animation-delay: 0.24s; }
.pk-gen-waves span:nth-child(4) { height: 55%; animation-delay: 0.36s; }
.pk-gen-waves span:nth-child(5) { height: 80%; animation-delay: 0.18s; }
@keyframes pk-wave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.pk-gen-badge {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}
.pk-gen-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.pk-gen-badge-inner::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
  animation: pk-live-pulse 2s infinite;
}
.pk-gen-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--f-text, #0f172a);
  letter-spacing: -0.02em;
}
.pk-gen-bar-wrap {
  margin: 0 0 16px;
}
.pk-gen-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.1);
  overflow: hidden;
}
.pk-gen-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #047857, #059669 50%, #34d399);
  background-size: 200% 100%;
  animation: pk-bar-shine 1.4s linear infinite;
  transition: width 0.28s ease;
}
.pk-gen-bar-meta {
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  font-variant-numeric: tabular-nums;
}
@keyframes pk-bar-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.pk-gen-timeline {
  position: relative;
  padding-left: 28px;
  margin: 0 0 14px;
  text-align: left;
}
.pk-gen-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(to bottom, #e2e8f0 70%, transparent);
}
.pk-gen-timeline-progress {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 2px;
  height: 0;
  border-radius: 1px;
  background: linear-gradient(to bottom, #059669, #34d399);
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.pk-gen-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pk-gen-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 0;
  font-size: 13.5px;
  color: #94a3b8;
  transition: color 0.3s ease;
}
.pk-gen-step-dot {
  position: absolute;
  left: -28px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  z-index: 2;
  box-sizing: border-box;
  transition: all 0.35s ease;
}
.pk-gen-step-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.4;
}
.pk-gen-typing {
  display: none;
  gap: 3px;
  margin-left: 4px;
}
.pk-gen-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #059669;
  animation: pk-dot-bounce 1.2s ease-in-out infinite;
}
.pk-gen-typing i:nth-child(2) { animation-delay: 0.15s; }
.pk-gen-typing i:nth-child(3) { animation-delay: 0.3s; }
.pk-gen-step.is-active {
  color: var(--f-text, #0f172a);
  font-weight: 700;
}
.pk-gen-step.is-active .pk-gen-step-dot {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12), 0 0 12px rgba(5, 150, 105, 0.2);
}
.pk-gen-step.is-active .pk-gen-typing {
  display: inline-flex;
}
.pk-gen-step.is-done {
  color: var(--f-text, #0f172a);
  font-weight: 500;
}
.pk-gen-step.is-done .pk-gen-step-dot {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.pk-gen-step.is-done .pk-gen-step-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
@keyframes pk-dot-bounce {
  0%, 80%, 100% { transform: scale(0.35); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

.pk-gen-live {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 0 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--f-border, #e2e8f0);
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(245, 245, 245, 0.65));
  font-size: 13px;
  font-weight: 600;
  color: var(--f-text-2, #475569);
  text-align: left;
}
.pk-gen-live.is-flash {
  animation: pk-live-flash 0.4s ease;
}
@keyframes pk-live-flash {
  from { opacity: 0.4; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
.pk-gen-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  animation: pk-live-pulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes pk-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}
.pk-gen-eta {
  margin: 0;
  font-size: 12px;
  color: var(--f-text-3, #94a3b8);
  letter-spacing: 0.02em;
}
.pk-gen-overlay.is-thinking .pk-gen-waves span {
  animation-duration: 0.9s;
}
.pk-gen-overlay.is-thinking .pk-gen-badge-inner {
  color: #047857;
  background: rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.28);
}
.pk-gen-overlay.is-done .pk-gen-badge-inner {
  color: #047857;
  background: rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.28);
}
.pk-gen-overlay.is-done .pk-gen-orbit-core {
  background: linear-gradient(135deg, #10b981, #047857);
}
.pk-gen-overlay.is-done .pk-gen-waves {
  opacity: 0.35;
}
.pk-gen-overlay.is-done .pk-gen-live-dot {
  background: #059669;
  animation: none;
  box-shadow: none;
}
.pk-gen-overlay.is-error .pk-gen-badge-inner {
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
  border-color: rgba(180, 35, 24, 0.2);
}
.pk-gen-overlay.is-error .pk-gen-badge-inner::before {
  background: #b42318;
  box-shadow: none;
  animation: none;
}
.pk-gen-error {
  margin: 10px 0 0;
  text-align: center;
  color: #b42318;
  font-size: 14px;
}
.pk-gen-close {
  display: block;
  margin: 14px auto 0;
  padding: 8px 16px;
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 720px) {
  .findly-ui .pk-ondemand,
  .pk-ondemand {
    padding: 10px;
  }
  .findly-ui .pk-ondemand-bar,
  .pk-ondemand-bar {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .findly-ui .pk-ondemand-main,
  .pk-ondemand-main {
    width: 100%;
    flex-wrap: wrap !important;
    gap: 8px;
  }
  .pk-ondemand-label {
    width: 100%;
    font-size: 12px;
  }
  .pk-ondemand-name {
    max-width: 46%;
  }
  .findly-ui .pk-select-wrap,
  .pk-select-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .pk-select-menu {
    max-height: 220px;
  }
  .findly-ui .pk-ondemand-btn,
  .pk-ondemand-btn {
    width: 100%;
    min-width: 0;
  }
  .pk-ondemand-hot {
    align-items: flex-start;
    gap: 6px;
  }
  .pk-ondemand-hot-label {
    width: 100%;
    margin-bottom: 2px;
  }
  .pk-hot-chip .pk-hot-chip-text {
    white-space: normal;
  }
}

/* 详情页「相关对比」：同广场样式——图标在上标题在下，桌面3列、手机1列 */
.findly-ui .pk-duel-grid--related,
.pk-duel-grid--related {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
@media (min-width: 768px) {
  .findly-ui .pk-duel-grid--related,
  .pk-duel-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
.pk-duel-grid--related .pk-duel-card .pk-duel-inner {
  padding: 12px 8px 10px;
  gap: 4px;
  min-height: 0;
}
.pk-duel-grid--related .pk-duel-inner--triple {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2px;
}
.pk-duel-grid--related .pk-duel-inner--triple .pk-duel-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
.pk-duel-grid--related .pk-duel-inner--triple .pk-duel-name {
  font-size: 12px;
}
.pk-duel-grid--related .pk-duel-side,
.pk-duel-grid--related .pk-duel-inner:not(.pk-duel-inner--triple) .pk-duel-side:last-child {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
}
.pk-duel-grid--related .pk-duel-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.pk-duel-grid--related .pk-duel-letter {
  font-size: 15px;
}
.pk-duel-grid--related .pk-duel-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
.pk-duel-grid--related .pk-duel-vs-badge {
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* 工具聚合卡（广场热门区）：一个工具一张卡 + 对手图标链接 */
.findly-ui .pk-hub-grid,
.pk-hub-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
@media (min-width: 640px) {
  .findly-ui .pk-hub-grid,
  .pk-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (min-width: 992px) {
  .findly-ui .pk-hub-grid,
  .pk-hub-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
.pk-hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 16px 10px 10px;
  background: var(--f-surface, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pk-hub-card:hover {
  border-color: var(--f-border-strong, #d4d4d4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.pk-hub-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  color: inherit !important;
}
.pk-hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--f-elevated, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk-hub-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pk-hub-letter {
  font-size: 18px;
  font-weight: 700;
  color: var(--f-text-2, #525252);
}
.pk-hub-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--f-text, #0a0a0a);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-hub-count {
  font-size: 12px;
  color: var(--f-text-3, #a3a3a3);
}
.pk-hub-ops {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 10px;
  flex-wrap: nowrap;
}
.pk-hub-op {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--f-elevated, #fff);
  border: 1px solid var(--f-border, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.15s ease;
}
.pk-hub-op:hover {
  transform: translateY(-1px);
}
.pk-hub-op img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pk-hub-op-letter {
  font-size: 11px;
  font-weight: 600;
  color: var(--f-text-2, #525252);
}
.pk-hub-more {
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--f-text-2, #525252);
  background: var(--f-panel, rgba(245, 245, 245, 0.65));
  border: 1px solid var(--f-border, #e8e8e8);
  text-decoration: none !important;
  box-sizing: border-box;
}
.pk-hub-all {
  margin-top: auto;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid var(--f-border, #e8e8e8);
  font-size: 12px;
  color: var(--f-text-2, #525252);
  text-decoration: none !important;
}
.pk-hub-all:hover {
  color: var(--f-text, #0a0a0a);
}
.io-black-mode .pk-hub-card,
.io-black-mode .pk-hub-op,
.io-black-mode .pk-hub-icon {
  background: var(--f-surface, #171717);
}
