/* index.css - 手机黑科技无感同屏助手样式文件 */

/* 移动端基础样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    word-wrap: break-word;
    overflow-x: hidden;
}

/* 文本Logo样式 */
.text-logo {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.text-logo:hover {
    color: #0056b3;
    transform: translateY(-1px);
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* 移动端字体标准 */
h1 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #1a1a1a;
}

/* 时间戳样式 */
.timestamp {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

h3.subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.4;
    margin-top: 15px;
}

/* 视频容器样式 - 简单移动端优化 */
.video-wrapper {
    margin: 20px 0 25px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* iframe容器样式 */
.iframe-container {
    margin: 15px 0 25px 0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

/* 上一篇下一篇导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-link {
    flex: 1;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.nav-link:hover, .nav-link:active {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-link.prev {
    margin-right: 10px;
    border-left: 4px solid #007bff;
}

.nav-link.next {
    margin-left: 10px;
    border-right: 4px solid #007bff;
}

.nav-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.nav-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* 移动端文章列表优化 */
.article-list {
    margin-top: 20px;
}

.article-list a {
    display: block;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border-left: 4px solid #007bff;
}

.article-list a:active {
    background: #f0f7ff;
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.article-list small {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* 内容区域优化 - 合并样式 */
.content-container {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
    padding-left: 5px;
}

.content-body {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.content-body .result {
    margin-bottom: 20px;
}

.content-body .result:last-child {
    margin-bottom: 0;
}

.content-body .result p {
    margin: 0 0 15px 0;
}

.content-body .result p:last-child {
    margin-bottom: 0;
}

/* 评论区样式 */
.comments-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    padding-left: 5px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.comment-location {
    font-size: 0.8rem;
    color: #666;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
}

.comment-time {
    font-size: 0.8rem;
    color: #888;
}

.comment-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* 移动端按钮优化 */
.back-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,123,255,0.2);
    width: 100%;
}

.back-link:active {
    background: #0069d9;
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0,123,255,0.2);
}

/* 页脚样式 */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer p {
    margin: 8px 0;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 移动端错误信息 */
.error-msg {
    color: #dc3545;
    background: #f8d7da;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #f5c6cb;
}

/* 移动端响应式调整 */
@media (min-width: 768px) {
    body {
        max-width: 750px;
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .video-wrapper {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .iframe-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .content-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .comments-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .back-link {
        width: auto;
        min-width: 160px;
    }
    
    .article-navigation {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    h1 {
        color: #ffffff;
        border-bottom-color: #333;
    }
    
    .timestamp {
        color: #aaa;
    }
    
    .breadcrumb {
        background: #1e1e1e;
        color: #aaa;
    }
    
    .breadcrumb .current {
        color: #e0e0e0;
    }
    
    .article-list a {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .article-list a:active {
        background: #2a2a2a;
    }
    
    .video-wrapper {
        background: #000;
    }
    
    .iframe-container {
        background: #1e1e1e;
    }
    
    .content-container {
        background: #1e1e1e;
    }
    
    .content-title {
        color: #e0e0e0;
    }
    
    .content-body {
        color: #ccc;
    }
    
    .comments-container {
        border-top-color: #333;
    }
    
    .comments-title {
        color: #e0e0e0;
    }
    
    .comment-item {
        background: #2a2a2a;
        border-left-color: #007bff;
    }
    
    .comment-name {
        color: #e0e0e0;
    }
    
    .comment-location {
        background: #3a3a3a;
        color: #aaa;
    }
    
    .comment-time {
        color: #888;
    }
    
    .comment-content {
        color: #ccc;
    }
    
    .nav-link {
        background: #1e1e1e;
        color: #e0e0e0;
        border-color: #333;
    }
    
    .nav-link:hover {
        background: #2a2a2a;
    }
    
    .nav-title {
        color: #e0e0e0;
    }
    
    .footer {
        color: #aaa;
        border-top-color: #333;
    }
    
    .error-msg {
        background: #3d1a1a;
        color: #f8b4b4;
        border-color: #5c2c2c;
    }
}/* index.css - 手机黑科技无感同屏助手样式文件 */

/* 移动端基础样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    word-wrap: break-word;
    overflow-x: hidden;
}

/* 文本Logo样式 */
.text-logo {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.text-logo:hover {
    color: #0056b3;
    transform: translateY(-1px);
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* 移动端字体标准 */
h1 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #1a1a1a;
}

/* 时间戳样式 */
.timestamp {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

h3.subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.4;
    margin-top: 15px;
}

/* 视频容器样式 - 简单移动端优化 */
.video-wrapper {
    margin: 20px 0 25px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* iframe容器样式 */
.iframe-container {
    margin: 15px 0 25px 0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

/* 上一篇下一篇导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-link {
    flex: 1;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.nav-link:hover, .nav-link:active {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-link.prev {
    margin-right: 10px;
    border-left: 4px solid #007bff;
}

.nav-link.next {
    margin-left: 10px;
    border-right: 4px solid #007bff;
}

.nav-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.nav-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* 移动端文章列表优化 */
.article-list {
    margin-top: 20px;
}

.article-list a {
    display: block;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border-left: 4px solid #007bff;
}

.article-list a:active {
    background: #f0f7ff;
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.article-list small {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* 内容区域优化 - 合并样式 */
.content-container {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
    padding-left: 5px;
}

.content-body {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.content-body .result {
    margin-bottom: 20px;
}

.content-body .result:last-child {
    margin-bottom: 0;
}

.content-body .result p {
    margin: 0 0 15px 0;
}

.content-body .result p:last-child {
    margin-bottom: 0;
}

/* 评论区样式 */
.comments-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    padding-left: 5px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.comment-location {
    font-size: 0.8rem;
    color: #666;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
}

.comment-time {
    font-size: 0.8rem;
    color: #888;
}

.comment-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* 移动端按钮优化 */
.back-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,123,255,0.2);
    width: 100%;
}

.back-link:active {
    background: #0069d9;
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0,123,255,0.2);
}

/* 页脚样式 */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer p {
    margin: 8px 0;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 移动端错误信息 */
.error-msg {
    color: #dc3545;
    background: #f8d7da;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #f5c6cb;
}

/* 移动端响应式调整 */
@media (min-width: 768px) {
    body {
        max-width: 750px;
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .video-wrapper {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .iframe-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .content-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .comments-container {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .back-link {
        width: auto;
        min-width: 160px;
    }
    
    .article-navigation {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    h1 {
        color: #ffffff;
        border-bottom-color: #333;
    }
    
    .timestamp {
        color: #aaa;
    }
    
    .breadcrumb {
        background: #1e1e1e;
        color: #aaa;
    }
    
    .breadcrumb .current {
        color: #e0e0e0;
    }
    
    .article-list a {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .article-list a:active {
        background: #2a2a2a;
    }
    
    .video-wrapper {
        background: #000;
    }
    
    .iframe-container {
        background: #1e1e1e;
    }
    
    .content-container {
        background: #1e1e1e;
    }
    
    .content-title {
        color: #e0e0e0;
    }
    
    .content-body {
        color: #ccc;
    }
    
    .comments-container {
        border-top-color: #333;
    }
    
    .comments-title {
        color: #e0e0e0;
    }
    
    .comment-item {
        background: #2a2a2a;
        border-left-color: #007bff;
    }
    
    .comment-name {
        color: #e0e0e0;
    }
    
    .comment-location {
        background: #3a3a3a;
        color: #aaa;
    }
    
    .comment-time {
        color: #888;
    }
    
    .comment-content {
        color: #ccc;
    }
    
    .nav-link {
        background: #1e1e1e;
        color: #e0e0e0;
        border-color: #333;
    }
    
    .nav-link:hover {
        background: #2a2a2a;
    }
    
    .nav-title {
        color: #e0e0e0;
    }
    
    .footer {
        color: #aaa;
        border-top-color: #333;
    }
    
    .error-msg {
        background: #3d1a1a;
        color: #f8b4b4;
        border-color: #5c2c2c;
    }
}