.site-logo i {
    color: #4d89ff;
    -webkit-text-stroke-width: unset;
    font-size: 26px;
    margin-right: 5px;
}

.site-grid-header {
    margin-bottom: 30px;
}

.zeronav-more {
    font-size: 16px;
    margin-left: 15px;
    border: 1px solid #ededed;
    padding: 2px 10px;
    border-radius: 4px;
    color: #939393 !important;
}

.zeronav-more i {
    margin-left: 3px;
    -webkit-text-stroke-width: unset;
}

.zeronav-btn-group {
    gap: 5px;
}

.zeronav-btn {
    color: #a3a3a3;
    font-size: 16px;
    padding: 2px 5px;
}

.zeronav-btn.active {
    font-weight: 600;
    border: 1px solid #ededed;
    border-radius: 3px;
    color: #222222;
}

/* 网站弹出层样式 */
.site-link-wrapper {
    position: relative;
    display: inline-block;
}

.site-link {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.site-link:hover {
    background-color: #f5f5f5;
}

.site-popup {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid #eee;
    display: none;
    animation: fadeIn 0.2s ease-in-out;
    pointer-events: auto; /* 确保弹出层可以响应鼠标事件 */
    transition: opacity 0.3s, visibility 0.3s;
}

/* 创建一个空区域连接link和popup，防止鼠标移动时popup消失 */
.site-link-wrapper::after {
    content: '';
    position: absolute;
    height: 20px;
    left: 0;
    right: 0;
    bottom: -20px;
    z-index: 999;
}

.site-link-wrapper:hover .site-popup {
    display: block;
    visibility: visible;
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-popup::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
}

.site-popup-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;

}

.site-popup-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    max-height: 60px;
    overflow: hidden;
}

.site-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.site-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.site-popup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50px;
    overflow: hidden;
    flex-shrink: 0;
}

.site-popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-name {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.favorite-btn.active {
    background-color: #4d89ff;
    color: white;
    border-color: #4d89ff;
}

.favorite-btn.active i {
    font-weight: 900;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.zeronavhot-title {
    font-size: 16px;
    color: #777777;
}

.zeronavhot-tag {
    font-size: 14px;
    padding: 1px 5px;
    border-radius: 2px;
}

.zeronavhot-tag.new {
    background-color: #c7daff;
    color: #4d89ff;
}

.zeronavhot-tag.hot {
    background-color: #ffd9d9;
    color: #f56c6c;
}

.zeronavhot-rank {
    font-family: auto;
    font-weight: 600;
    color: #999;
    margin-right: 10px;
}

.list-group-item.top .zeronavhot-rank {
    color: #4d89ff;
}

.list-group-item.top .zeronavhot-title {
    color: #222222;
}

.zeronav-wnl {
    color: #222222;
}

.zeronav-weather {
    border-left: 1px solid #f0f0f0;
}

.zeronav-wnl-date {
    font-size: 16px;
}

/* 整体样式 */
.zeroui-home-nav {
    background-color: #f5f7fa;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.zeroui-home-nav .container {
    padding-top: 30px;
}

/* 在无侧边栏模式下的额外样式 */
.main-content.w-100 .site-grid {
    max-width: 1600px;
}

/* 在无侧边栏模式下的TAB分区响应式调整 */
.main-content.w-100 .tab-sections-container .site-grid {
    max-width: 1600px;
}

.site-logo {
    font-weight: 600;
    color: #222222;
    display: flex;
    align-items: center;
}

/* 网站图标样式 */
.site-icon-wrapper {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #eee;
    background-color: #fff;
}

.site-icon-wrapper i {
    font-size: 16px;
    color: #95aac9;
}

.site-name {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

/* 热搜榜样式 */
.hot-rank {
    font-weight: bold;
    width: 24px;
    text-align: center;
    color: #999;
}

.hot-rank.rank-1, .hot-rank.rank-2, .hot-rank.rank-3 {
    color: #f56c6c;
}

.hot-title {
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-tag {
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 2px;
}

.hot-tag.hot {
    background-color: #f56c6c;
    color: white;
}

.hot-tag.new {
    background-color: #4d89ff;
    color: white;
}

/* 按钮样式 */
.btn-xs {
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
}

/* 星座运势 */
.zodiac-stats-row {
    text-align: end;
    margin-bottom: 5px;
}

.zodiac-stats-label {
    font-size: 14px;
    padding: 0px;
    color: #797979;
}

.zodiac-stats-rating {
    padding: 0px;
}

.star-rating-num {
    font-size: 16px;
    color: #797979;
}

.zodiac-stats-rating-num {
    padding: 0px;
}

.zodiac-stats-rating .star-rating {
    font-size: 16px;
}

.zodiac-stats-rating .star-rating i {
    -webkit-text-stroke-width: unset;
}

.lucky-item-label {
    font-size: 14px;
    color: #797979;
}

.lucky-item-value {
    font-size: 16px;
    color: #222;
}

.todo-item-value {
    font-size: 16px;
    color: #222;
}

.zeronav-horoscope-description {
    font-size: 14px;
    color: #797979;
    line-height: 1.5;
}

.zeronav-btn-more {
    font-size: 14px;
    color: #797979;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horoscope-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zeronav-horoscope-icon {
    flex: 1 1 0;
    margin-right: 5px;
}

.zodiac-stats {
    flex: 2 1 0;
}

.star-rating {
    font-size: 12px;
}

/* 颜色定义 */
.text-purple {
    color: #7952b3;
}

.text-teal {
    color: #20c997;
}

.text-indigo {
    color: #6610f2;
}

.text-orange {
    color: #fd7e14;
}

.text-green {
    color: #28a745;
}

.text-pink {
    color: #e83e8c;
}

.bg-purple {
    background-color: #7952b3;
}

.bg-teal {
    background-color: #20c997;
}

.bg-indigo {
    background-color: #6610f2;
}

.bg-orange {
    background-color: #fd7e14;
}

.bg-green {
    background-color: #28a745;
}

.bg-pink {
    background-color: #e83e8c;
}

/* 阴影效果 */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .date-weather, .horoscope {
        padding: 15px !important;
    }
    
    .zeronav-btn-group {
        flex-wrap: wrap;
    }
    
    .zeronav-btn {
        margin-bottom: 5px;
    }
}

@media (max-width: 992px) {
    
    .col-custom-7 {
        max-width: 25% !important;
    }
    
    .zerov4-mobile-nofooter .sidebar {
        width: 320px !important;
    }
    
    .col-custom-5 {
        max-width: 25% !important;
    }
    
    .main-content {
        width: 100% !important;
    }
    
    .site-grid-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .site-grid-header .d-flex {
        width: 100%;
        flex-direction: row;
        margin-bottom: 10px;
    }
    
    .site-grid-header .zeronav-btn-group {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }
    
    .site-grid-header .zeronav-more {
        margin-left: auto;
    }
    
    .site-grid, .card {
        padding: 15px !important;
    }
    
    .date-weather .row {
        flex-direction: column;
    }
    
    .date-weather .col-7, 
    .date-weather .col-5 {
        width: 100%;
        text-align: center;
    }
    
    .zeronav-weather {
        border-left: none !important;
        border-top: 1px solid #f0f0f0;
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .weather-condition-wrapper {
        text-align: center;
    }
    
    .zodiac-stats {
        margin-top: 15px;
    }
    
    .horoscope-content {
        flex-direction: column;
    }
    
    .zeronav-horoscope-icon {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .col-2, .col-3, .col-4 {
        width: 50% !important;
    }
    
    .zerov4-mobile-nofooter .sidebar {
        display: none !important;
    }
    
    .zerov4-mobile-nofooter .container {
        padding: 0px !important;
    }
    
    .zerov4-mobile-nofooter .main-content {
        padding: 0px !important;
    }
    
    .col-custom-7 {
        max-width: 33.333333% !important;
    }
    
    .col-custom-5 {
        max-width: 33.333333% !important;
    }
    
    .news-image {
        width: 120px !important;
        height: 80px !important;
    }
    
    .news-title {
        font-size: 16px !important;
    }
    
    .news-content p {
        font-size: 14px !important;
        -webkit-line-clamp: 1; /* 在手机上减少显示行数 */
    }
    
    .site-link-wrapper .site-popup {
        width: 240px !important; /* 减小弹出层宽度 */
    }
    
    .tab-content .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .tab-content .row > div {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    /* 星座运势卡片调整 */
    .zodiac-stats-row {
        margin-bottom: 2px;
    }
    
    .zodiac-stats-label {
        font-size: 12px;
    }
    
    .star-rating i {
        font-size: 12px;
    }
    
    .star-rating-num {
        font-size: 14px;
    }
    
    .lucky-item {
        padding: 5px !important;
    }
    
    .lucky-item-label {
        font-size: 12px;
    }
    
    .lucky-item-value {
        font-size: 14px;
    }
    
    .almanac-tag {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .col-2, .col-3, .col-4, .col-6 {
        width: 50% !important;
    }
    
    .zerov4-mobile-nofooter .container {
        padding: 0px !important;
    }
    
    .zerov4-mobile-nofooter .main-content {
        padding: 0px !important;
    }
    
    .col-custom-7 {
        max-width: 50% !important;
    }
    
    .col-custom-5 {
        max-width: 50% !important;
    }
    
    .news-image {
        width: 100px !important;
        height: 66px !important;
    }
    
    .news-title {
        font-size: 14px !important;
    }
    
    .news-content p {
        display: none; /* 在极小屏幕上隐藏描述文本 */
    }
    
    .news-footer {
        font-size: 12px !important;
    }
    
    .site-name {
        font-size: 14px;
    }
    
    .site-grid-header h4 {
        font-size: 18px;
    }
    
    .zeronav-more {
        font-size: 14px !important;
    }
    
    .zeronav-btn {
        font-size: 14px !important;
    }
    
    /* 天气信息精简显示 */
    .current-temp {
        font-size: 28px !important;
    }
    
    .weather-condition {
        font-size: 16px !important;
    }
    
    .weather-icon-img {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* 星座选择器适配 */
    .zodiac-selector-popup {
        width: 180px !important;
        left: 0 !important;
        transform: none !important;
    }
    
    /* 导航面板适配 */
    .site-link-wrapper .site-popup {
        width: 200px !important;
        left: -50px !important; /* 调整位置使其居中 */
    }
    
    /* TAB分区组标签按钮 */
    .site-grid-header .zeronav-btn-group .zeronav-btn {
        padding: 2px 3px;
        font-size: 12px !important;
    }
}

@media (max-width: 375px) {
    .col-2, .col-3, .col-4, .col-6 {
        width: 100% !important; /* 在超小屏幕上所有卡片占满宽度 */
    }
    
    .col-custom-7 {
        max-width: 50% !important;
    }
    
    .col-custom-5 {
        max-width: 50% !important;
    }
    
    .zerov4-mobile-nofooter .container {
        padding: 0px !important;
    }
    
    .zerov4-mobile-nofooter .main-content {
        padding: 0px !important;
    }
    
    .site-icon-wrapper {
        width: 20px;
        height: 20px;
    }
    
    .site-name {
        max-width: 280px; /* 在超小屏幕上增加名称显示宽度 */
    }
    
    /* 调整弹出层定位 */
    .site-link-wrapper .site-popup {
        width: 180px !important;
        left: 0 !important;
    }
    
    /* 简化星座卡片显示 */
    .zodiac-lucky .row .col-4 {
        width: 33.33% !important; /* 保持三列布局 */
    }
}

/* 农历和万年历样式 - 更新为专业万年历风格 */
.lunar-date {
    margin-bottom: 10px;
    color: #666;
}

.almanac-info {
    font-size: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.almanac-section {
    
}

.almanac-section:not(:last-child) {
    border-bottom: 1px dashed #f0f0f0;
    margin-bottom: 6px;
}

.almanac-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.almanac-label {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    font-weight: bold;
}

.almanac-yi-label {

    background-color: #202020;
    color: #FFFFFF;
}

.almanac-ji-label {
    color: #202020;
    border: 1px solid #202020;

}



.almanac-tags {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
    word-wrap: break-word;
}

.almanac-tag {
    font-size: 14px;
    color: #202020;
}

.almanac-detail-row {
    display: flex;
    margin-bottom: 3px;
    line-height: 1.4;
}

.almanac-detail-label {
    color: #666;
    margin-right: 5px;
    flex-shrink: 0;
    font-size: 11px;
}

.almanac-detail-value {
    color: #333;
    font-size: 11px;
}

/* 天气图标样式 */
.weather-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zodiac-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.zodiac-image img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 50%;
    padding: 10px;
}

.weather-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.modal-background {
    background-image: url("http://www.apikr.cn/wp-content/uploads/2025/05/3706977-scaled.png");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.03;
}

.modal-header,
.modal-body,
.modal-footer {
    z-index: 1;
}

/* 新的城市选择器样式 */
.current-ip-location {
    font-size: 14px;
    padding: 8px 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
}

.current-location-text {
    color: #0d6efd;
    font-weight: 500;
    margin-top: 3px;
}

.common-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 5px;
}

.city-tag {
    display: inline-block;
    padding: 5px 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: 1px solid #eaeaea;
}

.city-tag:hover {
    background-color: #e9f5ff;
    color: #0d6efd;
    border-color: #b9d8fb;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
    
    /* 优化TAB切换导航 */
    .date-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 5px;
    }
    
    .date-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    /* 设置底部间距，避免内容被底部导航遮挡 */
    .zeroui-home-nav {
        padding-bottom: 60px;
    }
    
    /* TAB分区组件在手机上的优化 */
    .tab-sections-container .site-grid-header {
        position: relative;
    }
    
    /* 修复在移动端上弹出层被截断的问题 */
    .site-popup {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 80% !important;
        max-width: 300px !important;
        z-index: 9999 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
    }
    
    /* 添加弹出层显示时的背景遮罩 */
    .site-popup::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
    
    /* 添加关闭按钮 */
    .site-popup .site-popup-content::after {
        content: '×';
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 24px;
        color: #999;
        cursor: pointer;
    }
}

.horoscope.loading {
    opacity: 0.7;
    pointer-events: none;
}

.zodiac-selector-popup {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 220px;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    overflow: auto;
    height: 100%;
}

.zodiac-item {
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.zodiac-item:hover {
    background-color: #f8f9fa;
}

/* 为星座选择器添加箭头标识 */
.zodiac-name {
    position: relative;
    cursor: pointer;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 5px;
}

.zodiac-name #zodiac-selector {
    transition: transform 0.2s;
}

.zodiac-name:hover #zodiac-selector {
    transform: rotate(180deg);
}

.news-title {
    font-size: 18px;
    color: #222222;
    font-weight: 600;
}

.news-content p {
    line-height: 24px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    margin-bottom: 14px;
    font-size: 16px;
    color: #858585 !important;
    letter-spacing: 0;
}

.news-image {
    width: 170px;
    height: 108px;
    margin-right: 14px;
    border: .87px solid rgba(6, 10, 38, .04);
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* 添加收藏网站相关样式 */
.favorite-sites-loading, 
.favorite-sites-empty {
    padding: 30px 0;
}

.favorite-sites-empty i {
    font-size: 48px;
    color: #ccc;
}

/* 弹出层样式优化 - 确保在切换标签后依然正常显示 */
.site-popup {
    position: absolute !important;
    z-index: 9999 !important; /* 使用更高的z-index值 */
    pointer-events: auto !important; /* 确保弹出层可以响应鼠标事件 */
}

.site-link-wrapper {
    position: relative !important;
    z-index: 1 !important; /* 确保包装器有z-index上下文 */
    width: 100%;
}

.site-link-wrapper:hover {
    z-index: 1000 !important; /* 鼠标悬停时提高z-index */
}

/* 确保弹出层在所有内容之上 - 更新为使用新的nav-tab-content选择器 */
.nav-tab-content.active .site-popup {
    z-index: 9999 !important;
}

/* 导航区tab样式 */
.site-grid .nav-tab-content {
    display: none;
}

.site-grid .nav-tab-content.active {
    display: block;
}

/* 收藏站点样式 */
.favorite-sites-loading, 
.favorite-sites-empty {
    padding: 30px 0;
}

.favorite-sites-empty i {
    font-size: 48px;
    color: #ccc;
}

/* 布局容器 */
.nav-layout-wrapper {
    gap: 15px;
}

/* 主内容区自适应 */
.main-content {
    min-width: 0; /* 防止弹性项溢出 */
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .nav-layout-wrapper {
        flex-direction: column;
    }
    
    .main-content {
        width: 100%;
    }
}

/* Banner 轮播样式 */
.homepage-banner-carousel {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.homepage-banner-carousel .carousel-item {
    height: 250px;
    overflow: hidden;
}

.homepage-banner-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-banner-carousel .carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 15px;
    bottom: 20px;
    width: auto;
    right: 20%;
    left: 20%;
}

.homepage-banner-carousel .carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.homepage-banner-carousel .carousel-caption p {
    font-size: 14px;
    margin-bottom: 10px;
}

.homepage-banner-carousel .banner-link {
    color: #fff;
    text-decoration: none;
    height: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .homepage-banner-carousel .carousel-item {
        height: 180px;
    }
    
    .homepage-banner-carousel .carousel-caption {
        right: 10%;
        left: 10%;
        padding: 10px;
    }
    
    .homepage-banner-carousel .carousel-caption h3 {
        font-size: 16px;
    }
    
    .homepage-banner-carousel .carousel-caption p {
        font-size: 12px;
    }
}


/* 双轮播图布局样式 */
.banners-container {
    margin-bottom: 20px;
}

.homepage-banner-carousel,
.homepage-small-carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 250px;
}

.homepage-banner-carousel.card,
.homepage-small-carousel.card {
    margin-bottom: 0px;
}

.carousel-item {
    height: 250px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-link {
    color: #fff;
    text-decoration: none;
    height: 100%;
    display: block;
}

/* 小轮播特定样式 */
.small-banner-content {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.small-banner-overlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.small-banner-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.5);
}

.small-banner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-banner-info {
    padding: 15px;
}

.small-banner-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.small-banner-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 180px;
    }
    
    .small-banner-title {
        font-size: 16px;
    }
    
    .small-banner-desc {
        font-size: 12px;
    }
}


/* 网址小轮播特定样式 */
.site-banner-info {
    display: flex;
    align-items: center;
    background-color: #0003;
    padding: 15px 20px 35px 20px;
    margin-top: auto;
    margin-bottom: 0px;
    width: 100%;
    --tw-backdrop-blur: blur(24px);
    backdrop-filter: blur(24px);
}

.site-banner-logo {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
}

.site-banner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-banner-logo i {
    font-size: 20px;
    color: #aaa;
}

.site-banner-text {
    flex: 1;
    min-width: 0;
}

.site-banner-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: none;
}

.site-banner-desc {
    font-size: 12px;
    color: #bbbbbb;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: none;
    line-height: 1.3;
    max-height: 32px;
}

/* 确保小轮播的背景图能正确显示 */
.small-banner-content {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f5f5f5; /* 确保没有背景图时有底色 */
}

/* 圈子轮播特殊样式 */
.circle-banner-info {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    --tw-backdrop-blur: blur(24px);
    backdrop-filter: blur(24px);
}

.circle-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circle-banner-logo {
    width: 60px;
    height: 60px;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.7);
}

.circle-banner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-banner-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.circle-banner-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.circle-banner-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* 站内排行样式 */
.ranking-content {
    display: none;
}

.ranking-content.active {
    display: block;
}

.zeronavhot-title {
    font-size: 16px;
    color: #777777;
    margin: 0 5px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.zeronavhot-title:hover {
    color: #333;
}

.zeronavhot-tag {
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 2px;
    white-space: nowrap;
}

.zeronavhot-tag.new {
    background-color: #f0f9ff;
    color: #1677ff;
}

.zeronavhot-tag.hot {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.zeronavhot-rank {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    color: #bbb;
    width: 20px;
    text-align: center;
}

.list-group-item.top .zeronavhot-rank {
    color: #ff4d4f;
}

.list-group-item:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

/* 热门列表样式 */

.hotlist-tabs {
    display: flex;
    margin-bottom: 15px;
}

.hotlist-tab-btn {
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    color: #777;
}

.hotlist-tab-btn i {
    -webkit-text-stroke-width: unset;
}

.hotlist-tab-btn.active {
    color: #0d6efd;
    font-weight: 500;
}

.hotlist-content {
    display: none;
}

.hotlist-content.active {
    display: block;
}

.zeronav-dock-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 999;
}

.zeronav-dock-wrapper {
    text-align: center;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 65%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px;
    overflow: visible;
    border: 1px solid #abb7ec4f;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.zeronav-dock {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.dock-category {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.dock-separator {
    height: 20px;
    border-right: 2px solid #afb5ba;
    margin-left: 5px;
    margin-right: 5px;
}

.dock-item {
    will-change: transform;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin: 0 5px;
    transition: transform 0.2s ease, margin 0.2s ease !important;
    transform-origin: bottom center;
    display: block;
    text-decoration: none;
}

.dock-item:hover {
    transform: scale(1.6) translateY(-5px);
    margin-left: 18px;
    margin-right: 18px;
    transition: all 0.2s;
}

.dock-item.hovered {
    transform: scale(1.3) translateY(-3px);
    margin-left: 15px;
    margin-right: 15px;
}

.dock-item img,
.dock-item-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* 工具提示样式 */
.dock-tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    background: #595959;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.dock-item:hover .dock-tooltip {
    top: -36px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scale(0.7);
}

.dock-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #595959;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 弹跳动画 */
@keyframes dock-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
    80% { transform: translateY(-4px); }
}

.dock-bounce {
    animation: dock-bounce 0.8s ease;
}

/* 折叠状态 */
.zeronav-dock-container.folded {
    transform: translateX(-50%) translateY(100px);
}

/* 暗色模式适配 */
.io-black-mode .zeronav-dock-wrapper {
    background-color: rgb(27 29 31);
    backdrop-filter: blur(10px);
    border: 1px solid #36393b;
}

.io-black-mode .dock-separator {
    border-right: 2px solid #ffffffba;
}

/* 占位符样式 */
.dock-item-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #555;
    font-size: 24px;
}

.io-black-mode .dock-item-placeholder {
    background-color: #2c2c2c;
    color: #ccc;
}

/* 小工具開始 */
/* 办事窗口组件样式 */
.sidebar-service-window {
    font-size: 14px;
}

/* 分类标签样式 */
.sidebar-service-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-service-tabs i {
    -webkit-text-stroke-width: unset;
    font-size: 25px;
}

.sidebar-service-tabs-container {
    overflow: hidden;
    flex: 1;
    margin: 0 5px;
}

.sidebar-service-tabs-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.sidebar-service-tab-item {
    padding: 10px 8px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.sidebar-service-tab-item i {
    font-size: 30px;
    margin-bottom: 3px;
    color: #161616;
    -webkit-text-stroke-width: unset;
}

.sidebar-service-tab-item span {
    font-size: 14px;
    color: #333;
}

.sidebar-service-tab-item.active span {
    color: #4e7afd !important;
}

.sidebar-service-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #0d6efd;
}

.sidebar-service-nav-prev,
.sidebar-service-nav-next {
    border: none;
    background: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}

.sidebar-service-nav-prev:hover,
.sidebar-service-nav-next:hover {
    background-color: #f5f5f5;
}

/* 内容区样式 */
.sidebar-service-tab-content {
    display: none;
}

.sidebar-service-tab-content.active {
    display: block;
}

.sidebar-service-section {
    margin-bottom: 15px;
}

.sidebar-service-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.sidebar-service-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-service-links li {
    margin-bottom: 4px;
    padding-left: 10px;
    position: relative;
    line-height: 1.3;
}

.sidebar-service-links li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #999;
}

.sidebar-service-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 24px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-service-links a:hover {
    color: #0d6efd;
}

/* 修复Bootstrap行间距和列间距 */
.sidebar-service-window .row {
    margin-right: -5px;
    margin-left: -5px;
}

.sidebar-service-window .col-6 {
    padding-right: 5px;
    padding-left: 5px;
}

/* 最新资讯组件样式 - 添加sidebar前缀避免冲突 */
.sidebar-news-widget {
    overflow: hidden;
}

.sidebar-news-container {
    margin-top: 5px;
}

/* 左侧图片区域 */
.sidebar-news-image-container {
    height: 130px;
    overflow: hidden;
}

.sidebar-article-image {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.sidebar-article-image.active {
    opacity: 1;
    display: block;
}

.sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧标题列表 */
.sidebar-news-title-list {
    max-height: 140px;
    overflow: hidden;
}

.sidebar-news-item {
    padding: 4px 0;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sidebar-news-title {
    color: #858585;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.sidebar-news-item.active .sidebar-news-title {
    -webkit-line-clamp: 1;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* 热门网站组件样式 */
.hot-sites-widget .site-grid {
    padding: 5px 0;
}

.hot-sites-widget .site-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: unset !important;
}

.hot-sites-widget .site-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
}

.hot-sites-widget .site-icon-wrapper img {
    width: 40px;
    height: 40px;
}

.hot-sites-widget .site-icon-wrapper i {
    font-size: 20px;
    color: #6c757d;
}

.hot-sites-widget .site-name {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 600;
}

.hot-sites-widget .site-link:hover {
    background-color: unset !important; 
}

.hot-sites-widget .site-link:hover .site-name {
    color: #0d6efd;
}

/* 调整网格布局 */
.hot-sites-widget .row {
    margin: 0 -5px;
}

.hot-sites-widget .col-4,
.hot-sites-widget .col-md-3 {
    padding: 0px;
    margin: 0px;
}

.hot-sites-widget .site-item {
    margin-bottom: 5px;
}

/*天氣樣式*/
.weather-condition-wrapper {
    text-align: left;
}

.zeronav-weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222;
}

.zeronav-weather-info-label {
    margin-right: 5px;
}

.current-weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 16px;
    color: #222;
}

.current-temp-wrapper {
    font-size: 25px;
    font-weight: 600;
    color: #222222;
}

.weather-info-more {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 天气位置选择器样式 */
.location {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 100;
    cursor: pointer;
}

.location span {
    color: #0d6efd;
    font-weight: 500;
    margin-right: 5px;
}

.location i {
    color: #0d6efd;
    font-size: 12px;
}

/* 下拉菜单样式 */
.location-selector-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid #dde4ed;
}

/* 当前IP位置样式 */
.current-ip-location {
    font-size: 14px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
}

.current-location-text {
    color: #0d6efd;
    font-weight: 500;
    margin-top: 5px;
    font-size: 16px;
}

/* 热门城市网格 */
.common-cities {
    margin-top: 15px;
}

.common-cities-title {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.common-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.city-tag {
    display: inline-block;
    padding: 8px 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: 1px solid #eaeaea;
}

.city-tag:hover {
    background-color: #e9f5ff;
    color: #0d6efd;
    border-color: #b9d8fb;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .date-weather {
        margin-bottom: 15px !important;
    }
    
    .date-weather .row {
        flex-direction: column;
    }
    
    .date-weather .row .col-7,
    .date-weather .row .col-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .zeronav-weather {
        border-left: none !important;
        border-top: 1px solid #f0f0f0;
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .weather-condition-wrapper {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .current-temp {
        font-size: 28px !important;
    }
    
    .current-day {
        font-size: 32px !important;
    }
    
    .weather-condition {
        font-size: 16px !important;
    }
    
    .weather-icon-img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .almanac-info {
        display: flex;
        flex-wrap: wrap;
    }
    
    .almanac-section {
        width: 100%;
    }
}

/* 侧边栏样式 */
.zeronav-wnl {
    color: #222222;
}

.zeronav-weather {
    border-left: 1px solid #f0f0f0;
}

.zeronav-wnl-date {
    font-size: 16px;
}

.temperature-details {
    margin-bottom: 10px;
}

.weather-condition {
    font-size: 18px;
    color: #222222;
}

.zeronav-location span {
    font-size: 12px;
    border: 1px solid #ededed;
    padding: 2px 10px;
    border-radius: 4px;
    color: #939393 !important;
}

.zeronav-location {
    margin-bottom: 5px;
}

.current-temp-wrapper {
    font-size: 25px;
    font-weight: 600;
    color: #222222;
}

.weather-condition-wrapper {
    text-align: left;
}

.zeronav-weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222;
}

.zeronav-weather-info-label {
    margin-right: 5px;
}

.current-weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 16px;
    color: #222;
}

.weather-info-more {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 农历和万年历样式 */
.lunar-date {
    margin-bottom: 10px;
    color: #666;
}

.almanac-info {
    font-size: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.almanac-section:not(:last-child) {
    border-bottom: 1px dashed #f0f0f0;
    margin-bottom: 6px;
}

.almanac-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.almanac-label {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    font-weight: bold;
}

.almanac-yi-label {
    background-color: #202020;
    color: #FFFFFF;
}

.almanac-ji-label {
    color: #202020;
    border: 1px solid #202020;
}

.almanac-tags {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
    word-wrap: break-word;
}

.almanac-tag {
    font-size: 14px;
    color: #202020;
}

/* 推荐列表样式 */
.banner-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    border-radius: 4px;
}

/* 星座运势卡片基本样式 */
.horoscope.loading {
    opacity: 0.7;
    pointer-events: none;
}

.zodiac-selector-popup {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 220px;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    overflow: auto;
    height: 100%;
}

.zodiac-item {
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.zodiac-item:hover {
    background-color: #f8f9fa;
}

/* 为星座选择器添加箭头标识 */
.zodiac-name {
    position: relative;
    cursor: pointer;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 5px;
}

.zodiac-name #zodiac-selector {
    transition: transform 0.2s;
}

.zodiac-name:hover #zodiac-selector {
    transform: rotate(180deg);
}

/* 模态框背景 */
.modal-background {
    background-image: url("http://www.apikr.cn/wp-content/uploads/2025/05/3706977-scaled.png");
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.03;
}

.modal-header,
.modal-body,
.modal-footer {
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    /* 星座运势卡片在移动端的优化 */
    .horoscope-content {
        flex-direction: column;
    }
    
    .zeronav-horoscope-icon {
        margin-right: 0 !important;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .zeronav-horoscope-icon img {
        max-width: 100px;
        margin: 0 auto;
        display: block;
    }
    
    .zodiac-stats {
        width: 100%;
    }
}

@media (max-width: 576px) {
    /* 优化星座运势卡片 */
    .zodiac-stats-row {
        margin-bottom: 2px;
    }
    
    .zodiac-stats-label {
        font-size: 12px;
    }
    
    .star-rating i {
        font-size: 12px;
    }
    
    .star-rating-num {
        font-size: 14px;
    }
    
    .lucky-item {
        padding: 5px !important;
    }
    
    .lucky-item-label {
        font-size: 12px;
    }
    
    .lucky-item-value {
        font-size: 14px;
    }
    
    /* 星座选择器适配 */
    .zodiac-selector-popup {
        width: 180px !important;
        left: 0 !important;
        transform: none !important;
    }
}

/* 简洁日历样式 */
.simple-calendar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    width: 100%;
    background-color: #fff;
}

/* 年月标题 */
.calendar-header {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* 星期行 */
.weekdays-row {
    margin-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
}

.weekday {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    font-weight: 500;
    font-size: 16px;
}

.weekday.weekend {
    color: #e03131;
}

/* 日期行 */
.days-row {
    margin-bottom: 10px;
}

/* 日期单元格 */
.day-cell {
    flex: 1;
    text-align: center;
    height: 60px;
    padding: 2px 0;
    position: relative;
}

/* 上个月/下个月的日期 */
.day-cell.prev-month .solar-day,
.day-cell.prev-month .lunar-day,
.day-cell.next-month .solar-day,
.day-cell.next-month .lunar-day {
    color: #c0c0c0 !important;
}

/* 公历日期 - 所有数字都用黑色 */
.solar-day {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #000;
}

/* 农历日期 */
.lunar-day {
    font-size: 12px;
    color: #000000;
}

/* 节假日文本 - 红色 */
.lunar-day.holiday-text {
    color: #e03131;
}

/* 节气文本 - 蓝色 */
.lunar-day.solar-term-text {
    color: #4b6fff;
}

/* 选中日期 */
.day-cell.selected {
    background-color: #4e7afd;
    border-radius: 8px;
}

.day-cell.selected .solar-day,
.day-cell.selected .lunar-day {
    color: #fff !important;
}

/* 当前日期 */
.day-cell.today {
    background-color: rgba(77, 144, 254, 0.1);
}

/* 组件标题样式 */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo i {
    margin-right: 5px;
    font-size: 20px;
    color: #0d6efd;
}


/* 卡片样式 */

.circle-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.circle-card-link {
    display: flex;
    color: inherit;
    text-decoration: none;
}

.circle-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.circle-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 10px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.circle-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-card-content {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.circle-card-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #222222;
}

.circle-card-desc {
    font-size: 12px;
    color: #a5a5a5;
    margin: 0 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.circle-card-stats {
    display: flex;
    font-size: 12px;
    color: #999;
}

.circle-card-stats span {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.circle-card-stats i {
    margin-right: 5px;
    font-size: 14px;
    -webkit-text-stroke-width: unset;
}

/* 垂直导航栏样式 */
.vertical-nav-container {
    position: sticky;
    top: 80px;
    width: 200px;
    height: 100%;
    flex-shrink: 0;
}

.vertical-nav {
    padding: 1rem 0;
    border-radius: 0.5rem;
}

.nav-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

.nav-items .nav-item .nav-link {
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-items .nav-item .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.nav-items .nav-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    -webkit-text-stroke-width: unset;
}

/* 我的圈子新风格 */
.my-circles-container {
    width: 200px;
    flex-shrink: 0;
}

.my-circles-wrapper {
    border-radius: 10px;
}

.my-circles-grid {
    display: grid;
    gap: 20px;
}

.circle-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.circle-item:hover .circle-title {
    color: #4e7afd;
}

.circle-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
    border-radius: 4px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.circle-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-icon i {
    font-size: 20px;
    color: #aaa;
}

.circle-title {
    font-size: 15px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.view-more-btn {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.view-more-btn:hover {
    background: #e9e9e9;
    color: #333;
    text-decoration: none;
}

.empty-circles {
    padding: 15px 0;
}

.empty-circles p {
    font-size: 13px;
    margin-bottom: 10px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .vertical-nav-container,
    .my-circles-container {
        display: none; /* 在小屏幕上隐藏 */
    }
}