/* Rival communities: complaint -> fix table and compact rival rows */
.cx-talk { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cx-th, .cx-row { display: grid; grid-template-columns: minmax(0, 1.15fr) 36px minmax(0, 1fr); align-items: stretch; }
.cx-th { background: var(--raised); font: 600 11px/1 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cx-th span { padding: 12px 16px; }
.cx-row { border-top: 1px solid var(--border); transition: background-color .16s ease; }
.cx-row:hover { background: color-mix(in oklab, var(--raised) 60%, transparent); }
.cx-say { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cx-say b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.cx-say p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cx-ev { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 2px; font-size: 12.5px; }
.cx-ev a { color: var(--accent-ink, var(--accent)); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.cx-ev a span { color: var(--faint); }
.cx-chip { height: 20px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--raised); color: var(--muted); font: 500 11.5px/1 var(--mono, monospace); }
.cx-arrow { display: grid; place-items: center; color: var(--accent); }
.cx-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-do { padding: 14px 16px 14px 18px; background: color-mix(in oklab, var(--pos-bg) 70%, transparent); border-left: 3px solid var(--positive); display: flex; align-items: center; }
.cx-do p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.cx-rivals { display: grid; gap: 0; }
details.row.cx-rival summary { grid-template-columns: 92px minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 14px; gap: 16px; align-items: center; padding: 10px 6px; }
.cx-cap { width: 92px; height: 35px; border-radius: 6px; background: var(--raised) center/cover no-repeat; }
.cx-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-name span { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-nets { display: flex; flex-wrap: wrap; gap: 5px; }
.cx-net { height: 24px; min-width: 30px; padding: 0 7px; border-radius: 7px; display: inline-grid; place-items: center; font: 600 11px/1 var(--mono, monospace); color: var(--muted); background: var(--raised); border: 1px solid var(--border); text-decoration: none; transition: color .16s ease, border-color .16s ease; }
.cx-net:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.cx-net.n-discord { color: #7983f5; } .cx-net.n-youtube { color: #e5484d; } .cx-net.n-reddit { color: #ff6a33; } .cx-net.n-twitch { color: #a970ff; }
.cx-hot { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-hott { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-det { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: 4px 6px 16px 114px; }
.cx-topics { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; }
.cx-topics li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.cx-topics li span { color: var(--faint); font-family: var(--mono, monospace); font-size: 12px; }
.cx-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 14px; font-size: 13.5px; }
@media (max-width: 900px) {
  .cx-th { display: none; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-arrow { display: none; }
  .cx-do { border-left: 0; border-top: 3px solid var(--positive); }
  details.row.cx-rival summary { grid-template-columns: 72px minmax(0, 1fr) 14px; }
  .cx-cap { width: 72px; height: 27px; }
  .cx-nets, .cx-hot { grid-column: 1 / -1; }
  .cx-det { grid-template-columns: 1fr; padding-left: 6px; }
}
