/*
Theme Name: Nav5
Author: Gemini
Description: A minimalist Bootstrap 5 navigation theme.
Version: 1.0
*/
:root { --bs-body-bg: #f8f9fa; }
body { padding-top: 60px; }
.site-card { transition: transform 0.2s; cursor: pointer; text-decoration: none !important; color: inherit; }
.site-card:hover { transform: translateY(-3px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1); }
.sticky-tabs { position: sticky; top: 58px; z-index: 1020; background: rgba(248, 249, 250, 0.9); backdrop-filter: blur(10px); }
/*背景*/
body { margin: 0; min-height: 100vh; background: url('https://t.alcy.cc/ycy') no-repeat center center; background-size: cover; background-attachment: fixed; position: relative; }
body::before { content: ""; position: fixed; inset: 0; background: rgba(255, 255, 255, 0.6); z-index: -1; }
.navbar, .card, .site-card, .sticky-tabs, .form-control { opacity: 0.8; transition: opacity 0.3s ease, transform 0.2s ease; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
/* 保持横向滚动但隐藏条 */
.hide-scrollbar { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
#cat-nav .nav-link.active { color: #fff !important; background-color: #0d6efd; white-space: nowrap; }
/* 搜索分类 Tab 样式 */
#search-tabs .nav-link.active { color: #0d6efd !important; position: relative; }
#search-tabs .nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 25%; width: 50%; height: 3px; background: #0d6efd; border-radius: 3px; }
/* 搜索目标标签样式 */
.target-item { cursor: pointer; padding: 2px 8px; color: #6c757d; transition: all 0.2s; border-radius: 4px; font-weight: bold; }
.target-item:hover { color: #0d6efd; background: rgba(13, 110, 253, 0.1); }
.active-target { color: #0d6efd !important; }