@charset "utf-8";
/* urlnav 链接导航模块样式 */

/* ====== 布局 ====== */
.urlnav-main { width: 1100px; }
.urlnav-sidebar { width: 300px; margin-right: 10px; }
.urlnav-show-side { width:300px; float:left; background:#fff; border-radius:8px; box-shadow:0 1px 3px rgba(0,0,0,.06); padding:10px 0; }
.urlnav-show-main { width:1110px; float:right; }
.urlnav-show-wrap { width:1440px; margin:15px auto 0; }

/* ====== 分类导航条 ====== */
.urlnav-catbar {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.urlnav-catbar-label {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-right: 12px;
	white-space: nowrap;
}
.urlnav-catbar-label i {
	color: #2875e8;
	margin-right: 4px;
	font-style: normal;
}
.urlnav-catbar-list {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.urlnav-catbar-link {
	display: inline-block;
	padding: 4px 14px;
	font-size: 13px;
	color: #666;
	border-radius: 20px;
	background: #f5f5f5;
	transition: all .2s;
	text-decoration: none;
}
.urlnav-catbar-link:hover,
.urlnav-catbar-link.active {
	color: #fff;
	background: #2875e8;
}

/* ====== 分区 ====== */
.urlnav-section {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.urlnav-section-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}
.urlnav-section-title {
	font-size: 16px;
	font-weight: 600;
	color: #222;
	display: flex;
	align-items: center;
	gap: 8px;
}
.urlnav-section-count {
	font-size: 13px;
	color: #999;
}
.urlnav-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2875e8;
}
.urlnav-dot-new {
	background: #52c41a;
}
.urlnav-section-more {
	font-size: 13px;
	color: #999;
	text-decoration: none;
	transition: color .2s;
}
.urlnav-section-more:hover {
	color: #2875e8;
}
.urlnav-section-more i {
	font-style: normal;
	font-size: 12px;
}

/* ====== 链接卡片网格 ====== */
.urlnav-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.urlnav-card {
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
	transition: all .25s;
	background: #fafafa;
}
.urlnav-card:hover {
	border-color: #d0e0ff;
	box-shadow: 0 4px 12px rgba(40,117,232,.1);
	transform: translateY(-2px);
}
.urlnav-card-link {
	display: block;
	padding: 16px;
	text-decoration: none;
	color: inherit;
}
.urlnav-card-icon {
	width: 100px;
	height: 75px;
	margin: 0 auto 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.urlnav-card-icon img {
	width: 100px;
	height: 75px;
	border-radius: 8px;
	object-fit: cover;
}
/* 二维码hover切换 */
.urlnav-card-view {
	display: flex;
	align-items: center;
	justify-content: center;
}
.urlnav-card-qr-wrap {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none;
	background: #fff;
	border-radius: 8px;
}
.urlnav-card-qr-wrap img {
	width: 75px;
	height: 75px;
	border-radius: 8px;
	object-fit: contain;
}
.urlnav-card:hover .urlnav-card-qr-wrap {
	opacity: 1;
}
.urlnav-card-fav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 75px;
	border-radius: 8px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
.urlnav-card-body {
	text-align: center;
}
.urlnav-card-title {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	line-height: 1.4;
}
.urlnav-card:hover .urlnav-card-title {
	color: #2875e8;
}
.urlnav-card-desc {
	display: block;
	font-size: 12px;
	color: #999;
	margin-top: 6px;
	line-height: 1.5;
}
.urlnav-card-meta {
	display: flex;
	justify-content: center;
	margin-top: 8px;
	font-size: 12px;
	color: #bbb;
}
.urlnav-card-meta i {
	font-style: normal;
}
.urlnav-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 30px;
	color: #bbb;
	font-size: 14px;
}
.urlnav-empty a {
	color: #2875e8;
}
.urlnav-empty-state {
	text-align: center;
	padding: 60px 0;
	color: #bbb;
	font-size: 14px;
	line-height: 2;
}
.urlnav-empty-state a {
	color: #2875e8;
}

/* ====== 右侧边栏 ====== */
.urlnav-side-panel {
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.urlnav-side-hd {
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}
.urlnav-side-hd h3 {
	font-size: 15px;
	font-weight: 600;
	color: #222;
}
.urlnav-side-hd h3 i {
	color: #2875e8;
	margin-right: 6px;
	font-style: normal;
}

/* 分类导航列表 */
.urlnav-side-cat {
	list-style: none;
	margin: 0;
	padding: 4px 0;
}
.urlnav-side-cat-item {
	margin-bottom: 2px;
}
.urlnav-side-cat-item:last-child {
	margin-bottom: 0;
}
.urlnav-side-cat-link {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	text-decoration: none;
	border-radius: 10px;
	transition: all .25s;
	gap: 12px;
}
.urlnav-side-cat-link:hover,
.urlnav-side-cat-item.current .urlnav-side-cat-link {
	background: #fff5ee;
}
.urlnav-side-cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	flex-shrink: 0;
	font-size: 18px;
	color: #888;
	background: #f5f5f5;
	transition: all .25s;
}
.urlnav-side-cat-link:hover .urlnav-side-cat-icon,
.urlnav-side-cat-item.current .urlnav-side-cat-icon {
	color: #fff;
	background: #ff6b00;
}
.urlnav-side-cat-name {
	font-size: 15px;
	color: #333;
	font-weight: 400;
	transition: all .25s;
}
.urlnav-side-cat-link:hover .urlnav-side-cat-name,
.urlnav-side-cat-item.current .urlnav-side-cat-name {
	color: #ff6b00;
	font-weight: 600;
}
.urlnav-side-cat-count {
	font-size: 13px;
	color: #bbb;
	margin-left: auto;
	flex-shrink: 0;
}

/* 热门列表 */
.urlnav-side-hot {
	list-style: none;
	margin: 0;
	padding: 0;
}
.urlnav-side-hot-item {
	margin-bottom: 2px;
}
.urlnav-side-hot-link {
	display: flex;
	align-items: center;
	padding: 8px 6px;
	text-decoration: none;
	border-radius: 6px;
	gap: 10px;
	transition: background .2s;
}
.urlnav-side-hot-link:hover {
	background: #f8f8f8;
}
.urlnav-side-hot-rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #999;
	background: #f0f0f0;
	flex-shrink: 0;
}
.urlnav-side-hot-rank.urlnav-hot-top {
	color: #fff;
	background: #f56c6c;
}
.urlnav-side-hot-title {
	font-size: 13px;
	color: #444;
	line-height: 1.4;
}
.urlnav-side-hot-link:hover .urlnav-side-hot-title {
	color: #2875e8;
}

/* ====== 面包屑导航 ====== */
.nav {
	padding: 10px 0;
	font-size: 14px;
	color: #999;
}
.nav a { color: #666; text-decoration: none; }
.nav a:hover { color: #2875e8; }
.nav i { margin: 0 6px; font-style: normal; }

/* ====== 分页 ====== */
.pages {
	text-align: center;
	padding: 20px 0 0;
}

/* ====== 内容详情页 ====== */
/* 标题 */
.urlnav-show-title {
	font-size: 22px;
	font-weight: 700;
	color: #222;
	line-height: 1.5;
	margin: 0 0 16px;
}
/* 元信息 */
.urlnav-show-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}
.urlnav-show-meta-item {
	font-size: 13px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 4px;
}
.urlnav-show-meta-item i {
	font-style: normal;
	font-size: 14px;
	color: #bbb;
}
.urlnav-show-meta-link {
	color: #2875e8;
	text-decoration: none;
}
.urlnav-show-meta-link:hover {
	text-decoration: underline;
}

/* 链接预览区 */
.urlnav-show-preview {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.urlnav-show-thumb {
	width: 160px;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.urlnav-show-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.urlnav-show-preview-info {
	flex: 1;
	min-width: 0;
}
.urlnav-show-preview-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}
.urlnav-show-preview-desc {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 12px;
}
.urlnav-show-preview-meta-row {
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.urlnav-show-preview-url {
	display: inline-block;
	padding: 6px 12px;
	background: #f5f7fa;
	border-radius: 6px;
	font-size: 12px;
	color: #888;
	word-break: break-all;
}
.urlnav-show-preview-url i {
	font-style: normal;
	margin-right: 4px;
	color: #2875e8;
}
.urlnav-show-preview-cat {
	display: inline-block;
	padding: 4px 12px;
	background: #fff5ee;
	border-radius: 6px;
	font-size: 12px;
	color: #ff6b00;
}
.urlnav-show-preview-cat i {
	font-style: normal;
	margin-right: 3px;
}
.urlnav-show-visit-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 28px;
	background: linear-gradient(135deg, #2875e8, #1a5dc7);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	transition: all .25s;
}
.urlnav-show-visit-btn:hover {
	background: linear-gradient(135deg, #1a5dc7, #1348a0);
	box-shadow: 0 4px 12px rgba(40,117,232,.3);
	transform: translateY(-1px);
}
.urlnav-show-visit-btn i {
	font-style: normal;
}

/* 预览区二维码 */
.urlnav-show-qrcode {
	flex-shrink: 0;
	text-align: center;
	margin-left: auto;
}
.urlnav-show-qrcode img {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	border: 1px solid #eee;
	object-fit: contain;
	background: #fff;
}
.urlnav-show-qrcode-label {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #999;
}

/* 正文内容 */
.urlnav-show-content {
	font-size: 15px;
	color: #444;
	line-height: 1.9;
	word-break: break-all;
}
.urlnav-show-content img {
	max-width: 100%;
	border-radius: 6px;
}
.urlnav-show-content p {
	margin-bottom: 16px;
}

/* 子标题导航 */
.urlnav-show-subtitle-hd {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
}
.urlnav-show-subtitle-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.urlnav-show-subtitle-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	padding: 6px 14px;
	background: #f5f5f5;
	border-radius: 6px;
	color: #666;
}
.urlnav-show-subtitle-item.active {
	background: #eef3ff;
	color: #2875e8;
	font-weight: 500;
}
.urlnav-show-subtitle-item a {
	color: #666;
	text-decoration: none;
}
.urlnav-show-subtitle-item a:hover {
	color: #2875e8;
}
.urlnav-show-subtitle-idx {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e0e0e0;
	font-size: 11px;
	font-weight: 600;
	color: #999;
}
.urlnav-show-subtitle-item.active .urlnav-show-subtitle-idx {
	background: #2875e8;
	color: #fff;
}

/* 标签 */
.urlnav-show-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.urlnav-show-tags-label {
	font-size: 13px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 4px;
}
.urlnav-show-tags-label i {
	font-style: normal;
	color: #ff6b00;
}
.urlnav-show-tag {
	display: inline-block;
	padding: 5px 14px;
	background: #f5f7fa;
	border-radius: 20px;
	font-size: 12px;
	color: #666;
	text-decoration: none;
	transition: all .2s;
}
.urlnav-show-tag:hover {
	background: #eef3ff;
	color: #2875e8;
}

/* 工具栏 */
.urlnav-show-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.urlnav-show-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 18px;
	background: #f5f7fa;
	border-radius: 20px;
	font-size: 13px;
	color: #888;
	cursor: pointer;
	text-decoration: none;
	transition: all .2s;
}
.urlnav-show-btn:hover {
	background: #eef3ff;
	color: #2875e8;
}
.urlnav-show-btn i {
	font-style: normal;
	font-size: 14px;
}
.urlnav-show-btn b {
	font-weight: 500;
}

/* 免责声明 */
.urlnav-show-disclaimer {
	border-left: 3px solid #ff6b00;
}
.urlnav-show-disclaimer-hd {
	font-size: 14px;
	font-weight: 600;
	color: #ff6b00;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.urlnav-show-disclaimer-hd i {
	font-style: normal;
}
.urlnav-show-disclaimer dl {
	margin: 0;
	display: flex;
	gap: 6px;
}
.urlnav-show-disclaimer dt {
	color: #ff6b00;
	font-weight: 600;
	flex-shrink: 0;
}
.urlnav-show-disclaimer dd {
	margin: 0;
	font-size: 12px;
	color: #999;
	line-height: 1.8;
}

/* 相关推荐 */
.urlnav-show-related {
	padding: 0;
}

/* ====== 响应式 ====== */
@media (max-width: 1240px) {
	.urlnav-main { width: 100%; }
	.urlnav-sidebar { display: none; }
	.urlnav-grid { grid-template-columns: repeat(3, 1fr); }
	.urlnav-show-preview { flex-direction: column; align-items: center; text-align: center; }
	.urlnav-show-thumb { width: 100%; height: 180px; }
}@media (max-width: 768px) {
	.urlnav-grid { grid-template-columns: repeat(2, 1fr); }
	.urlnav-catbar { flex-direction: column; align-items: flex-start; gap: 8px; }
}
