/* 推荐算法、红娘、内容管理 —— 由 index.html 拆分而来，加载顺序见 index.html */
.algo-hero {
  min-height:156px;
  border:1px solid rgba(124,58,237,.28);
  border-radius:8px;
  padding:28px 30px;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:
    linear-gradient(135deg, rgba(124,58,237,.22), rgba(14,18,28,.96) 48%, rgba(45,216,122,.10)),
    var(--card-bg);
  box-shadow:0 20px 58px rgba(0,0,0,.24);
}
.algo-title {
  font-size:26px;
  font-weight:950;
  letter-spacing:0;
  margin-bottom:10px;
}
.algo-sub {
  max-width:760px;
  color:var(--text2);
  line-height:1.8;
  font-size:14px;
}
.algo-grid {
  display:grid;
  grid-template-columns:1.15fr .95fr .9fr;
  gap:16px;
}
.algo-panel {
  border:1px solid var(--border);
  border-radius:8px;
  background:linear-gradient(145deg, rgba(25,29,42,.96), rgba(14,18,28,.96));
  padding:18px;
  min-width:0;
}
.algo-panel-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.algo-panel-title {
  font-size:16px;
  font-weight:900;
}
.algo-panel-sub {
  color:var(--text2);
  font-size:12px;
  margin-top:5px;
  line-height:1.6;
}
.algo-total {
  min-width:56px;
  height:40px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#C4B5FD;
  background:rgba(124,58,237,.15);
  border:1px solid rgba(124,58,237,.25);
  font-weight:950;
}
.algo-row {
  display:grid;
  grid-template-columns:128px minmax(0,1fr) 72px;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.algo-row:first-child { border-top:0; }
.algo-row-label {
  font-weight:850;
  font-size:13px;
}
.algo-row-sub {
  color:var(--text2);
  font-size:11px;
  margin-top:3px;
  line-height:1.5;
}
.algo-range {
  appearance:none;
  width:100%;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  outline:0;
}
.algo-range::-webkit-slider-thumb {
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#8B5CF6;
  border:3px solid #D8B4FE;
  box-shadow:0 0 0 4px rgba(124,58,237,.18);
}
.algo-number {
  width:72px;
  min-height:36px;
  border:1px solid var(--border);
  border-radius:8px;
  background:rgba(255,255,255,.055);
  color:var(--text);
  text-align:center;
  font-weight:900;
  box-sizing:border-box;
}
.algo-tag-cloud {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.algo-tag {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:8px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.07);
  color:#E6E7EF;
  font-size:12px;
  font-weight:850;
}
.algo-tag b {
  color:#35D989;
  font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
}
.algo-explain-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.algo-explain-card {
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  padding:14px;
  background:rgba(255,255,255,.03);
  min-height:112px;
}
.algo-explain-name {
  font-weight:900;
  margin-bottom:8px;
}
.algo-explain-score {
  color:#C4B5FD;
  font-size:22px;
  font-weight:950;
  margin-bottom:8px;
}
.algo-explain-text {
  color:var(--text2);
  font-size:12px;
  line-height:1.6;
}
.algo-formula {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.algo-formula-line {
  min-height:76px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  padding:13px 14px;
  background:rgba(255,255,255,.03);
  color:#E6E7EF;
  line-height:1.7;
  font-size:13px;
  font-weight:800;
}
.matchmaker-follow-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding:18px;
  border-bottom:1px solid var(--border);
}
.matchmaker-follow-stat {
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  padding:16px;
  background:rgba(255,255,255,.035);
}
.matchmaker-follow-stat .value {
  font-size:24px;
  font-weight:950;
  margin-bottom:5px;
}
.matchmaker-follow-stat .label {
  color:var(--text2);
  font-size:12px;
}
.matchmaker-follow-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:18px;
}
.matchmaker-follow-card {
  border:1px solid var(--border);
  border-radius:8px;
  background:linear-gradient(145deg, rgba(25,29,42,.96), rgba(14,18,28,.96));
  padding:16px;
}
.matchmaker-follow-head {
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:12px;
  align-items:center;
  margin-bottom:14px;
}
.matchmaker-follow-name {
  font-weight:900;
  font-size:15px;
}
.matchmaker-follow-meta {
  margin-top:4px;
  color:var(--text2);
  font-size:12px;
}
.matchmaker-score-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0;
}
.matchmaker-score-box {
  border:1px solid rgba(255,255,255,.06);
  border-radius:8px;
  padding:10px;
  background:rgba(255,255,255,.03);
}
.matchmaker-score-box b {
  display:block;
  font-size:20px;
  color:#C4B5FD;
  margin-bottom:4px;
}
.matchmaker-score-box span {
  color:var(--text2);
  font-size:12px;
}
.matchmaker-review-card {
  border:1px solid rgba(124,58,237,.22);
  background:linear-gradient(145deg, rgba(124,58,237,.10), rgba(255,255,255,.025));
}
.matchmaker-form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.matchmaker-form-field label {
  display:block;
  color:var(--text2);
  font-size:12px;
  margin-bottom:6px;
}
.matchmaker-form-field input,
.matchmaker-form-field select,
.matchmaker-form-field textarea {
  width:100%;
  min-height:38px;
  border:1px solid var(--border);
  border-radius:8px;
  background:rgba(255,255,255,.055);
  color:var(--text);
  padding:0 10px;
  box-sizing:border-box;
  font-family:inherit;
}
.matchmaker-form-field textarea {
  min-height:72px;
  padding:10px;
  resize:vertical;
}
.matchmaker-form-field.wide { grid-column:1 / -1; }
.content-post-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding:18px;
  border-bottom:1px solid var(--border);
}
.content-post-stat {
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  padding:16px;
  background:rgba(255,255,255,.035);
}
.content-post-stat .value {
  font-size:24px;
  font-weight:950;
  margin-bottom:5px;
}
.content-post-stat .label {
  color:var(--text2);
  font-size:12px;
}
.content-post-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:18px;
}
.content-post-card {
  border:1px solid var(--border);
  border-radius:8px;
  background:linear-gradient(145deg, rgba(25,29,42,.96), rgba(14,18,28,.96));
  padding:18px;
}
.content-post-head {
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:12px;
  align-items:center;
  margin-bottom:14px;
}
.content-post-name {
  font-size:15px;
  font-weight:900;
}
.content-post-meta {
  color:var(--text2);
  font-size:12px;
  margin-top:4px;
}
.content-post-text {
  min-height:58px;
  color:#E6E7EF;
  line-height:1.8;
  font-size:14px;
  white-space:pre-wrap;
}
.content-post-images {
  display:grid;
  grid-template-columns:repeat(5,64px);
  gap:8px;
  margin-top:12px;
}
.content-post-images img {
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.07);
}
.content-post-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:14px;
}
.content-post-actions .input-sm {
  height:34px;
}
.content-comment-box {
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
  padding-top:12px;
}
.content-comment-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.045);
}
.content-comment-row:last-child { border-bottom:0; }
.content-comment-text {
  color:#D9DCE8;
  line-height:1.6;
  font-size:13px;
}
.content-comment-name {
  color:#C4B5FD;
  font-weight:850;
}
.content-add-comment {
  display:grid;
  grid-template-columns:100px 1fr auto;
  gap:8px;
  margin-top:12px;
}
