/* AI 智能分析：复用 page-ai 板式，本页特有板块 */

.fx-desk {
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-desk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.fx-desk-bar strong {
  color: #fff;
  font-size: 15px;
}

.fx-desk-body {
  margin: 0 8px 8px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(8, 12, 28, 0.55);
}

.fx-who {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fx-who b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.fx-who span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.fx-who em {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.fx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.fx-tags i {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-style: normal;
}

.fx-win .fx-tags {
  margin: 0 0 12px;
}

.fx-win .fx-tags i {
  background: #eef0ff;
  color: var(--brand);
}

.fx-line {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.6;
}

.fx-line.is-qc {
  background: rgba(67, 72, 255, 0.28);
  color: #e8e9ff;
}

.fx-next {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
}

/* 九条痛点 */
.fx-pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fx-pain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 148px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.fx-pain b {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fx-pain h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.fx-pain i {
  display: none;
}

.fx-pain p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

/* 分析台：左侧进线 + 右侧产品窗 */
.fx-board-scene {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 36px;
  align-items: stretch;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background:
    radial-gradient(640px 280px at 8% 90%, rgba(67, 72, 255, 0.07), transparent 58%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  border: 1px solid #e4e9f6;
}

.fx-src {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 4px;
}

.fx-src h3 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.fx-src ol {
  display: grid;
  gap: 14px;
}

.fx-src li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fx-src-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #4348ff;
  background: #fff;
  border: 1px solid #e4e9f6;
  box-shadow: 0 8px 18px rgba(67, 72, 255, 0.08);
}

.fx-src-ico svg {
  width: 22px;
  height: 22px;
}

.fx-src li b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.fx-src {
  position: relative;
}

.fx-src::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 22px;
  height: 22px;
  border-right: 3px solid #7b8cff;
  border-top: 3px solid #7b8cff;
  transform: translateY(-50%) rotate(45deg);
}

.fx-wins {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.95fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.fx-win {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7ebf5;
  box-shadow: 0 10px 28px rgba(23, 35, 61, 0.05);
}

.fx-win.is-tall {
  grid-row: span 2;
}

.fx-win header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f7f8fc;
  border-bottom: 1px solid #eef1f7;
}

.fx-win header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8dde8;
}

.fx-win header i:nth-child(1) { background: #f9a8a8; }
.fx-win header i:nth-child(2) { background: #fde68a; }
.fx-win header i:nth-child(3) { background: #86efac; }

.fx-win header strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.fx-win header em {
  margin-left: auto;
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.fx-win-pad {
  padding: 14px;
}

.fx-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.fx-dots i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #e8ecf6;
}

.fx-dots i.is-on {
  background: linear-gradient(90deg, #4348ff, #b65bff);
}

.fx-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
}

.fx-check i {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #e8ecf6;
}

.fx-check.is-on i {
  background: #4348ff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='white' d='M4.6 8.4 2.4 6.2l-.8.8 3 3 6-6-.8-.8z'/></svg>") center / 10px 10px no-repeat;
}

.fx-check em {
  margin-left: auto;
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
}

.fx-statline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.fx-statline strong {
  color: var(--ink);
  font-size: 16px;
}

.fx-say-list {
  display: grid;
  gap: 0;
}

.fx-chip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f6fb;
  color: var(--ink);
  font-size: 12px;
}

.fx-chip em {
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
}

.fx-sum b,
.fx-win-pad > label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.fx-sum p {
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.fx-meter {
  display: grid;
  grid-template-columns: 1fr 72px 36px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.fx-meter i {
  height: 6px;
  border-radius: 99px;
  background: #e8ecf6;
  position: relative;
}

.fx-meter i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #4348ff, #b65bff);
}

.fx-meter em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.fx-miss {
  margin-top: 4px;
  color: #b45309;
  font-size: 12px;
}

.fx-say {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6fb;
  color: var(--ink);
  font-size: 12px;
  line-height: 20px;
}

.fx-say b {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
}

.fx-table {
  width: 100%;
  border-collapse: collapse;
}

.fx-table th,
.fx-table td {
  padding: 10px 12px;
  border-top: 1px solid #eef1f7;
  text-align: left;
  font-size: 12px;
  line-height: 18px;
  vertical-align: top;
}

.fx-table tr:first-child th,
.fx-table tr:first-child td { border-top: 0; }

.fx-table th {
  width: 52px;
  color: var(--muted);
  font-weight: 600;
}

.fx-table td { color: var(--ink); }

.fx-profile {
  display: grid;
  gap: 8px;
}

.fx-profile li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.fx-profile span {
  color: var(--muted);
  font-size: 12px;
}

.fx-pair {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}

.fx-win.is-live header {
  background: #eef0ff;
}

.fx-empty {
  margin: 6px 0 14px;
  color: #9aa3b8;
  font-size: 13px;
}

.fx-empty.is-box {
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6fb;
}

.fx-chat {
  padding: 14px 14px 0;
}

.fx-chat p {
  max-width: 86%;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
}

.fx-chat .is-him {
  background: #f4f6fb;
  color: var(--ink);
}

.fx-chat .is-me {
  margin-left: auto;
  color: #fff;
  background: #4348ff;
}

.fx-script-scene {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.fx-script-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.fx-script-list article {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f6fb;
}

.fx-script-list b {
  color: var(--brand);
  font-size: 13px;
}

.fx-script-list p {
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.fx-phone {
  padding: 16px 14px 18px;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.fx-phone-bar {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.fx-ph {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 18px;
}

.fx-ph.is-tip {
  color: #c4b5fd;
  background: rgba(255, 255, 255, 0.06);
}

.fx-ph.is-ai {
  color: #e8e9ff;
  background: rgba(67, 72, 255, 0.4);
}

.fx-ph.is-him {
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.08);
}

.fx-ph.is-me {
  color: #fff;
  background: #4348ff;
}

/* 音轨质检 */
.fx-qc {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.fx-qc-points {
  display: grid;
  gap: 18px;
}

.fx-qc-points h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.fx-qc-points p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.fx-track {
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(63, 67, 255, 0.08);
}

.fx-track-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.fx-track-bar strong {
  color: var(--ink);
  font-size: 14px;
}

.fx-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 72px;
  margin-bottom: 16px;
}

.fx-wave i {
  flex: 1;
  border-radius: 2px;
  background: #d9def5;
}

.fx-wave i.is-hit {
  background: linear-gradient(180deg, #4348ff, #b65bff);
}

.fx-bubbles {
  display: grid;
  gap: 8px;
}

.fx-bubbles p {
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef0ff;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.fx-bubbles p em {
  display: block;
  margin-bottom: 2px;
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
}

/* 销冠 */
.fx-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fx-card {
  padding: 28px 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.fx-card.is-hit {
  color: #fff;
  background: linear-gradient(150deg, #2a2f8f 0%, #4348ff 46%, #9a55ff 100%);
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(67, 72, 255, 0.24);
}

.fx-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.fx-card.is-hit span { color: #c4b5fd; }

.fx-card h3 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
}

.fx-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.fx-card.is-hit p { color: rgba(255, 255, 255, 0.82); }

.fx-scripts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.fx-scripts article {
  padding: 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.fx-scripts b {
  color: var(--brand);
  font-size: 13px;
}

.fx-scripts h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.fx-scripts p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
}

/* 测算 */
.fx-roi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fx-roi article {
  padding: 24px 20px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.fx-roi strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fx-roi h3 {
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.fx-roi p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
}

.fx-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
}

.fx-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.fx-board article {
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--soft);
}

.fx-board b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.fx-board p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.fx-intent {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.fx-leads {
  display: grid;
}

.fx-leads li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid #eef1f7;
}

.fx-leads li:first-child { border-top: 0; }

.fx-leads b {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.fx-leads span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.fx-leads em {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.fx-leads em.is-hot { color: #0f766e; background: #ccfbf1; }
.fx-leads em.is-risk { color: #9f1239; background: #ffe4e6; }
.fx-leads em.is-watch { color: #1d4ed8; background: #dbeafe; }

.fx-intent-vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.fx-intent-vals article {
  padding: 22px 20px;
  border-radius: 16px;
  background: #f4f6fb;
}

.fx-intent-vals b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.fx-intent-vals p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.fx-join {
  margin-top: 40px;
  padding: 28px 28px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.fx-join-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.fx-join-head h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}

.fx-join-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 26px;
}

.fx-join-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fx-join-board article {
  padding: 18px 16px;
  border-radius: 16px;
  background: #f4f6fb;
}

.fx-join-board b {
  display: block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.fx-join-board p {
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 22px;
}

.fx-join-out {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #eef0ff;
}

.fx-join-out strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.fx-join-out p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

/* 场景 */
.fx-scenes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.fx-scenes article {
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: #1b2244;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fx-scenes span {
  color: #9bb0ff;
  font-size: 13px;
  font-weight: 600;
}

.fx-scenes h3 {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
}

.fx-scenes p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 22px;
}

@media (max-width: 1100px) {
  .fx-pains,
  .fx-roi,
  .fx-scenes {
    grid-template-columns: 1fr 1fr;
  }
  .fx-board-scene,
  .fx-wins,
  .fx-pair,
  .fx-script-scene,
  .fx-intent,
  .fx-intent-vals,
  .fx-join-board {
    grid-template-columns: 1fr;
  }
  .fx-src::after { display: none; }
  .fx-src ol {
    grid-template-columns: repeat(4, 1fr);
  }
  .fx-src li { align-items: center; }
  .fx-win.is-tall { grid-row: auto; }
}

@media (max-width: 900px) {
  .fx-qc,
  .fx-board,
  .fx-pains,
  .fx-roi,
  .fx-scenes,
  .fx-src ol {
    grid-template-columns: 1fr;
  }
}
