/* SEO pair pages — нейтральные стили, наследуют шрифт и цвета темы */
.rc {
    --rc-accent: #2563eb;
    --rc-accent-ink: #fff;
    --rc-up: #16a34a;
    --rc-down: #dc2626;
    --rc-border: rgba(127, 127, 127, .25);
    --rc-soft: rgba(127, 127, 127, .07);
    --rc-radius: 14px;
    line-height: 1.6;
}
.rc-container { max-width: 1140px; margin: 0 auto; padding: 24px 16px 48px; box-sizing: border-box; }
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }

.rc-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; opacity: .8; }
.rc-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.rc-crumbs a { color: inherit; }

.rc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; margin-bottom: 32px; }
.rc-hero__logos { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rc-arrow { font-size: 22px; opacity: .6; }
.rc-h1 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.rc-lead { margin: 0 0 8px; font-size: 17px; opacity: .9; }
.rc-updated { margin: 0; font-size: 13px; opacity: .7; }

.rc-logo { border-radius: 50%; object-fit: contain; flex: none; vertical-align: middle; }
.rc-logo--text { display: inline-flex; align-items: center; justify-content: center; background: var(--rc-soft); border: 1px solid var(--rc-border); font-size: 10px; font-weight: 700; }

.rc-calc { border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 18px; background: var(--rc-soft); }
.rc-calc__row { display: block; margin-bottom: 12px; }
.rc-calc__label { display: block; font-size: 13px; opacity: .75; margin-bottom: 4px; }
.rc-calc__field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rc-border); border-radius: 10px; padding: 8px 12px; background: rgba(255, 255, 255, .04); }
.rc-calc__field input, .rc-calc__field output { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 20px; font-weight: 600; color: inherit; outline: none; padding: 0; }
.rc-calc__cur { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.rc-calc__warn { margin: -4px 0 10px; font-size: 13px; color: var(--rc-down); }
.rc-calc__meta { margin: 0 0 14px; display: grid; gap: 4px; font-size: 14px; }
.rc-calc__meta div { display: flex; justify-content: space-between; gap: 12px; }
.rc-calc__meta dt { opacity: .75; }
.rc-calc__meta dd { margin: 0; text-align: right; font-weight: 600; }
.rc-btn { display: block; text-align: center; padding: 12px 16px; border-radius: 10px; background: var(--rc-accent); color: var(--rc-accent-ink) !important; font-weight: 700; text-decoration: none !important; }
.rc-btn:hover { filter: brightness(1.08); }
.rc-calc__note { margin: 10px 0 0; font-size: 12px; opacity: .65; }
.rc-calc__reverse { display: inline-block; margin-top: 8px; font-size: 14px; }

.rc-section { margin: 0 0 36px; }
.rc-section h2 { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.3; margin: 0 0 14px; }
.rc-section h3 { font-size: 18px; margin: 18px 0 8px; }
.rc-note { font-size: 13px; opacity: .7; margin: 8px 0 0; }
.rc-custom { margin-bottom: 12px; }

.rc-rate-big { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 18px; margin-bottom: 16px; }
.rc-rate-big span { opacity: .75; }

.rc-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rc-table-wrap h3 { margin-top: 0; font-size: 16px; }
.rc-table-scroll { overflow-x: auto; }
.rc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rc-table th, .rc-table td { padding: 8px 10px; border-bottom: 1px solid var(--rc-border); text-align: left; }
.rc-table th { font-size: 13px; opacity: .75; font-weight: 600; }
.rc-table td:last-child, .rc-table th:last-child { text-align: right; }
.rc-table--hub td:last-child, .rc-table--hub th:last-child { white-space: nowrap; }
.rc-table--hub a { display: inline-flex; align-items: center; gap: 8px; }

.rc-chart { border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 10px; }
.rc-spark { display: block; width: 100%; height: 180px; }
.rc-spark__line { stroke-width: 2; }
.rc-spark.is-up .rc-spark__line { stroke: var(--rc-up); }
.rc-spark.is-down .rc-spark__line { stroke: var(--rc-down); }
.rc-spark.is-up .rc-spark__area { fill: var(--rc-up); opacity: .1; }
.rc-spark.is-down .rc-spark__area { fill: var(--rc-down); opacity: .1; }

.rc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 0; }
.rc-stats div, .rc-card dl div { background: var(--rc-soft); border-radius: 10px; padding: 8px 12px; }
.rc-stats dt, .rc-card dt { font-size: 12px; opacity: .7; }
.rc-stats dd, .rc-card dd { margin: 0; font-weight: 700; }
.is-up { color: var(--rc-up); }
.is-down { color: var(--rc-down); }

.rc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rc-cards--single { grid-template-columns: minmax(0, 1fr); }
.rc-card { border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 16px; }
.rc-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rc-card__head span { opacity: .6; }
.rc-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }

.rc-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rc-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 52px; border: 1px solid var(--rc-border); border-radius: 12px; }
.rc-steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--rc-accent); color: var(--rc-accent-ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rc-checklist { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.rc-faq details { border: 1px solid var(--rc-border); border-radius: 12px; padding: 0 14px; margin-bottom: 8px; }
.rc-faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.rc-faq__a { padding: 0 0 12px; }

.rc-links { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rc-links a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--rc-border); border-radius: 10px; text-decoration: none; color: inherit; }
.rc-links a:hover { border-color: var(--rc-accent); }
.rc-links .rc-logo + .rc-logo { margin-left: -10px; }
.rc-links span { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-links small { opacity: .7; white-space: nowrap; }
.rc-hublinks a { display: inline-block; margin: 0 12px 8px 0; }
.rc-nets { padding-left: 20px; }

/* факты под заголовком */
.rc-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.rc-hero__facts div { background: var(--rc-soft); border: 1px solid var(--rc-border); border-radius: 10px; padding: 6px 12px; }
.rc-hero__facts dt { font-size: 12px; opacity: .7; }
.rc-hero__facts dd { margin: 0; font-weight: 700; }

/* зачем обменивать */
.rc-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rc-reasons li { border: 1px solid var(--rc-border); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.rc-reasons strong { font-size: 16px; }

/* вкладки графика (radio + CSS) */
.rc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-tabs { position: relative; }
/* input.класс — сильнее глобальных стилей тем вида input:not([type=submit]) { width:100% } */
.rc-tabs > input.rc-tabs__radio { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.rc-tabs__label { cursor: pointer; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--rc-border); font-size: 13px; }
.rc-tabs__radio:checked + .rc-tabs__label { background: var(--rc-accent); border-color: var(--rc-accent); color: var(--rc-accent-ink); }
.rc-tabs__radio:focus-visible + .rc-tabs__label { outline: 2px solid var(--rc-accent); outline-offset: 2px; }
.rc-tabs__panel { display: none; width: 100%; margin-top: 8px; }
.rc-tabs__radio:nth-of-type(1):checked ~ .rc-tabs__panel:nth-of-type(1),
.rc-tabs__radio:nth-of-type(2):checked ~ .rc-tabs__panel:nth-of-type(2),
.rc-tabs__radio:nth-of-type(3):checked ~ .rc-tabs__panel:nth-of-type(3) { display: block; }
.rc-chart__scale, .rc-chart__axis { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; opacity: .75; font-variant-numeric: tabular-nums; }
.rc-spark__grid { stroke: currentColor; opacity: .08; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rc-spark.is-up .rc-spark__dot { fill: var(--rc-up); }
.rc-spark.is-down .rc-spark__dot { fill: var(--rc-down); }

/* таблицы */
.rc-table { font-variant-numeric: tabular-nums; }
.rc-table--vol td, .rc-table--vol th, .rc-table--hist td, .rc-table--nets td { white-space: nowrap; }
.rc-table--vol td:not(:first-child), .rc-table--vol th:not(:first-child) { text-align: right; }
.rc-table--compare th[scope="row"], .rc-table--facts th[scope="row"] { font-weight: 600; opacity: .8; width: 40%; }
.rc-table--compare td:last-child, .rc-table--facts td:last-child,
.rc-table--compare thead th:last-child { text-align: left; }
.rc-table--nets tr.is-current td { font-weight: 600; }
.rc-table--nets small { opacity: .7; font-weight: 400; }

/* кнопки и CTA */
.rc-btn--inline { display: inline-block; }
.rc-btn--ghost { background: transparent; border: 1px solid var(--rc-accent); color: var(--rc-accent) !important; }
.rc-cta { margin-top: 16px; }
.rc-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 18px 20px; }
.rc-support h2 { margin: 0 0 4px; }
.rc-support p { margin: 0; }
.rc-articles__list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* хаб и каталоги */
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rc-chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rc-border); font-size: 13px; text-decoration: none; color: inherit; }
.rc-chip:hover { border-color: var(--rc-accent); }
.rc-coins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.rc-coins a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rc-border); border-radius: 12px; text-decoration: none; color: inherit; }
.rc-coins a:hover { border-color: var(--rc-accent); }
.rc-coins__name { flex: 1; min-width: 0; display: grid; }
.rc-coins__name small, .rc-coins__data small { opacity: .7; font-size: 12px; }
.rc-coins__data { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.rc-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.rc-pager a, .rc-pager span { padding: 4px 10px; border: 1px solid var(--rc-border); border-radius: 8px; text-decoration: none; color: inherit; }
.rc-pager span[aria-current] { background: var(--rc-accent); border-color: var(--rc-accent); color: var(--rc-accent-ink); }

/* Темы premiumbox: контент на всю ширину без сайдбара */
.rc-nosidebar .inner.premium-3-1 > .inner-content { grid-column: 1 / -1; }
.rc-nosidebar .inner.premium-3-1 > .aside { display: none; }

@media (max-width: 860px) {
    .rc-hero, .rc-tables, .rc-cards { grid-template-columns: minmax(0, 1fr); }
}

/* цифры калькулятора и курса не прыгают при обновлении */
.rc-calc__field input, .rc-calc__field output, .js-rc-rate, .js-rc-rate-rev, .rc-calc__meta dd { font-variant-numeric: tabular-nums; }
.rc-links--compact { margin-top: 12px; }
.rc-links--compact a { padding: 6px 10px; font-size: 14px; }

/* халвинг: обратный отсчёт и прогресс эпохи */
.rc-countdown { display: flex; flex-direction: column; gap: 4px; margin: 16px 0; }
.rc-countdown__label { font-size: 13px; opacity: .75; }
.rc-countdown__value { font-size: 30px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-progress { height: 8px; border-radius: 99px; background: var(--rc-border); overflow: hidden; margin-top: 16px; }
.rc-progress span { display: block; height: 100%; background: var(--rc-accent); border-radius: inherit; }

/* сравнение монет: две линии на одном графике */
.rc-cmp-line { stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.rc-cmp-line--a { stroke: var(--rc-accent); }
.rc-cmp-line--b { stroke: #f59e0b; }
.rc-cmp-legend { display: flex; gap: 16px; font-size: 13px; margin-bottom: 8px; }
.rc-cmp-legend span::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.rc-cmp-legend--a::before { background: var(--rc-accent); }
.rc-cmp-legend--b::before { background: #f59e0b; }

/* Прогноз цены: график с веером сценариев и панель расчёта */
.rc-fc__top { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; margin: 0 0 18px; }
.rc-fc__chart { flex: 1 1 420px; min-width: 0; }
.rc-fc__chart svg { width: 100%; height: 300px; display: block; }
.rc-fc-grid { stroke: currentColor; opacity: .12; stroke-width: 1; }
.rc-fc-tick { fill: currentColor; opacity: .6; font-size: 11px; }
.rc-fc-band { fill: var(--rc-accent, #12b3a8); opacity: .14; }
.rc-fc-hist { fill: none; stroke: currentColor; opacity: .75; stroke-width: 2; }
.rc-fc-center { stroke: var(--rc-accent, #12b3a8); stroke-width: 1.5; stroke-dasharray: 5 4; }
.rc-fc-now { stroke: currentColor; opacity: .25; stroke-width: 1; }
.rc-fc-own { fill: none; stroke: #f59e0b; stroke-width: 2.5; }
.rc-fc__panel { flex: 0 1 300px; display: flex; flex-direction: column; gap: 10px; }
.rc-fc__card { border: 1px solid rgba(128, 128, 128, .22); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.rc-fc__label { font-size: 13px; opacity: .7; }
.rc-fc__stepper { display: flex; align-items: center; gap: 8px; }
.rc-fc__stepper button { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; border: 1px solid rgba(128, 128, 128, .3); background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.rc-fc__stepper button:hover { border-color: var(--rc-accent, #12b3a8); }
.rc-fc .rc-fc__stepper input[type=number] { width: 100%; min-width: 0; height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(128, 128, 128, .3); background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: center; }
.rc-fc__unit { opacity: .7; }
.rc-fc input[type=range].js-rc-fc-range { width: 100%; height: auto; accent-color: var(--rc-accent, #12b3a8); }
.rc-fc__presets { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-fc__presets button { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(128, 128, 128, .3); background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.rc-fc__presets button.is-on, .rc-fc__presets button:hover { border-color: var(--rc-accent, #12b3a8); }
.rc-fc__card--result .rc-fc__big { font-size: 26px; font-weight: 700; line-height: 1.1; }
.rc-fc__card--result .rc-fc__mid { font-size: 18px; font-weight: 600; }
.rc-fc__delta { font-size: 14px; font-weight: 600; }
.rc-fc__delta.is-up { color: #16a34a; }
.rc-fc__delta.is-down { color: #dc2626; }
.rc-fc__res { margin: 10px 0 0; font-weight: 600; }
.rc-fc__cta { display: inline-block; margin-top: 4px; }
@media (max-width: 720px) {
    .rc-fc__panel { flex: 1 1 100%; }
    .rc-fc__chart svg { height: 240px; }
}

/* Конвертер: два поля и две таблицы сумм */
.rc-cv { border: 1px solid rgba(128, 128, 128, .22); border-radius: 12px; padding: 14px 16px; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.rc-cv__row { display: block; }
.rc-cv__field { display: flex; align-items: stretch; border: 1px solid rgba(128, 128, 128, .3); border-radius: 10px; overflow: hidden; }
.rc-cv .rc-cv__field input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; outline: none; }
.rc-cv__cur { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-left: 1px solid rgba(128, 128, 128, .3); font-weight: 600; white-space: nowrap; }
.rc-cv__fiat { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--rc-accent); color: var(--rc-accent-ink); font-size: 12px; font-weight: 700; line-height: 1; }
.rc-cv__rate { margin: 0; font-size: 13px; opacity: .7; text-align: center; }
/* значок «поменять местами» между полями */
.rc-calc__swap, .rc-cv__swap { display: flex; justify-content: center; align-items: center; width: 32px; height: 28px; margin: -2px auto 2px; color: var(--rc-accent) !important; text-decoration: none !important; }
.rc-calc__swap svg, .rc-cv__swap svg { width: 22px; height: 22px; }
a.rc-calc__swap:hover { filter: brightness(1.15); }
.rc-calc__meta { margin: 12px 0 0; }
.rc-cols { display: flex; gap: 16px; flex-wrap: wrap; }
.rc-cols > * { flex: 1 1 260px; min-width: 0; }
.rc-links--compact li a small { opacity: .7; margin-left: auto; font-variant-numeric: tabular-nums; }
/* Калькулятор доходности: панель в шапке страницы */
.rc-pf { flex: 0 1 300px; align-self: start; border: 1px solid rgba(128, 128, 128, .22); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.rc-pf__row { display: block; }
.rc-pf__field { display: flex; align-items: stretch; border: 1px solid rgba(128, 128, 128, .3); border-radius: 10px; overflow: hidden; }
.rc-pf .rc-pf__field input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; outline: none; }
.rc-pf__total { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; height: 44px; padding: 0 12px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.rc-pf__cur { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-left: 1px solid rgba(128, 128, 128, .3); font-weight: 600; white-space: nowrap; }
.rc-pf__arrow { display: flex; justify-content: center; align-items: center; height: 28px; color: var(--rc-accent); }
.rc-pf__arrow svg { width: 22px; height: 22px; }
.rc-pf .rc-note { margin: 0; font-size: 13px; opacity: .7; text-align: center; }
@media (max-width: 860px) { .rc-pf { flex: 1 1 100%; } }

/* Словарь: буквенный указатель и список терминов */
.rc-gl__letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.rc-gl__letters a { display: inline-block; min-width: 30px; padding: 4px 8px; border: 1px solid rgba(128, 128, 128, .25); border-radius: 8px; text-align: center; text-decoration: none; font-weight: 600; }
.rc-gl__letters a:hover { border-color: var(--rc-accent, #12b3a8); }
.rc-gl { margin: 0; }
.rc-gl .rc-gl__letter { margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(128, 128, 128, .25); font-size: 20px; font-weight: 700; opacity: .55; scroll-margin-top: 80px; }
.rc-gl .rc-gl__letter:first-child { margin-top: 0; }
.rc-gl .rc-gl__term { margin: 16px 0 4px; font-weight: 700; scroll-margin-top: 80px; }
.rc-gl .rc-gl__def { margin: 0; max-width: 68ch; opacity: .9; }
