/* Use the site's existing palette and cards for wallet profiles. */
:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--ink-300);
	padding-bottom: 0.75rem;
}

:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-tabs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.25rem 0.9rem;
	border: 1px solid var(--wp--preset--color--ink-300);
	border-radius: 999px;
	text-decoration: none;
}

:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-tabs a:hover,
:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-tabs a:focus-visible {
	border-color: var(--wp--preset--color--brand-500);
	outline: 2px solid var(--wp--preset--color--brand-500);
	outline-offset: 3px;
}

.lc-wallet-card img,
:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-profile__logo {
	flex: none;
	object-fit: contain;
	border-radius: 0.5rem;
	background: #fff;
}

:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-reviews {
	list-style: none;
	padding: 0;
}

:is(.lc-landing--wallet-profile, .lc-landing--exchanger-profile, .lc-landing--exchange-profile) .lc-review {
	border-bottom: 1px solid var(--wp--preset--color--ink-300);
	padding-block: 0.75rem;
}
.lc-landing--guide { max-width: 72ch; margin-inline: auto; }
.lc-landing--guide > nav[aria-label="Оглавление"] { margin-block: 2rem; padding: 1.25rem; border: 1px solid var(--wp--preset--color--ink-300); border-radius: 0.75rem; }
.lc-landing--guide > nav[aria-label="Оглавление"] h2 { margin-top: 0; }
.lc-landing--guide > nav[aria-label="Оглавление"] li { margin-block: 0.5rem; }
.lc-landing--guide .lc-btn { white-space: normal; text-align: center; }

.lc-review-sort { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem; }
.lc-review-sort a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.25rem 0.9rem; border: 1px solid var(--wp--preset--color--ink-300); border-radius: 999px; }
.lc-review-sort a[aria-current="true"], .lc-review-sort a:focus-visible { outline: 2px solid var(--wp--preset--color--brand-500); outline-offset: 3px; }
.lc-external-reviews { display: block; box-sizing: border-box; width: 100%; max-width: 760px; height: 600px; border: 1px solid var(--wp--preset--color--ink-300); border-radius: 0.5rem; background: #fff; }
.lc-landing--exchanger-profile .lc-links__card img { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: 0.5rem; background: #fff; }
.lc-landing--exchanger-profile .lc-table-wrap { max-width: 100%; overflow-x: auto; }
.lc-landing--exchanger-profile #fees .lc-table { min-width: 42rem; table-layout: auto; }
.lc-review-avatar { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-inline-end: 0.5rem; border-radius: 50%; background: var(--wp--preset--color--ink-300); }

/* Exchange wordmarks are wide: keep their proportions instead of a square tile. */
.lc-landing--exchange-profile .lc-profile__logo { width: auto; max-width: 220px; height: 48px; padding: 0; border-radius: 0; background: none; }
.lc-landing--exchange-profile details > summary { box-sizing: border-box; min-height: 44px; padding-block: 0.65rem; cursor: pointer; font-weight: 600; }

/* Analogue cards: equal-height columns, logo on top, text clamped so the grid stays even. */
.lc-landing--exchanger-profile #alternatives .lc-links__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0.75rem; }
.lc-landing--exchanger-profile #alternatives .lc-links__card { box-sizing: border-box; height: 100%; align-items: flex-start; gap: 0.85rem; padding: 1rem; }
.lc-landing--exchanger-profile #alternatives .lc-links__text { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; align-self: stretch; }
.lc-landing--exchanger-profile #alternatives .lc-links__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 0.875rem; line-height: 1.45; opacity: 0.75; }
.lc-landing--exchanger-profile #alternatives .lc-review-score { margin-top: auto; font-size: 0.8125rem; opacity: 0.75; }
.lc-landing--exchanger-profile .lc-links__logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 0.5rem; background: var(--wp--preset--color--ink-300); font-size: 1.25rem; font-weight: 700; }
