/* RevShare income calculator for partners (/calculator): the parts on top of public/css/of-calc.css. */
.rsc-creator { margin: 12px 0 0; font-size: 15px; color: #5e718d; }
.rsc-creator a { color: #4791ff; text-decoration: underline; text-underline-offset: 3px; }
.rsc-creator a:hover { color: #2f7ceb; }

/* live offers that fill in the revenue per fan and the share */
.rsc-offers { padding-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.rsc-offers__hint { margin: 4px 0 12px; }
.rsc-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rsc-chip { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 8px 10px; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.rsc-chip:hover { border-color: rgba(71, 145, 255, .5); }
.rsc-chip:focus-visible { outline: none; border-color: #4791ff; box-shadow: 0 0 0 3px rgba(71, 145, 255, .2); }
.rsc-chip[aria-pressed="true"] { border-color: #4791ff; background: #f5f9ff; box-shadow: 0 0 0 3px rgba(71, 145, 255, .15); }
.rsc-chip img { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #edf4ff; }
.rsc-chip__text { display: block; min-width: 0; }
.rsc-chip__text b { display: block; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; color: #0a2540; white-space: nowrap; text-overflow: ellipsis; }
.rsc-chip__text span { display: block; overflow: hidden; margin-top: 2px; font-size: 12px; line-height: 1.3; color: #5e718d; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* twelve months inside the result card: they take the height left, this month's new fans on top of the earlier ones */
.rsc-months { display: flex; flex-direction: column; flex: 1 1 0; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.rsc-bars { flex: 1 1 0; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; height: auto; min-height: 150px; margin-top: 14px; }
.ofc-seg--old { background: rgba(143, 188, 255, .35); }
.rsc-bars .ofc-bar em { color: rgba(255, 255, 255, .45); }
.rsc-months .ofc-key { color: rgba(255, 255, 255, .65); }

@media (max-width: 1199px) {
    .rsc-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .rsc-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .rsc-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* phones keep three columns of the examples: clicks, the monthly income and the first year */
@media (max-width: 575px) {
    .rsc-wide { display: none; }
}
