/* STREAMING_CHUNK:Configuring global CSS variables and base page reset... /
/*

前台公共主样式表 (1列/3列/5列自适应精致版)

文件存放路径：assets/css/style.css
*/

body {
background-color: #f1f5f9;
color: #0f172a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}

/* STREAMING_CHUNK:Defining responsive masonry grid layout rules... /
/ 1列 / 3列 / 5列 响应式瀑布流布局 */
.masonry-columns {
column-count: 1;
column-gap: 1.25rem;
}

@media (min-width: 640px) {
.masonry-columns {
column-count: 3;
}
}

@media (min-width: 1280px) {
.masonry-columns {
column-count: 5;
}
}

/* STREAMING_CHUNK:Preventing element break inside masonry columns... /
/ 防止瀑布流元素内部跨列断裂 */
.break-inside-avoid {
break-inside: avoid;
page-break-inside: avoid;
}

/* STREAMING_CHUNK:Styling clean link items and typography... /
/ 网址列表项：恢复精致紧凑的 1rem (16px) 标准易读字号 */
.clean-link-item {
font-size: 1rem;
line-height: 1.5rem;
font-weight: 400;
transition: background-color 0.15s ease-in-out, transform 0.1s ease;
border-radius: 4px;
}

.clean-link-item:hover {
background-color: #e2e8f0;
}

/* STREAMING_CHUNK:Styling recommend card hover and layout... /
/ 顶部 Hero 区域常用推荐卡片悬浮样式 */
.hero-card-hover {
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
background: linear-gradient(145deg, #1e293b 0%, #172033 100%);
}

.hero-card-hover:hover {
transform: translateY(-2px);
border-color: #3b82f6;
box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

/* STREAMING_CHUNK:Configuring utility helper classes and scrollbar styles... /
/ 文本单行溢出截断 */
.truncate-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}

::-webkit-scrollbar-track {
background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}