/* 语义化HTML结构辅助样式 */
/* 注意：这些样式是为了支持新的HTML结构，不会影响现有的style.css */

/* 屏幕阅读器专用隐藏类 */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 网站头部结构 */
.site-header {
    /* 继承现有样式，不添加新样式 */
}

.header-content {
    /* 为了更好的布局，可以在这里添加flex布局 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.search-container {
    /* 搜索容器样式 */
}

/* 主导航 */
.main-nav {
    /* 继承现有nav样式 */
}

/* 主要内容区域 */
.main-content {
    /* 继承现有样式 */
}

/* 章节区域 */
.hero-section,
.category-section,
.updates-section,
.tags-section {
    /* 这些section继承现有的row样式 */
}

/* 小说卡片组件 */
.novel-card {
    /* 继承现有的item样式 */
}

.novel-info {
    /* 继承现有的dl样式 */
}

.novel-title {
    /* 继承现有的dt样式 */
}

.novel-desc {
    /* 继承现有的dd样式 */
}

/* 小说列表项 */
.novel-list-item {
    /* 继承现有的li样式 */
}

.category-tag {
    /* 继承现有的s1样式 */
}

.novel-title {
    /* 继承现有的s2样式 */
}

.latest-chapter {
    /* 继承现有的s3样式 */
}

.author-name {
    /* 继承现有的s4样式 */
}

.update-time {
    /* 继承现有的s5样式 */
}

/* 网站底部 */
.site-footer {
    /* 继承现有footer样式 */
}

.footer-content {
    /* 底部内容布局 */
}

.disclaimer {
    /* 免责声明样式 */
    margin-bottom: 20px;
}

.footer-links {
    /* 底部链接样式 */
    text-align: center;
    margin: 15px 0;
}

.footer-links a {
    margin: 0 10px;
    color: #666;
    text-decoration: none;
}

.footer-links a:hover {
    color: #E91E63;
}

.copyright {
    /* 版权信息样式 */
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #999;
}

/* 浮动提示框 */
.float-notice {
    /* 继承现有的shuqian样式 */
}

/* 标签导航 */
.tags-nav {
    /* 继承现有样式 */
}

/* 响应式辅助 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        margin-top: 10px;
        width: 100%;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

/* 无障碍辅助 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .novel-link,
    .chapter-link,
    .title-link {
        text-decoration: underline;
    }
}

/* 打印样式 */
@media print {
    .topbar,
    .main-nav,
    .site-footer,
    .float-notice {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
}
