/* Listing Live — пульс, сцены, AI-чипы, рынок */

.pch-card-pulse {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 6px 0 8px;
	font-size: 12px;
	color: #5b6472;
	line-height: 1.3;
}

.pch-card-pulse__response {
	color: #374151;
}

.pch-card-pulse__spark {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0f766e;
}

.pch-spark {
	display: inline-block;
	vertical-align: middle;
	opacity: 0.85;
}

.pch-card-pulse__views {
	font-size: 11px;
	color: #6b7280;
	white-space: nowrap;
}

/* Between-card scenes */
.pch-listing-scene {
	margin: 16px 0;
	padding: 18px 20px;
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0.9)),
		#f8fafb;
	border: 1px solid #e5e7eb;
}

.pch-listing-scene__eyebrow {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0f766e;
	font-weight: 700;
	margin-bottom: 6px;
}

.pch-listing-scene__title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 12px;
}

.pch-listing-scene__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
}

.pch-listing-scene__value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #0f766e;
	line-height: 1.1;
}

.pch-listing-scene__hint {
	font-size: 12px;
	color: #6b7280;
}

.pch-listing-scene__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: #9ca3af;
}

.pch-listing-scene__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pch-listing-scene__list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0;
	border-top: 1px solid #e5e7eb;
}

.pch-listing-scene__list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.pch-listing-scene__list a {
	font-weight: 600;
	color: #111827;
	text-decoration: none;
}

.pch-listing-scene__list a:hover {
	color: #0f766e;
}

.pch-listing-scene__list span {
	font-size: 12px;
	color: #6b7280;
}

.pch-listing-scene__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 640px) {
	.pch-listing-scene__cols {
		grid-template-columns: 1fr;
	}
}

.pch-listing-scene__col {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pch-listing-scene__col-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #9ca3af;
	font-weight: 700;
}

.pch-listing-scene__col a {
	font-weight: 600;
	color: #111827;
	text-decoration: none;
}

.pch-listing-scene__col span {
	font-size: 12px;
	color: #6b7280;
}

/* AI chips */
.pch-ai-chips {
	margin: 0 0 14px;
}

.pch-ai-chips__label {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.pch-ai-chips__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pch-ai-chip {
	appearance: none;
	border: 1px solid #99f6e4;
	background: #ecfdf5;
	color: #115e59;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.pch-ai-chip:hover {
	background: #ccfbf1;
	border-color: #5eead4;
}

.pch-ai-chip.is-active {
	background: #0f766e;
	border-color: #0f766e;
	color: #fff;
}

/* Sticky compare strip enrichment */
.pch-compare-strip-meta {
	display: block;
	font-size: 11px;
	color: #6b7280;
	margin-top: 2px;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.desktop-comparisons-bar .pch-compare-live-hint {
	font-size: 12px;
	color: #6b7280;
	margin-right: 8px;
}

/* Market bottom */
.pch-listing-market {
	margin: 28px 0 8px;
	padding: 0 0 8px;
	width: 100%;
}

.pch-market-block {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px 20px;
	margin-bottom: 14px;
}

.pch-market-block__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.pch-market-block__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}

.pch-market-block__link {
	font-size: 13px;
	font-weight: 600;
	color: #0f766e;
	text-decoration: none;
}

.pch-market-orders__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pch-market-orders__list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0;
	border-top: 1px solid #f3f4f6;
}

.pch-market-orders__list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.pch-market-orders__list a {
	color: #111827;
	font-weight: 600;
	text-decoration: none;
}

.pch-market-orders__list a:hover {
	color: #0f766e;
}

.pch-market-orders__meta {
	font-size: 12px;
	color: #9ca3af;
}

.pch-market-asks__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pch-market-ask {
	appearance: none;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: #1f2937;
	font-size: 13px;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
}

.pch-market-ask:hover {
	border-color: #99f6e4;
	background: #ecfdf5;
}

/* Scene CTAs */
.pch-listing-scene__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 12px;
}

.pch-listing-scene__cta {
	appearance: none;
	display: inline-flex;
	align-items: center;
	border: 1px solid #99f6e4;
	background: #ecfdf5;
	color: #115e59;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
}

.pch-listing-scene__cta:hover {
	background: #ccfbf1;
	color: #115e59;
	text-decoration: none;
}

.pch-listing-scene__cta--muted {
	background: #fff;
	border-color: #e5e7eb;
	color: #6b7280;
}

/* Card highlight after refine */
.card-item-ver-3.pch-card-highlight {
	outline: 2px solid #0f766e;
	outline-offset: 2px;
	border-radius: 12px;
	transition: outline-color 0.2s;
}

/* Sticky assist */
.pch-listing-assist {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 16px;
	z-index: 90;
	pointer-events: none;
	padding: 0 12px;
}

.pch-listing-assist[hidden] {
	display: none !important;
}

.pch-listing-assist__inner {
	pointer-events: auto;
	max-width: 920px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.pch-listing-assist__label {
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pch-listing-assist__btn {
	appearance: none;
	border: 1px solid #99f6e4;
	background: #ecfdf5;
	color: #115e59;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
}

.pch-listing-assist__btn:hover {
	background: #ccfbf1;
}

.pch-listing-assist__btn--muted {
	background: #fff;
	border-color: #e5e7eb;
	color: #6b7280;
}

.pch-listing-assist__close {
	appearance: none;
	margin-left: auto;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

@media (max-width: 640px) {
	.pch-listing-assist {
		bottom: 10px;
	}
	.pch-listing-assist__inner {
		padding: 10px 12px;
	}
	.pch-listing-assist__label {
		width: 100%;
	}
}
