.onc-disclosure { margin: 0 0 16px; font-size: 13px; line-height: 20px; color: #5b6878; }
.onc-empty { padding: 16px 20px; border: 1px solid #dde3ea; border-radius: 16px; background: #fff; }
.onc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.onc-unknown { color: #5b6878; }

/* Логотип: круг, главный визуальный якорь карточки */
.onc-logo { display: block; flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #0b1220; }
.onc-logo-empty { display: grid; place-items: center; background: hsl(var(--h, 215) 62% 26%); color: #fff; font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.onc-logo-sm { width: 40px; height: 40px; font-size: 14px; }

/* Оценка */
.onc-score { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 500; }
.onc-score b { padding: 3px 9px; border-radius: 8px; color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.onc-score-excellent b, .onc-score-very-good b { background: #12805c; }
.onc-score-fair b, .onc-score-caution b { background: #975a16; }
.onc-score-avoid b { background: #c53030; }
.onc-score-none { color: #5b6878; }

/* Кнопки */
.onc-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 20px; text-align: center; text-decoration: none; white-space: nowrap; }
.onc-btn:focus-visible, .onc-code:focus-visible { outline: 2px solid #1d5fd1; outline-offset: 2px; }
.onc-btn-go { background: #22c55e; color: #0b1220; box-shadow: 0 2px 10px rgba(34, 197, 94, .35); }
.onc-btn-go:hover { background: #16b352; }
.onc-btn-review { border: 1px solid #cfd7e1; background: #fff; color: #0b1220; font-weight: 600; }
.onc-btn-review:hover { border-color: #5b6878; }

/* Промокод с копированием */
.onc-code { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 36px; padding: 0 12px; border: 1.5px dashed #12805c; border-radius: 999px; background: #eefaf3; color: #0b1220; font: 600 13px/18px ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; }
.onc-code:hover { background: #dcf5e6; }
.onc-code svg { flex: none; }

/* Карточки рейтинга */
.onc-cards-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.onc-card-list { display: grid; gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.onc-card { position: relative; border: 1px solid #dde3ea; border-radius: 20px; background: #fff; color: #0b1220; box-shadow: 0 1px 3px rgba(11, 18, 32, .04); transition: box-shadow .15s, border-color .15s; }
.onc-card:hover { border-color: #cfd7e1; box-shadow: 0 8px 24px rgba(11, 18, 32, .08); }
.onc-card-top { display: grid; grid-template-columns: 96px minmax(170px, 1fr) minmax(200px, 1.25fr) minmax(190px, 1.1fr) 170px; gap: 20px; align-items: center; padding: 20px 24px; }
.onc-card-logo { position: relative; display: block; width: 88px; text-decoration: none; }
.onc-rank { position: absolute; top: -6px; left: -6px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: #f7931a; color: #0b1220; font-size: 14px; font-weight: 800; }
.onc-card-id { min-width: 0; display: grid; gap: 6px; justify-items: start; }
.onc-card-name { color: #0b1220; font-size: 19px; line-height: 24px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.onc-card-name:hover { text-decoration: underline; }
.onc-card-date { font-size: 13px; line-height: 18px; color: #5b6878; }
.onc-card-offer { min-width: 0; }
.onc-bonus { margin: 0 0 4px; color: #0f8a48; font-size: 20px; line-height: 26px; font-weight: 700; }
.onc-bonus-none { color: #5b6878; font-size: 15px; line-height: 22px; font-weight: 500; }
.onc-terms { margin: 0; font-size: 13px; line-height: 18px; color: #5b6878; }
.onc-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.onc-checks li { display: flex; gap: 8px; align-items: flex-start; }
.onc-check, .onc-dash { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; color: #fff; }
.onc-check { background: #12805c; }
.onc-dash { background: #9aa6b4; }
.onc-card-actions { display: grid; gap: 8px; }
.onc-more { border-top: 1px solid #eef1f5; }
.onc-more summary { padding: 10px 24px; font-size: 14px; line-height: 20px; font-weight: 600; color: #3a4757; cursor: pointer; }
.onc-more summary:hover { color: #0b1220; }
.onc-more dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; margin: 0; padding: 4px 24px 18px; }
.onc-more dt { font-size: 13px; line-height: 18px; color: #5b6878; }
.onc-more dd { margin: 2px 0 0; font-size: 14px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }

/* Таблицы */
.onc-table-wrap { position: relative; overflow-x: auto; margin: 0 0 32px; border: 1px solid #dde3ea; border-radius: 16px; background: #fff; }
.onc-table-wrap:focus-visible { outline: 2px solid #1d5fd1; outline-offset: 2px; }
.onc-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 20px; color: #0b1220; font-variant-numeric: tabular-nums; }
.onc-table caption { padding: 16px 16px 8px; text-align: left; font-weight: 700; font-size: 17px; }
.onc-table th, .onc-table td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid #eef1f5; }
.onc-table thead th { font-size: 13px; font-weight: 600; color: #5b6878; white-space: nowrap; background: #f7f9fb; }
.onc-table tbody tr:last-child > * { border-bottom: 0; }
.onc-table tbody tr:hover > * { background: #fafbfc; }
.onc-table tbody th { min-width: 180px; font-weight: 700; }
.onc-table tbody th a { display: flex; align-items: center; gap: 12px; color: #0b1220; text-decoration: none; overflow-wrap: anywhere; }
.onc-table tbody th a:hover { text-decoration: underline; }
.onc-table .onc-c-bonus { color: #0f8a48; font-weight: 700; }
.onc-table .onc-c-bonus .onc-unknown { font-weight: 400; }
.onc-table td.onc-c-rank { width: 44px; font-weight: 800; color: #5b6878; }
.onc-table td.onc-c-action { width: 1%; }
.onc-table td.onc-c-action .onc-btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.onc-table td.onc-c-action .onc-btn + .onc-btn { margin-top: 6px; }
.onc-table td.onc-c-code .onc-code { width: auto; }

@media (max-width: 1180px) {
	.onc-card-top { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 170px; grid-template-areas: "logo id offer actions" "logo checks checks actions"; }
	.onc-card-logo { grid-area: logo; align-self: start; }
	.onc-card-id { grid-area: id; }
	.onc-card-offer { grid-area: offer; }
	.onc-checks { grid-area: checks; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.onc-card-actions { grid-area: actions; }
}

@media (max-width: 760px) {
	.onc-card-top { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "logo id" "offer offer" "checks checks" "actions actions"; gap: 14px; padding: 16px; }
	.onc-card-logo { width: 72px; }
	.onc-card-logo .onc-logo { width: 72px; height: 72px; font-size: 24px; }
	.onc-rank { width: 26px; height: 26px; font-size: 13px; }
	.onc-card-offer { padding: 12px; border-radius: 12px; background: #f1fbf5; }
	.onc-checks { grid-template-columns: minmax(0, 1fr); }
	.onc-more summary { padding: 10px 16px; }
	.onc-more dl { padding: 4px 16px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
