/* fanren-opc.css — 凡人智商 Gate 标签与测评联动 */

.tag-gate.fanren-gate-tag {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #e9d5ff;
  font-size: 0.72rem;
  font-weight: 600;
}

.fanren-opc-strip {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.fanren-opc-strip--guest {
  border-color: rgba(148, 163, 184, 0.15);
}

.fanren-opc-strip-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 8px;
}

.fanren-gate-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.fanren-gate-filter-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  font-size: 0.72rem;
  cursor: pointer;
}
.fanren-gate-filter-btn.is-active {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.25);
  color: #e9d5ff;
}
.fanren-opc-eval { margin: 6px 0; font-size: 0.82rem; color: #cbd5e1; }
.fanren-opc-eval a { color: #a78bfa; }

.fanren-opc-strip-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 600;
}

.fanren-opc-strip-gates {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.fanren-opc-strip-task,
.fanren-opc-strip-picks {
  margin: 6px 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

.fanren-opc-strip .opc-gate-card {
  margin-top: 10px;
}

.fanren-opc-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.fanren-opc-link {
  font-size: 0.78rem;
  color: #93c5fd;
  text-decoration: none;
}

.fanren-opc-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.case-card.fanren-case--recommended {
  outline: 2px solid rgba(250, 204, 21, 0.55);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.15), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.case-card.fanren-case--recommended::before {
  content: '★ 测评推荐';
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.9);
  color: #1e1b4b;
  font-size: 0.68rem;
  font-weight: 700;
}

.case-card {
  position: relative;
}

.case-card.fanren-case--deep {
  animation: fanren-pulse 1.2s ease-in-out 2;
}

@keyframes fanren-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
  50% { box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.35); }
}

.btn-fanren-gate {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(129, 140, 248, 0.4) !important;
  color: #c7d2fe !important;
}
