/* Competitors table: "Why it's a rival" line and the net revenue waterfall. Reuses the app's colours; nothing global. */

/* one quiet line under the game; click to read it in full with the signals */
.rv-why { margin: 6px 0 0 104px; font-size: 12px; line-height: 16px; color: var(--muted); max-width: 520px; }
.rv-why summary { list-style: none; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-why summary::-webkit-details-marker { display: none; }
.rv-why summary span { color: var(--faint); }
.rv-why summary:hover { color: var(--text); }
.rv-why[open] summary { white-space: normal; }
.rv-why ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--faint); }
.rv-why li::before { content: "· "; }

/* net revenue: the figure, with the steps from list price underneath when opened */
.rv-wf summary { list-style: none; cursor: pointer; white-space: nowrap; text-decoration: underline dotted var(--faint); text-underline-offset: 3px; }
.rv-wf summary::-webkit-details-marker { display: none; }
.rv-wf dl { margin: 8px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule); width: 280px; text-align: left; font-size: 12px; line-height: 16px; }
.rv-wf dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 0 0 8px; }
.rv-wf dt { color: var(--text); }
.rv-wf dd { margin: 0; font-variant-numeric: tabular-nums; }
.rv-wf dd.rv-n { grid-column: 1 / -1; color: var(--muted); }
.rv-wf dl > div:last-child dt, .rv-wf dl > div:last-child dd:not(.rv-n) { font-weight: 600; }

@media (max-width: 700px) {
  .rv-why { margin-left: 84px; }
  .rv-wf dl { width: auto; max-width: 280px; }
}
@media print {
  .rv-why ul { display: none; }
}
