/* Apple风格样式 - Mac应用商店风格 */
@charset "utf-8";

/* 基础变量 */
:root {
    --apple-blue: #007AFF;
    --apple-gray1: #8E8E93;
    --apple-gray2: #AEAEB2;
    --apple-gray3: #C7C7CC;
    --apple-gray4: #D1D1D6;
    --apple-gray5: #E5E5EA;
    --apple-gray6: #F2F2F7;
    --apple-text-primary: #1D1D1F;
    --apple-text-secondary: #3C3C43;
    --apple-text-tertiary: #8E8E93;
}

/* 应用网格布局 - 修改为4列 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.app-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 18px;
    padding: 15px 18px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #dddddd91;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    height: 260px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 6px 20px rgba(0, 122, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 122, 255, 0.15);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.app-card-news {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 18px;
    padding: 20px 18px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #dddddd91;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    height: auto;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.app-card-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
}

.app-card-news:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 6px 20px rgba(0, 122, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 122, 255, 0.15);
}
.app-icon-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.app-icon {
    margin-bottom: 0;
    transition: all 0.4s ease;
    position: relative;
}


.app-icon img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 35px;
    object-fit: cover;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /*border: 2px solid rgba(255, 255, 255, 0.9);*/
}

.app-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 0px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
    margin-top: 10px;
}

.app-title a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(135deg, #555564, #4c4948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-title a:hover {
    background: linear-gradient(135deg, #2e2e3b, #2a2a2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-version {
    background: rgba(0, 122, 255, 0.08);
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 500;
    color: var(--apple-blue);
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 8px;
    margin-bottom: 10px;
    display: inline-block;
    align-self: center;
    margin-top: 10px;
}
.app-language {
    background: rgba(0, 122, 255, 0.08);
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 500;
    color: var(--apple-blue);
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 8px;
    margin-bottom: 10px;
    display: inline-block;
    align-self: center;
    margin-top: 10px;
}
.app-typeyuyan {
    background: rgba(0, 122, 255, 0.08);
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 500;
    color: var(--apple-blue);
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 8px;
    margin-bottom: 10px;
    display: inline-block;
    align-self: center;
    margin-top: 10px;
    margin-left: 5px;
}
.app-card:hover .app-version {
    background: rgba(0, 122, 255, 0.12);
    border-color: rgba(0, 122, 255, 0.2);
    transform: translateY(-1px);
}

.app-category {
    font-size: 10px;
    color: var(--apple-text-tertiary);
    margin-top: auto;
    height: 1.3em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.app-time {
    font-size: 13px;
    color: var(--apple-text-tertiary);
    margin-top: auto;
    height: 1.3em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: -0.01em;
}
/* 应用详情页样式 */
.app-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 20px;
    padding: 40px 0;
    border-bottom: 1px solid var(--apple-gray5);
}

.app-icon-large img {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.app-detail-info {
    flex: 1;
    margin-top: -30px;
    color: #8a8a8e;
}

.app-detail-info .app-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--apple-text-primary);
    height: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em* 2);
}

.app-meta-large {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.app-meta-large span {
    background: var(--apple-gray6);
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--apple-text-secondary);
}

.app-category-large {
    font-size: 16px;
    color: var(--apple-text-tertiary);
}

.download-button {
    margin-top: 24px;
}

.btn-download {
    display: inline-block;
    background: #333;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background: #4c4948;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.3);
    color: white;
}

/* 内容区域样式 */
.app-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--apple-text-primary);
    border-bottom: 1px solid var(--apple-gray5);
    padding-bottom: 12px;
}

.content {
    line-height: 1.7;
    font-size: 16px;
    color: var(--apple-text-secondary);
}

.system-requirements, .whats-new {
    background: var(--apple-gray6);
    padding: 20px;
    border-radius: 12px;
    line-height: 1.6;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.system-requirements li:before {
    content: "•";
    color: var(--apple-blue);
    position: absolute;
    left: 0;
}

/* 网格头部 */
.app-grid-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.app-grid-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--apple-text-primary);
}

.app-grid-header p {
    font-size: 18px;
    color: var(--apple-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* 标签样式 */
.app-tags {
    margin: 40px 0;
    text-align: center;
}

.tag-link {
    display: inline-block;
    background: #ffffff;
    color: var(--apple-text-secondary);
    padding: 6px 12px;
    margin: 4px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid #d7d7d7;
}

.tag-link:hover {
    background: #333;
    color: white;
}

/* 软件信息网格样式 */
.software-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: #fbfbfb;
    padding: 24px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: var(--apple-text-primary);
    min-width: 100px;
    margin-right: 12px;
}

.info-value {
    color: var(--apple-text-secondary);
    flex: 1;
}

.info-value a {
    color: #3c3c43;
}

.info-value a:hover {
    text-decoration: none;
    color: #333;
}

/* 下载区域样式 */
/* .download-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--apple-gray5);
}*/

/* 导航栏Apple风格 */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.logo a {
    font-weight: 700;
    color: var(--apple-text-primary);
    font-size: 20px;
}

.nav ul li a {
    color: var(--apple-text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav ul li a:hover {
    color: var(--apple-blue);
}

/* 页脚样式 */
.footer {
    color: var(--apple-text-tertiary);
    padding: 40px 0;
    margin-top: 80px;
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .app-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        display: block;
        margin: 0 auto;
    }
    
    .app-detail-info .app-title {
        font-size: 24px;
    }
    
    .app-meta-large {
        justify-content: center;
    }
    
    .app-grid-header h1 {
        font-size: 32px;
    }
    
    .app-card {
        height: 260px;
        padding: 16px;
    }
    
    .app-icon img {
        width: 120px;
        height: 120px;
        border-radius: 30px;
    }
    
    .app-title {
        font-size: 15px;
        margin-top: 0px;
    }
    
    /* 软件信息网格响应式 */
    .software-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        margin-right: 0;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .app-card {
        height: 240px;
        padding: 14px;
        width: 300px;
        margin: 0 auto;
    }
    
    .app-detail-header {
        padding: 20px 0;
    }
    
    .app-icon-large img {
        width: 100px;
        height: 100px;
        border-radius: 24px;
        margin-bottom: 30px;
    }
    
    .app-detail-info .app-title {
        font-size: 20px;
    }
    
    .app-meta-large {
        gap: 8px;
    }
    
    .app-meta-large span {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .btn-download {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .app-grid-header h1 {
        font-size: 28px;
    }
    
    .app-grid-header p {
        font-size: 16px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeInUp 0.6s ease-out;
}

.app-card:nth-child(2) {
    animation-delay: 0.1s;
}

.app-card:nth-child(3) {
    animation-delay: 0.2s;
}

.app-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* 页面过渡效果 */
.aicaptor {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--apple-gray6);
}

::-webkit-scrollbar-thumb {
    background: var(--apple-gray3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--apple-gray2);
}

/* 选择文本样式 */
::selection {
    background: var(--apple-blue);
    color: white;
}

::-moz-selection {
    background: var(--apple-blue);
    color: white;
}

/* 移除链接的蓝色焦点框 */
a:focus,
button:focus {
    outline: none;
}



/* 确保按钮和链接在焦点时有视觉反馈 */
.btn-download:focus-visible,
.tag-link:focus-visible,
.app-title a:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
    border-radius: 6px;
}

/* 移除所有元素的默认焦点环 */
*:focus {
    outline: none;
}

/* 只为键盘导航提供焦点样式 */
/* *:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}*/

/* 打印样式 */
@media print {
    .app-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn-download {
        display: none;
    }
}
/* 应用详情页标签样式 - 确保高度一致 */
.app-meta-large {
    display: flow;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.app-meta-large span {
    background: var(--apple-gray6);
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--apple-text-secondary);
    font-weight: 500;
    line-height: 1.2;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-version {
    background: #f8f9fa !important;
    color: #a1a1a8 !important;
    border-color: #ddd !important;
    font-weight: bold !important;
}
.app-language {
    background: #f8f9fa !important;
    color: #a1a1a8 !important;
    border-color: #ddd !important;
    font-weight: bold !important;
}
.app-typeyuyan {
    background: #f8f9fa !important;
    color: #a1a1a8 !important;
    border-color: #ddd !important;
    font-weight: bold !important;
}
.app-type {
    background: rgba(52, 199, 89, 0.1) !important;
    color: #34C759 !important;
    border-color: rgba(52, 199, 89, 0.2) !important;
    margin-top: -10px !important;
}

.app-architecture {
    background: rgba(255, 149, 0, 0.1) !important;
    color: #FF9500 !important;
    border-color: rgba(255, 149, 0, 0.2) !important;
    margin-top: -10px !important;
}

/* 悬停效果 */
.app-meta-large span:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .app-meta-large {
        gap: 8px;
        justify-content: center;
    }
    
    .app-meta-large span {
        padding: 6px 12px;
        font-size: 13px;
        height: 32px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .app-meta-large {
        flex-wrap: wrap;
    }
    
    .app-meta-large span {
        padding: 5px 10px;
        font-size: 12px;
        height: 30px;
    }
}
/* 无下载内容提示样式 */
.no-download-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--apple-gray5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin: 20px 0;
}

.no-download-card .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 12px;
}

.no-download-card .info-icon {
    font-size: 24px;
}

.no-download-card .card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
}

.no-download-text {
    font-size: 16px;
    color: var(--apple-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-info {
    background: rgba(0, 122, 255, 0.08);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.contact-info p {
    font-size: 14px;
    color: var(--apple-blue);
    margin: 0;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .no-download-card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .no-download-card .card-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .no-download-text {
        font-size: 15px;
    }
}

/* 内容页三栏样式 */
/* ===== 三栏布局核心样式 ===== */

/* 三栏布局容器 */
.three-column-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* 主内容区域 */
.main-content {
    grid-column: 1;
    min-width: 0; /* 防止内容溢出 */
}

/* 侧边栏通用样式 */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* 左侧边栏 */
.left-sidebar {
    grid-column: 1;
    margin-top: 20px;
}

/* 右侧边栏 */
.right-sidebar {
    grid-column: 3;
    margin-top: 20px;
}

/* 侧边栏小工具通用样式 */
.sidebar-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e5ea;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--apple-text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 新闻列表样式 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    margin-bottom: 8px;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    color: var(--apple-text-secondary);
    border-bottom: 1px solid var(--apple-gray6);
}

.news-title {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-time {
    font-size: 12px;
    color: var(--apple-text-tertiary);
    margin-left: 10px;
    flex-shrink: 0;
}

/* 置顶列表样式 */
.sticky-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-item {
    margin-bottom: 10px;
}

.sticky-link {
    display: flex;
    padding: 10px;
    text-decoration: none;
    color: var(--apple-text-secondary);
    background: var(--apple-gray6);
    border-radius: 8px;
}

.sticky-icon {
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}

.sticky-info {
    flex: 1;
    min-width: 0;
}

.sticky-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-views {
    font-size: 11px;
    color: var(--apple-text-tertiary);
}

/* 无内容提示样式 */
.no-content {
    text-align: center;
    padding: 30px 20px;
    color: var(--apple-text-tertiary);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px dashed var(--apple-gray4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .three-column-layout {
        grid-template-columns: 260px 1fr 260px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .three-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .left-sidebar,
    .right-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .left-sidebar,
    .right-sidebar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-widget {
        padding: 18px;
    }
    
    .three-column-layout {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .sidebar-widget {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .widget-title {
        font-size: 15px;
    }
    
    .three-column-layout {
        padding: 0 10px;
    }
}

/* 右侧栏网格布局样式 - 保持您现有的样式，这里只补充缺失的 */
.related-grid,
.popular-grid,
.latest-grid {
    display: grid;
    gap: 12px;
}

.related-grid {
    grid-template-columns: 1fr;
}

.popular-grid {
    grid-template-columns: 1fr;
}

.latest-grid {
    grid-template-columns: 1fr;
}

/* 统一卡片样式 */
.related-card,
.popular-card,
.latest-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

/* 统一链接样式 */
.related-link,
.popular-link,
.latest-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

/* 统一图标样式 */
.related-icon,
.popular-icon,
.latest-icon {
    flex-shrink: 0;
    position: relative;
}

.related-icon img,
.latest-icon img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06);
    /* border: 2px solid rgba(255, 255, 255, 0.9);*/
}

.popular-icon img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06);
    /* border: 2px solid rgba(255, 255, 255, 0.9);*/
}

/* 统一信息区域样式 */
.related-info,
.popular-info,
.latest-info {
    flex: 1;
    min-width: 0;
}

/* 统一标题样式 */
.related-title,
.popular-title,
.latest-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--apple-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.related-title:hover,
.popular-title:hover,
.latest-title:hover {
    color: #157efb; /* 苹果风格的蓝色 */
}

/* 统一元信息样式 */
.related-meta,
.popular-views,
.latest-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-version,
.latest-version {
    font-size: 11px;
    color: #888;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #ddd;
}

.popular-views {
    font-size: 12px;
    color: var(--apple-text-tertiary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}


.latest-time {
    font-size: 11px;
    color: var(--apple-text-tertiary);
    font-weight: 500;
    white-space: nowrap;
}

/* 动画效果 */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-card,
.popular-card,
.latest-card {
    animation: cardAppear 0.4s ease-out;
}

.related-card:nth-child(2),
.popular-card:nth-child(2),
.latest-card:nth-child(2) {
    animation-delay: 0.1s;
}

.related-card:nth-child(3),
.popular-card:nth-child(3),
.latest-card:nth-child(3) {
    animation-delay: 0.2s;
}

.related-card:nth-child(4),
.popular-card:nth-child(4),
.latest-card:nth-child(4) {
    animation-delay: 0.3s;
}
/* 平板和移动端隐藏侧边栏 */
@media (max-width: 992px) {
    .three-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        grid-column: 1;
        width: 100%;
    }
}

/* 可选：在小屏幕上进一步优化主内容区域 */
@media (max-width: 768px) {
    .main-content {
        padding: 0 10px;
    }
    
    .app-detail-header {
        padding: 20px 0;
    }
    
    .content-section {
        margin-bottom: 30px;
    }
}
/* 软件信息网格移动端优化 */
@media (max-width: 768px) {
    .software-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .info-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid var(--apple-gray5);
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-label {
        min-width: 100px;
        margin-right: 16px;
        margin-bottom: 0;
        font-size: 14px;
        color: var(--apple-text-primary);
        font-weight: 600;
        flex-shrink: 0;
    }
    
    .info-value {
        font-size: 14px;
        color: var(--apple-text-secondary);
        text-align: left;
        word-break: break-word;
    }
    
    /* 确保特定项在一行显示 */
    .info-item .info-value {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .software-info-grid {
        padding: 12px;
        gap: 8px;
    }
    
    .info-item {
        padding: 6px 0;
        flex-wrap: nowrap;
    }
    
    .info-label {
        min-width: 90px;
        margin-right: 12px;
        font-size: 13px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    /* 对于特别长的内容允许换行 */
    .info-value[data-long] {
        white-space: normal;
        word-break: break-word;
    }
}

/* 别名样式 */
.app-alias {
    font-size: 13px;
    color: var(--apple-text-tertiary);
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 400;
    height: 1.3em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 220px;
}

/* 内容页别名样式 */
.article-alias {
    font-size: 14px;
    color: var(--apple-text-tertiary);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 400;
    font-style: italic;
}
/* 系统兼容性下拉样式 */
.system-compatibility-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.system-main {
    color: var(--text-color);
}

.dropdown-indicator {
    color: var(--accent-color);
    font-size: 0.9em;
    margin-left: 2px;
}

.system-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.system-dropdown-content .system-item {
    padding: 6px 12px;
    color: var(--text-color);
    font-size: 0.9em;
    border-bottom: 1px solid var(--border-color);
}

.system-dropdown-content .system-item:last-child {
    border-bottom: none;
}

.system-dropdown-content .system-item:hover {
    background: var(--hover-bg);
}

.system-compatibility-dropdown:hover .system-dropdown-content {
    display: block;
}

/* 确保下拉内容不会影响布局 */
.info-item {
    position: relative;
}
/* 常见问题手风琴样式 */
.detail-faq {
    margin-top: 20px;
}

.faq-accordion {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e1e5e9;
}

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

.faq-toggle {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-text {
    font-weight: 500;
    color: rgb(124 135 150 / 90%);
    flex: 1;
    font-size: 15px;
}

.faq-icon {
    color: #6c757d;
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-content {
    padding: 0 20px;
}

.faq-toggle:checked + .faq-question {
    background: #f8f9fa;
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 1000px;
    padding: 20px 0;
}

/* 问题内容样式 */
.faq-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #495057;
}

.faq-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.faq-content kbd {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: inherit;
}

.faq-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.faq-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* 语言兼容性下拉样式 */
.language-compatibility-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.language-compatibility-dropdown .dropdown-indicator {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-compatibility-dropdown:hover .dropdown-indicator {
    background: #e0e0e0;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 150px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
}

.language-compatibility-dropdown:hover .language-dropdown-content {
    display: block;
}

.language-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

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

.language-item:hover {
    background: #f8f9fa;
}

/* 系统兼容性下拉样式（确保也有） */
.system-compatibility-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.system-compatibility-dropdown .dropdown-indicator {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.system-compatibility-dropdown:hover .dropdown-indicator {
    background: #e0e0e0;
}

.system-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 150px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
}

.system-compatibility-dropdown:hover .system-dropdown-content {
    display: block;
}

.system-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

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

.system-item:hover {
    background: #f8f9fa;
}
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin: 0;
    list-style: none;
    font-size: 13px;
    color: #666;
    background: transparent;
    border-radius: 0;
    margin-bottom: -20px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    margin: 0 12px;
    font-size: 12px;
}

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

.breadcrumb-item a:hover {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item.active .ignore {
    color: #666;
   /*  font-weight: 500; */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 12px;
        padding: 8px 0;
        flex-wrap: wrap;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
    
    .breadcrumb-item.active {
        max-width: 100%;
    }
}

/* 首页列表搜索页更新ICO图标样式 */
.app-card {
    position: relative;
}

.new-badge {
    position: absolute;
    top: 5px;
    left: 5px;      /* 新发布图标在左上角 */
    z-index: 10;
}

.update-badge {
    position: absolute;
    top: 5px;
    left: 25px;     /* 更新图标在稍微靠右的位置 */
    z-index: 10;
}

.top-badge {
    position: absolute;
    top: 5px;
    right: 5px;     /* 置顶图标在右上角 */
    z-index: 10;
    color: #ff9800;
}

/* 为Font Awesome图标添加样式 */
.new-badge i {
    color: green;
    font-size: 14px;
    text-shadow: 0 0 2px white;
}

.update-badge i {
    color: red;
    font-size: 14px;
    text-shadow: 0 0 2px white;
}

.top-badge i {
    color: #ff9800;
    font-size: 14px;
    text-shadow: 0 0 2px white;
}
/* 内容页去掉官方网址下划线 */
.no-underline {
    text-decoration: none;
}

.no-underline:hover {
    text-decoration: none; /* 确保 hover 也不出现 */
    /* 可选：加一点颜色变化提示可点击 */
    color: #007bff;
}

/* 芯片架构容器 */
.chip-info-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.chip-display {
    color: var(--apple-text-secondary);
}

/* Tooltip 弹窗 - 向下显示 */
.chip-tooltip {
    position: absolute;
    top: 100%;               /* 改为从下方弹出 */
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    width: 560px;            /* 宽度适配两列 */
    max-width: calc(100vw - 20px); /* 防止溢出屏幕 */
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px); /* 初始向上偏移，hover时归位 */
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    margin-top: 8px;         /* 与主内容留空隙 */
}

/* 悬停显示 */
.chip-info-wrapper:hover .chip-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 两列布局 */
.chip-cols {
    display: flex;
    gap: 20px;
}

.chip-col {
    flex: 1;
    min-width: 0;
}

.chip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.chip-table td {
    padding: 4px 0;
    vertical-align: top;
}

.chip-table td:first-child {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    padding-right: 8px;
}

/* 底部说明文字 */
.chip-tooltip-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* 移动端响应式：单列显示 */
@media (max-width: 600px) {
    .chip-tooltip {
        width: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }
    .chip-info-wrapper:hover .chip-tooltip {
        transform: translateX(-50%) translateY(0);
    }
    .chip-cols {
        flex-direction: column;
        gap: 12px;
    }
}

/* FAQ 内部芯片对比 */
.chip-comparison {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.chip-col {
    flex: 1;
    min-width: 0;
}

.chip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.5;
}

.chip-table td {
    padding: 4px 0;
    vertical-align: top;
}

.chip-table td:first-child {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    padding-right: 8px;
}

/* 移动端：单列显示 */
@media (max-width: 680px) {
    .chip-comparison {
        flex-direction: column;
        gap: 16px;
    }
}

/*翻页样式*/
.pagebar {
    text-align: center;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
}

.pagebar a, .pagebar span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    min-width: 40px;
    text-align: center;
    margin-bottom: 10px;
}

.pagebar a:hover {
    border-color: #333;
    color: #333;
    background: #ffffff;
}

.pagebar .current {
    background: #333;
    color: white;
    border-color: #333;
    font-weight: 500;
}

.pagebar .prev, .pagebar .next {
    color: #333;
    font-weight: 500;
    min-width: 60px;
}
/* 分类菜单样式 */
.category {
    border-bottom: 1px solid var(--bs-border-color);
    text-align: center;
    padding: 2rem 0;
    background-color: #fff;
    margin-bottom: 2rem;
}

.category-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.category-inner a.item {
    color: rgba(0,0,0,.5);
    max-width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-inner a.item i {
    display: block;
    padding: 0.5rem;
    border-radius: 25%;
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    font-size: 3rem;
    line-height: 1;
    width: 4.5rem;
    height: 4.5rem;
    transition: all 0.3s ease;
    display: grid;
    align-items: center;
    border: 1px solid #d9ebff;
}

.category-inner a.item span.small {
    font-size: .875rem;
    line-height: 1.2;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 默认状态（灰色） */
.category-inner a.item {
    color: rgba(0,0,0,.5);
}

.category-inner a.item i {
    background-color: #f8f9fa;
    color: #b2b9be;
    border-color: #e9ecef;
}

/* 选中状态（黑色） */
.category-inner a.item.active {
    color: var(--bs-dark);
}

.category-inner a.item.active i {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: var(--bs-dark);
}

/* 悬停效果 */
.category-inner a.item:hover:not(.active) {
    transform: translateY(-4px);
    color: var(--bs-dark);
}

.category-inner a.item:hover:not(.active) i {
    background-color: #e9ecef;
    color: var(--bs-dark);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-inner {
        gap: 1.5rem;
    }
    
    .category-inner a.item {
        max-width: 5rem;
    }
    
    .category-inner a.item i {
        width: 4rem;
        height: 4rem;
        padding: 1rem;
        font-size: 3rem;
    }
    
    .category-inner a.item span.small {
        font-size: .8rem;
    }
}

@media (max-width: 480px) {
    .category-inner {
        gap: 1rem;
    }
    
    .category-inner a.item {
        max-width: 4.5rem;
    }
    
    .category-inner a.item i {
        width: 3.5rem;
        height: 3.5rem;
        padding: .875rem;
        font-size: 2.5rem;
    }
    
    .category-inner a.item span.small {
        font-size: .75rem;
    }
}

/* 临时基础样式 */
.aicaptor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #1d1d1f;
    
    /* ===== 两栏布局样式 ===== */

/* 两栏布局容器 */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
    margin: 0 auto;
}

/* 主内容区域 */
.main-content {
    grid-column: 1;
    min-width: 0; /* 防止内容溢出 */
}

/* 右侧边栏 */
.right-sidebar {
    grid-column: 2;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* 侧边栏小工具通用样式 */
.sidebar-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e5ea;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--apple-text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 无内容提示样式 */
.no-content {
    text-align: center;
    padding: 30px 20px;
    color: var(--apple-text-tertiary);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px dashed var(--apple-gray4);
}

/* 右侧栏网格布局样式 */
.related-grid,
.popular-grid,
.latest-grid {
    display: grid;
    gap: 12px;
}

.related-grid {
    grid-template-columns: 1fr;
}

.popular-grid {
    grid-template-columns: 1fr;
}

.latest-grid {
    grid-template-columns: 1fr;
}

/* 统一卡片样式 */
.related-card,
.popular-card,
.latest-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover,
.popular-card:hover,
.latest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 统一链接样式 */
.related-link,
.popular-link,
.latest-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

/* 统一图标样式 */
.related-icon,
.popular-icon,
.latest-icon {
    flex-shrink: 0;
    position: relative;
}

.related-icon img,
.latest-icon img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06);
}

.popular-icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06);
}

/* 统一信息区域样式 */
.related-info,
.popular-info,
.latest-info {
    flex: 1;
    min-width: 0;
    gap: 4px;
    flex-direction: column;
    display: flex;
}

/* 统一标题样式 */
.related-title,
.popular-title,
.latest-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--apple-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-title:hover,
.popular-title:hover,
.latest-title:hover {
    color: #157efb; /* 苹果风格的蓝色 */
}

/* 统一元信息样式 */
.related-meta,
.popular-views,
.latest-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-version,
.latest-version {
    font-size: 11px;
    color: #888;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #ddd;
}

.popular-views {
    font-size: 12px;
    color: var(--apple-text-tertiary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .right-sidebar {
        display: none; /* 在移动端隐藏右侧边栏 */
    }
    
    .main-content {
        grid-column: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 10px;
    }
    
    .app-detail-header {
        padding: 20px 0;
    }
    
    .content-section {
        margin-bottom: 30px;
    }
    
    .sidebar-widget {
        padding: 16px;
    }
}

/* 平板显示优化 */
@media (max-width: 1200px) and (min-width: 993px) {
    .two-column-layout {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
}

/* 与国外css冲突 */
.breadcrumb {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  margin-bottom: 1rem !important;
  list-style: none !important;
  border-radius: .25rem !important;
  background: transparent !important;
    background-color: transparent !important;
    padding: 2rem 0rem !important;
}

/* 内容页反馈图标样式 */
/* 下载按钮组样式 */
.download-button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: nowrap;
    align-items: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 140px;
    text-align: center;
    gap: 8px;
    max-width: 160px;
}

.btn-download:hover {
    background: #4c4948;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.3);
    color: white;
}

/* 反馈图标按钮样式 */
.btn-feedback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.btn-feedback-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #ccc;
    color: #666;
}

.btn-feedback-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-feedback-icon:hover img {
    transform: scale(1.1);
}

/* 反馈弹窗样式 */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.feedback-modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5ea;
}

.feedback-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.feedback-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8e8e93;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-close:hover {
    color: #1d1d1f;
}

.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d1d1f;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c7c7cc !important;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #007AFF;
}

.feedback-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.feedback-submit {
    background: #191919;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.feedback-submit:hover {
    background: #0056CC;
}

.feedback-submit:disabled {
    background: #c7c7cc;
    cursor: not-allowed;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .download-button-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn-download {
        flex: 1;
        min-width: auto;
    }
    
    .btn-feedback-icon {
        width: 56px;
        height: 56px;
    }
    
    .feedback-modal-content {
        margin: 20px;
        padding: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .download-button-group {
        flex-direction: column;
    }
    
    .btn-download {
        width: 100%;
    }
    
    .btn-feedback-icon {
        width: 100%;
        height: 56px;
    }
}
/* ===== 卡片悬停遮罩效果 ===== */
.app-card {
    position: relative;
    overflow: hidden;
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
}

.app-card:hover .card-hover-overlay {
    opacity: 1;
    visibility: visible;
}

/* 顶部区域：Logo和标题 */
.overlay-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.overlay-logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 12px;
}

.overlay-logo-link:hover {
    transform: scale(1.05);
}

/* 保持logo在顶部 */
.overlay-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* 遮罩层标题 */
.overlay-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.6em;
    width: 100%;
}

/* 按钮容器 */
.overlay-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* 通用按钮样式 */
.overlay-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 38px;
    position: relative;
    overflow: hidden;
}

.overlay-btn i {
    margin: 0 -5px;
    font-size: 12px;
}

/* 访问按钮 */
.btn-visit {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-visit:hover {
    background: linear-gradient(135deg, #0056CC, #0044AA);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
    color: white;
}

/* 详情按钮 */
.btn-detail {
    background: linear-gradient(135deg, #34C759, #28A745);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.btn-detail:hover {
    background: linear-gradient(135deg, #28A745, #1E7E34);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
    color: white;
}

/* 收藏按钮 */
.btn-favorite {
    background: linear-gradient(135deg, #FF9500, #E68500);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.btn-favorite:hover {
    background: linear-gradient(135deg, #E68500, #CC7400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
    color: white;
}

/* 按钮点击效果 */
.overlay-btn:active {
    transform: translateY(0) scale(0.98);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .overlay-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .overlay-btn {
        width: 100%;
        min-height: 36px;
        font-size: 11px;
    }
    
    .overlay-logo {
        width: 70px;
        height: 70px;
    }
    
    .overlay-title {
        font-size: 13px;
    }
}

/* 确保卡片内容在遮罩下方 */
.app-card > *:not(.card-hover-overlay) {
    position: relative;
    z-index: 10;
}

/* 确保收藏按钮与网站原有样式兼容 */
.favorite-btn.overlay-btn {
    font-family: inherit;
    line-height: normal;
}
/* 收藏按钮状态样式 */
.favorite-btn.favorited {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.favorite-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 确保按钮在加载状态时样式正确 */
.favorite-btn .fa-spinner {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.overlay-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.overlay-btn:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.overlay-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 特定按钮样式 */
.btn-visit {
    background: #10b981;
    color: white;
}

.btn-detail {
    background: #3b82f6;
    color: white;
}

.btn-favorite {
    background: #ef4444;
    color: white;
}

.btn-visit:hover {
    background: #059669;
}

.btn-detail:hover {
    background: #2563eb;
}

.btn-favorite:hover {
    background: #dc2626;
}
/* 需要VPN网络访问样式 */
.net-type-badge {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.vpn-badge {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
/* 支持平台图标的样式 */
.platform-separator {
    color: #ccc;
    margin: 0 8px;
    font-weight: normal;
}

.info-value .fab,
.info-value .fas {
    font-size: 20px;
    color: #666;
}

.info-value .fa-windows {
    color: #0078d7;
}

.info-value .fa-apple {
    color: #000;
}

.info-value .fa-mobile-alt {
    color: #34a853;
}

.info-value .fa-globe {
    color: #4285f4;
}

/* 排行榜样式 */
.rankings-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.rankings-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.rankings-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--apple-text-primary);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rankings-header p {
    font-size: 18px;
    color: var(--apple-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* 榜单导航 */
.rankings-nav {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--apple-gray5);
}

.rankings-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    max-width: 1000px;
}

.rankings-tab {
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    color: var(--apple-text-secondary);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.rankings-tab:hover {
    background: white;
    color: var(--apple-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rankings-tab.active {
    background: var(--apple-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

/* 榜单内容 */
.rankings-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.rankings-pane {
    display: none;
}

.rankings-pane.active {
    display: block;
    animation: rankingsFadeIn 0.5s ease-in;
}

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

.rankings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 榜单卡片 */
.rankings-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--apple-gray5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rankings-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 122, 255, 0.2);
}

.rankings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
}

/* 排名徽章 */
.rankings-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--apple-gray6);
    color: var(--apple-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.rankings-card.rankings-1 .rankings-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.rankings-card.rankings-2 .rankings-badge {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: white;
}

.rankings-card.rankings-3 .rankings-badge {
    background: linear-gradient(135deg, #CD7F32, #A66D2A);
    color: white;
}

/* 卡片内容布局 */
.rankings-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rankings-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rankings-card-icon {
    flex-shrink: 0;
}

.rankings-card-icon img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.rankings-card:hover .rankings-card-icon img {
    transform: scale(1.05);
}

.rankings-card-info {
    flex: 1;
    min-width: 0;
}

.rankings-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.rankings-card-title a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rankings-card-title a:hover {
    background: linear-gradient(135deg, #157efb, #0056CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rankings-card-brief {
    font-size: 14px;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rankings-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.rankings-card-category {
    background: rgba(0, 122, 255, 0.1);
    color: var(--apple-blue);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 500;
}

.rankings-card-count {
    color: var(--apple-text-tertiary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 操作按钮 */
.rankings-card-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.rankings-btn-detail, .rankings-btn-visit {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rankings-btn-detail {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.rankings-btn-detail:hover {
    background: #34C759;
    color: white;
    transform: translateY(-1px);
}

.rankings-btn-visit {
    background: rgba(0, 122, 255, 0.1);
    color: var(--apple-blue);
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.rankings-btn-visit:hover {
    background: var(--apple-blue);
    color: white;
    transform: translateY(-1px);
}

/* 空状态 */
.rankings-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--apple-text-tertiary);
}

.rankings-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.rankings-empty h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--apple-text-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .rankings-section {
        padding: 20px 0;
    }
    
    .rankings-header h1 {
        font-size: 32px;
    }
    
    .rankings-header p {
        font-size: 16px;
    }
    
    .rankings-content {
        padding: 20px;
        border-radius: 16px;
    }
    
    .rankings-tabs {
        gap: 6px;
    }
    
    .rankings-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .rankings-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .rankings-card-left {
        width: 100%;
    }
    
    .rankings-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .rankings-card {
        padding: 16px;
    }
    
    .rankings-card-title {
        font-size: 16px;
    }
    
    .rankings-card-brief {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .rankings-header h1 {
        font-size: 28px;
    }
    
    .rankings-content {
        padding: 16px;
        border-radius: 12px;
    }
    
    .rankings-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .rankings-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .rankings-card-left {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .rankings-card-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .rankings-card-actions {
        justify-content: center;
    }
}

/* 加载动画 */
@keyframes rankingsCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rankings-card {
    animation: rankingsCardFadeIn 0.6s ease-out;
}

.rankings-card:nth-child(2) { animation-delay: 0.1s; }
.rankings-card:nth-child(3) { animation-delay: 0.2s; }
.rankings-card:nth-child(4) { animation-delay: 0.3s; }
.rankings-card:nth-child(5) { animation-delay: 0.4s; }

/* 验证码样式 */
.verifycode-group {
    position: relative;
}

.verifycode-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verifycode-input {
    flex: 1;
}

.verifycode-img-container {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.verifycode-img {
    height: 40px;
    cursor: pointer;
    border-radius: 3px;
}

.verifycode-refresh {
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s;
}

.verifycode-refresh:hover {
    background: #e9ecef;
    color: #333;
}

/* 楼中楼回复样式 */
.comment-child {
    margin-left: 60px;
    position: relative;
    border-left: 3px solid #e9ecef;
    padding-left: 15px;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.comment-child::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 20px;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
}

.reply-relation {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
}

.reply-to-name {
    color: #007bff;
    font-weight: 500;
}

.reply-quote {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
}

.quote-author {
    color: #1976d2;
    font-weight: 500;
    margin-bottom: 4px;
}

.quote-author i {
    margin-right: 4px;
    opacity: 0.7;
}

.quote-content {
    color: #555;
    line-height: 1.4;
}

.comment-main-content {
    margin-top: 8px;
}

.children-indicator {
    font-size: 12px;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
}

.children-indicator i {
    margin-right: 4px;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .comment-child {
        margin-left: 30px;
        padding-left: 10px;
    }
    
    .verifycode-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .verifycode-img-container {
        justify-content: center;
        margin-top: 8px;
    }
}
/* 回复引用样式优化 */
.reply-quote {
    background: #f8f9fa;
    border-left: 3px solid #e9ecef;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 0 4px 4px 0;
    font-size: 0.9em;
}

.quote-header {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 4px;
}

.quote-author-name {
    color: #495057;
    font-weight: 600;
}

.quote-content {
    color: #6c757d;
    line-height: 1.4;
}

/* 子评论样式优化 */
.comment-children {
    margin-top: 16px;
    padding-left: 0;
    position: relative;
}

.comment-child {
    margin-bottom: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.comment-child .comment-child {
    background: #ffffff;
    margin-left: 0;
    border: 1px solid #e9ecef;
}

/* 评论头像大小调整 */
.comment-child .comment-avatar {
    width: 32px;
    height: 32px;
}

.comment-child .avatar {
    width: 32px;
    height: 32px;
}

/* 评论内容区域调整 */
.comment-child .comment-content {
    margin-left: 0px;
}

/* 取消回复按钮样式 */
.cancel-reply-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9em;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s;
}

.cancel-reply-btn:hover {
    color: #495057;
    background: #f8f9fa;
    text-decoration: none;
}

/* 评论表单头部布局 */
.comment-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* 回复按钮样式 */
.reply-btn {
    color: #007bff;
    text-decoration: none;
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}

.reply-btn:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

/* 评论元信息布局 */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85em;
    color: #6c757d;
}

/* 主评论样式 */
.comment-item:not(.comment-child) {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.comment-item:not(.comment-child):last-child {
    border-bottom: none;
}
