/* 羊毛卡片样式 —— 列表页（Sheep.razor）和详情页的「其它羊毛」推荐共用。
 *
 * 为什么单独抽成一个文件：这些规则原先只写在 Sheep.razor 的 <style> 里，
 * 而组件的 <style> 只有在它自己被渲染时才会注入页面。详情页不会渲染 Sheep 组件，
 * 所以那边的卡片一直是裸的（徽章变成整条横幅、没有封面渐变）。
 * 放到 wwwroot 由 App.razor 全局引入，两边就都能吃到同一套样式，也不用复制两份。
 */

/* ---------- 卡片外壳 ---------- */
.sheep-card.ant-card {
	height: 100%; display: flex; flex-direction: column;
	border-radius: 10px !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
.sheep-card.ant-card-hoverable:hover { transform: translateY(-2px); }
.sheep-card .ant-card-cover { overflow: hidden; }
.sheep-card .ant-card-body { flex: 1; display: flex; flex-direction: column; padding: 12px 14px; }
.sheep-card.is-dead { opacity: .58; }
.sheep-card.is-dead.ant-card-hoverable:hover { transform: none; }

/* ---------- 封面区 ---------- */
.sheep-cover {
	position: relative; height: 132px;
	display: flex; align-items: center; justify-content: center;
	color: inherit;
}
.sheep-ico {
	width: 64px; height: 64px; border-radius: 16px;
	background: rgba(255,255,255,.94);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.13);
}
.sheep-ico img { width: 44px; height: 44px; object-fit: contain; display: block; }
.sheep-emoji {
	font-size: 44px; line-height: 1;
	filter: drop-shadow(0 3px 8px rgba(0,0,0,.18));
}
.sheep-badge {
	position: absolute; top: 10px; left: 10px;
	padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 500; white-space: nowrap;
}
.sheep-urgent {
	position: absolute; top: 10px; right: 10px;
	padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: 600;
	background: #ff4d4f; color: #fff; white-space: nowrap;
}
.sheep-price {
	position: absolute; bottom: 10px; right: 10px;
	font-size: 12px; color: #fff; background: rgba(0,0,0,.45);
	padding: 1px 7px; border-radius: 4px;
}
.sheep-price s { opacity: .75; margin-right: 4px; }

/* ---------- 正文 ---------- */
.sheep-title {
	font-size: 15px; font-weight: 500; line-height: 1.45; color: rgba(0,0,0,.88);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sheep-title:hover { color: #1677ff; }
.sheep-desc {
	margin-top: 6px; font-size: 13px; color: rgba(0,0,0,.45); line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sheep-metaline { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; flex-wrap: wrap; }
.sheep-plat { padding: 1px 7px; border: 1px solid #e5e5e5; border-radius: 4px; color: rgba(0,0,0,.65); }
.sheep-stars { color: #faad14; letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.sheep-foot {
	margin-top: auto; padding-top: 10px; border-top: 1px dashed #f0f0f0;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sheep-time { font-size: 12px; color: rgba(0,0,0,.45); white-space: nowrap; }
.sheep-time.is-urgent { color: #ff4d4f; font-weight: 600; }
.sheep-go {
	padding: 3px 14px; border-radius: 6px;
	background: #1677ff; color: #fff; font-size: 13px; white-space: nowrap;
	transition: background .15s;
}
.sheep-go:hover { background: #4096ff; color: #fff; }
.sheep-go.is-off { background: #f5f5f5; color: rgba(0,0,0,.25); }
