* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.4;
    font-size: 14px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.site-logo {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.site-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid #0078d7;
    padding-left: 20px;
    margin-left: 10px;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.site-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.3;
    opacity: 0.9;
}

.main-content {
    display: flex;
    flex: 1;
    flex-direction: row;
    width: 90%;
    margin: 0 auto 15px;
    padding: 0;
    gap: 20px;
    align-items: flex-start;
}

.sidebar {
    width: 15%;
    min-width: 280px;
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: fit-content;
    max-height: calc(105vh - 200px);
    overflow-y: auto;
    position: sticky;
    top: 0;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.menu-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #0078d7;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    z-index: 1;
    flex-shrink: 0;
    cursor: pointer;
}

.menu-title i {
    margin-right: 8px;
    color: #0078d7;
    font-size: 1.1rem;
}

.menu-list-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 5px;
    scroll-behavior: smooth;
}

.menu-list {
    list-style: none;
    padding-bottom: 10px;
}

.menu-item {
    margin-bottom: 8px;
    scroll-margin-top: 60px;
    scroll-margin-bottom: 10px;
}

.main-menu, .home-menu {
    padding: 12px 14px;
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.main-menu:hover, .home-menu:hover {
    background-color: #eef2ff;
    border-left-color: #0078d7;
}

.main-menu.active, .home-menu.active {
    background-color: #eef2ff;
    border-left-color: #0078d7;
    color: #0078d7;
    font-weight: 600;
}

.home-menu {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.home-menu.active {
    background-color: #bbdefb;
}

.main-menu i {
    margin-right: 6px;
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.menu-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.menu-arrow.open {
    transform: rotate(90deg);
}

.submenu-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}

.submenu-list.open {
    max-height: 100%;
}

.submenu-item {
    padding: 8px 10px;
    margin: 4px 0;
    background-color: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    font-size: 0.85em;
    scroll-margin-top: 60px;
    scroll-margin-bottom: 10px;
}

.submenu-item:hover {
    background-color: #e9ecef;
    border-left-color: #0078d7;
}

.submenu-item.active {
    background-color: #e3f2fd;
    border-left-color: #0078d7;
    color: #0078d7;
    font-weight: 500;
}

.menu-count {
    background-color: #0078d7;
    color: white;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.sidebar::-webkit-scrollbar,
.menu-list-container::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.menu-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.menu-list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.menu-list-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.menu-list-container::-webkit-scrollbar {
    width: 6px;
}

.menu-list-container::-webkit-scrollbar-track {
    background: #f9f9f9;
    border-radius: 3px;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 85%;
    min-height: 0;
    height: fit-content;
}

.images-section.compact-layout {
    background-color: white;
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.images-section.compact-layout .images-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.images-section.compact-layout .images-title i {
    margin-right: 8px;
    color: #00bcf2;
    font-size: 1.2rem;
}

.images-section.compact-layout .image-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 80px;
    overflow: hidden;
}

.images-section.compact-layout .image-item:hover {
    background-color: #eef2ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 120, 215, 0.1);
    border-color: #0078d7;
}

.images-section.compact-layout .image-item.active {
    background-color: #eef2ff;
    border-color: #0078d7;
    box-shadow: 0 0 0 1px rgba(0, 120, 215, 0.1);
}

.images-section.compact-layout .image-item-first-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    min-height: 24px;
}

.images-section.compact-layout .image-item-title {
    font-weight: 700;
    font-size: 1.1em;
    color: #2c3e50;
    flex: 1;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 3em;
}

.images-section.compact-layout .image-item-version {
    background-color: #0078d7;
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 6px;
    flex-shrink: 0;
}

.images-section.compact-layout .image-item-second-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 1em;
    color: #666;
    min-height: 24px;
}

.info-badge, .download-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.8em;
    color: #495057;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
    background-color: #f0f3f7;
}

.info-badge i, .download-badge i {
    margin-right: 3px;
    font-size: 0.8em;
    flex-shrink: 0;
}

.info-badge.architecture {
    background-color: #e3f2fd;
    color: #1565c0;
}

.info-badge.language {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.info-badge.build {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.info-badge.date {
    background-color: #fff3e0;
    color: #ef6c00;
}

.info-badge.version {
    background-color: #e1f5fe;
    color: #0277bd;
}
.download-badge.baidu {
    background-color: #0066ff;
    color: white;
}

.download-badge.aliyun {
    background-color: #ff6a00;
    color: white;
}

.download-badge.official {
    background-color: #107c10;
    color: white;
}

.download-badge.other {
    background-color: #6c757d;
    color: white;
}

.detail-section {
    background-color: white;
    border-radius: 10px;
    padding: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.detail-content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.detail-header {
    margin-bottom: 1.8rem;
}

.detail-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 3em;
    line-height: 1.5em;
}

.detail-subtitle {
    font-size: 0.9em;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.detail-subtitle span {
    font-size: 0.85em;
}

.detail-content {
    margin-bottom: 2rem;
}

.detail-content p {
    margin-bottom: 1.2rem;
    color: #444;
    line-height: 1.6;
    font-size: 0.9em;
}

.detail-section-title {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.detail-section-title i {
    font-size: 1rem;
}

.feature-list, .requirement-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin: 1.2rem 0;
}

.feature-item, .requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.feature-item i, .requirement-item i {
    color: #0078d7;
    margin-right: 8px;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1rem;
}

.download-section {
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 1.8rem;
    margin-top: auto;
}

.download-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.download-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.download-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.download-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.download-icon.baidu {
    background: linear-gradient(135deg, #0066ff, #3399ff);
}

.download-icon.aliyun {
    background: linear-gradient(135deg, #ff6a00, #ff8c00);
}

.download-icon.official {
    background: linear-gradient(135deg, #107c10, #2ba02b);
}

.download-icon.other {
    background: linear-gradient(135deg, #6c757d, #868e96);
}
.download-icon.tianyi {
    background: linear-gradient(135deg, #0099ff, #0066cc);
}
.download-icon.mobile {
    background: linear-gradient(135deg, #00cc66, #009933);
}
.download-icon.uc {
    background: linear-gradient(135deg, #ff9900, #ff6600);
}
.download-icon.xunlei {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}
.download-icon.quark {
    background: linear-gradient(135deg, #9900ff, #6600cc);
}

.download-card-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.download-card-desc {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.download-card-code {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    color: #333;
    border: 1px solid #ddd;
    letter-spacing: 1px;
    font-weight: 600;
}

.extract-code-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: linear-gradient(135deg, #ff6a00, #ff8c3a);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.3s ease;
    font-weight: 600;
}

.extract-code-btn:hover {
    background: linear-gradient(135deg, #e55a00, #e57c2a);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(255, 106, 0, 0.3);
}

.extract-code-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(255, 106, 0, 0.3);
}

.extract-code-btn i {
    margin-right: 5px;
    font-size: 0.9em;
}

.extract-code-btn.baidu {
    background: linear-gradient(135deg, #0066ff, #3399ff);
}

.extract-code-btn.baidu:hover {
    background: linear-gradient(135deg, #0055e5, #2a88e5);
    box-shadow: 0 3px 6px rgba(0, 102, 255, 0.3);
}

.extract-code-btn.aliyun {
    background: linear-gradient(135deg, #ff6a00, #ff8c3a);
}

.extract-code-btn.aliyun:hover {
    background: linear-gradient(135deg, #e55a00, #e57c2a);
    box-shadow: 0 3px 6px rgba(255, 106, 0, 0.3);
}

.extract-code-btn.official {
    background: linear-gradient(135deg, #107c10, #4caf50);
}

.extract-code-btn.official:hover {
    background: linear-gradient(135deg, #0c6c0c, #3d9f40);
    box-shadow: 0 3px 6px rgba(16, 124, 16, 0.3);
}

.extract-code-btn.other {
    background: linear-gradient(135deg, #6c757d, #868e96);
}

.extract-code-btn.other:hover {
    background: linear-gradient(135deg, #5a6268, #727b84);
    box-shadow: 0 3px 6px rgba(108, 117, 125, 0.3);
}
.extract-code-btn.tianyi {
    background: linear-gradient(135deg, #0099ff, #0066cc);
}
.extract-code-btn.tianyi:hover {
    background: linear-gradient(135deg, #0088ee, #0055bb);
    box-shadow: 0 3px 6px rgba(0, 153, 255, 0.3);
}

.extract-code-btn.mobile {
    background: linear-gradient(135deg, #00cc66, #009933);
}
.extract-code-btn.mobile:hover {
    background: linear-gradient(135deg, #00bb55, #008822);
    box-shadow: 0 3px 6px rgba(0, 204, 102, 0.3);
}

.extract-code-btn.uc {
    background: linear-gradient(135deg, #ff9900, #ff6600);
}
.extract-code-btn.uc:hover {
    background: linear-gradient(135deg, #ee8800, #ee5500);
    box-shadow: 0 3px 6px rgba(255, 153, 0, 0.3);
}

.extract-code-btn.xunlei {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}
.extract-code-btn.xunlei:hover {
    background: linear-gradient(135deg, #ee0000, #bb0000);
    box-shadow: 0 3px 6px rgba(255, 0, 0, 0.3);
}

.extract-code-btn.quark {
    background: linear-gradient(135deg, #9900ff, #6600cc);
}
.extract-code-btn.quark:hover {
    background: linear-gradient(135deg, #8800ee, #5500bb);
    box-shadow: 0 3px 6px rgba(153, 0, 255, 0.3);
}

.download-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}
.download-btn, .copy-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    flex: 1;
    min-width: 0;
}

.download-btn i, .copy-link-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.download-btn {
    background: linear-gradient(to right, #0078d7, #00bcf2);
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 120, 215, 0.3);
}

.copy-link-btn {
    background: linear-gradient(to right, #6c757d, #868e96);
}

.copy-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.download-btn.baidu {
    background: linear-gradient(to right, #0066ff, #3399ff);
}

.download-btn.baidu:hover {
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.copy-link-btn.baidu {
    background: linear-gradient(to right, #0066ff, #3399ff);
}

.copy-link-btn.baidu:hover {
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.download-btn.aliyun {
    background: linear-gradient(to right, #ff6a00, #ff8c00);
}

.download-btn.aliyun:hover {
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

.copy-link-btn.aliyun {
    background: linear-gradient(to right, #ff6a00, #ff8c00);
}

.copy-link-btn.aliyun:hover {
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

.download-btn.official {
    background: linear-gradient(to right, #107c10, #2ba02b);
}

.download-btn.official:hover {
    box-shadow: 0 4px 10px rgba(16, 124, 16, 0.3);
}

.copy-link-btn.official {
    background: linear-gradient(to right, #107c10, #2ba02b);
}

.copy-link-btn.official:hover {
    box-shadow: 0 4px 10px rgba(16, 124, 16, 0.3);
}

.download-btn.other {
    background: linear-gradient(to right, #6c757d, #868e96);
}

.download-btn.other:hover {
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}
.download-btn.tianyi, .copy-link-btn.tianyi {
    background: linear-gradient(to right, #0099ff, #0066cc);
}
.download-btn.tianyi:hover, .copy-link-btn.tianyi:hover {
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
}

.download-btn.mobile, .copy-link-btn.mobile {
    background: linear-gradient(to right, #00cc66, #009933);
}
.download-btn.mobile:hover, .copy-link-btn.mobile:hover {
    box-shadow: 0 4px 10px rgba(0, 204, 102, 0.3);
}

.download-btn.uc, .copy-link-btn.uc {
    background: linear-gradient(to right, #ff9900, #ff6600);
}
.download-btn.uc:hover, .copy-link-btn.uc:hover {
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
}

.download-btn.xunlei, .copy-link-btn.xunlei {
    background: linear-gradient(to right, #ff0000, #cc0000);
}
.download-btn.xunlei:hover, .copy-link-btn.xunlei:hover {
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.download-btn.quark, .copy-link-btn.quark {
    background: linear-gradient(to right, #9900ff, #6600cc);
}
.download-btn.quark:hover, .copy-link-btn.quark:hover {
    box-shadow: 0 4px 10px rgba(153, 0, 255, 0.3);
}
.copy-link-btn.other {
    background: linear-gradient(to right, #6c757d, #868e96);
}

.copy-link-btn.other:hover {
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.back-home-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.back-home-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.back-home-btn:hover {
    background-color: #005a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 120, 215, 0.3);
}

.copy-success {
    position: fixed;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.copy-success.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-success i {
    font-size: 1em;
}

.copy-error {
    position: fixed;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc3545, #e4606d);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.copy-error.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-error i {
    font-size: 1em;
}

.welcome-content, .no-images-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.welcome-hero, .no-images-content {
    text-align: center;
    margin-bottom: 25px;
}

.welcome-icon, .no-images-icon {
    font-size: 3rem;
    color: #0078d7;
    margin-bottom: 12px;
}

.welcome-hero h2, .no-images-title {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 8px;
}

.welcome-subtitle, .no-images-subtitle {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
}

.no-images-icon {
    font-size: 4rem;
    color: #6c757d;
    opacity: 0.7;
}

.no-images-subtitle {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.welcome-features, .no-images-suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.feature-card, .suggestion-card {
    background-color: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .suggestion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card {
    border-left: 3px solid #0078d7;
}

.suggestion-card {
    border-top: 3px solid #0078d7;
}

.feature-icon, .suggestion-icon {
    font-size: 1.6rem;
    color: #0078d7;
    margin-bottom: 10px;
}

.suggestion-icon {
    font-size: 2rem;
}

.feature-card h3, .suggestion-card h3 {
    font-size: 1em;
    color: #2c3e50;
    margin-bottom: 8px;
}

.feature-card p, .suggestion-card p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

.usage-guide, .quick-tips {
    margin-bottom: 25px;
}

.usage-guide h3, .quick-tips h3 {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.usage-guide h3 i {
    margin-right: 8px;
    color: #0078d7;
    font-size: 1.1rem;
}

.quick-tips h3 i {
    margin-right: 8px;
    color: #ffc107;
    font-size: 1.1rem;
}

.guide-steps {
    display: grid;
    gap: 12px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.step-number {
    width: 35px;
    height: 35px;
    background-color: #0078d7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1em;
    color: #2c3e50;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

.quick-tips ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-tips li {
    padding: 10px 12px;
    padding-left: 35px;
    position: relative;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 0.9em;
}

.quick-tips li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #2c3e50;
    color: white;
    margin-top: 15px;
    width: 100%;
}

.footer-container {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
}

footer p {
    font-size: 0.85em;
}

.social-section {
    text-align: center;
    margin: 20px 0;
    padding: 0 10px;
}

.social-section h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
}

.social-grid {
    max-width: 100%;
    margin: 0 auto;
}

.social-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.social-item {
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.img-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.social-item:hover .img-box {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.social-item:hover .img-box img {
    transform: scale(1.05);
}

.social-text {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: #0078d7;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 10001;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

.mobile-menu-toggle i {
    font-size: 1.1rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
        max-height: 100vh;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        flex-direction: column;
        padding: 12px;
        width: 100%;
        gap: 15px;
    }
    
    .header-container, .footer-container {
        width: 100%;
        padding: 0 12px;
    }
    
    header {
        background-color: white;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .logo-container {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .site-title-container {
        padding-left: 15px;
        margin-left: 0;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .site-subtitle {
        font-size: 14px;
    }
    
    .site-logo img {
        width: 180px;
    }
    
    .content {
        width: 100%;
    }
    
    .images-section.compact-layout .images-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-list, .requirement-list, 
    .welcome-features, .no-images-suggestions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .quick-tips ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .images-section.compact-layout {
        padding: 1rem;
    }
    
    .images-section.compact-layout .images-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .images-section.compact-layout .image-item {
        padding: 12px;
    }
    
    .images-section.compact-layout .image-item-second-row {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .images-section.compact-layout .info-badge {
        font-size: 0.75em;
        padding: 1px 4px;
    }
    
    .download-links {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        justify-items: center;
    }
    
    .download-card {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem;
    }
    
    .download-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .download-btn, .copy-link-btn {
        width: 100%;
    }
    
    .download-card-header {
        margin-bottom: 1.2rem;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }
    
    .download-card-desc {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 8px;
    }
    
    .download-card-code {
        font-size: 1em;
        padding: 4px 8px;
    }
    
    .extract-code-btn {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .back-home-btn {
        width: 100%;
        padding: 12px;
        font-size: 1em;
    }
    
    .header-container {
        flex-direction: row;
        align-items: center;
    }
    
    .welcome-hero h2, .no-images-title {
        font-size: 1.6em;
    }
    
    .welcome-subtitle, .no-images-subtitle {
        font-size: 0.95em;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .step-number {
        margin: 0 auto 8px;
    }
    
    .no-images-icon {
        font-size: 3rem;
    }
    
    .detail-title {
        font-size: 1.6em;
    }
    
    .social-row {
        gap: 15px;
    }
    
    .img-box {
        width: 180px;
        height: 180px;
    }
    
    .social-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .detail-section, .images-section.compact-layout {
        padding: 1rem;
    }
    
    .detail-title {
        font-size: 1.4rem;
    }
    
    .sidebar {
        width: 85%;
    }
    
    .mobile-menu-toggle {
        padding: 8px 12px;
        top: 12px;
        right: 12px;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle i {
        font-size: 1.1rem;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .site-logo {
        width: 40px;
        height: 40px;
    }
    
    .site-logo img {
        width: 150px;
    }
    
    .site-title-container {
        padding-left: 12px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .site-subtitle {
        font-size: 12px;
    }
    
    .images-section.compact-layout .images-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .images-section.compact-layout .image-item-second-row {
        justify-content: flex-start;
    }
    
    .download-actions {
        gap: 6px;
    }
    
    .download-btn, .copy-link-btn, .back-home-btn {
        padding: 10px;
        font-size: 0.95em;
    }
    
    .download-card {
        padding: 1rem;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .download-card-title {
        font-size: 1.1em;
    }
    
    .download-card-desc {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .download-card-code {
        margin-right: 8px;
    }
    
    .social-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-item {
        width: 100%;
        max-width: 300px;
    }
    
    .img-box {
        width: 200px;
        height: 200px;
    }
}
        .search-container {
            display: flex;
            align-items: center;
            max-width: 400px;
            width: 100%;
            margin: 0 20px;
            position: relative;
        }
        
        .search-input {
            flex: 1;
            padding: 6px 12px 6px 40px;
            border: 1px solid #ddd;
            border-radius: 20px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            border-color: #2196f3;
            box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
        }
        
        .search-icon {
            position: absolute;
            left: 15px;
            color: #666;
            font-size: 16px;
        }
        
        .search-clear {
            position: absolute;
            right: 15px;
            color: #999;
            cursor: pointer;
            font-size: 16px;
            display: none;
        }
        
        .search-clear.visible {
            display: block;
        }
        
        .search-btn {
            margin-left: 10px;
            padding: 6px 12px;
            background-color: #2196f3;
            color: white;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s ease;
        }
        
        .search-btn:hover {
            background-color: #1976d2;
        }
        
        .search-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .search-results-title {
            font-size: 18px;
            color: #333;
        }
        
        .search-results-count {
            color: #2196f3;
            font-weight: bold;
        }
        
        .clear-search-btn {
            padding: 5px 10px;
            background-color: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #666;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
        }
        
        .clear-search-btn:hover {
            background-color: #eee;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            .search-container {
                max-width: 100%;
                margin: 10px 0;
            }
            
            .header-container {
                flex-wrap: wrap;
                justify-content: space-between;
            }
        }

#floatingImage {
    position: fixed !important;
    z-index: 99999 !important;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(0, 200, 255, 0.3),
        0 0 40px rgba(0, 150, 255, 0.1);
    background: linear-gradient(45deg, #00a8ff, #0097e6);
    transition: all 0.5s ease;
    cursor: pointer;
    transform-origin: center center;
    top: auto;
    bottom: 20px;
    left: auto;
    right: 20px;
    animation: shadowPulseRotate 4s ease-in-out infinite;
    transform: none; 
}

#floatingImage:hover {
    animation-play-state: paused;
    box-shadow: 
        0 0 30px rgba(0, 200, 255, 0.6),
        0 0 60px rgba(0, 150, 255, 0.3);
    background: linear-gradient(45deg, #0097e6, #00b5ff);
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.1);
}

/* 阴影脉动旋转动画 */
@keyframes shadowPulseRotate {
    0% {
        box-shadow: 
            0 0 20px rgba(0, 200, 255, 0.3),
            0 0 40px rgba(0, 150, 255, 0.1);
    }
    25% {
        box-shadow: 
            8px 8px 25px rgba(0, 200, 255, 0.4),
            15px 15px 50px rgba(0, 150, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 200, 255, 0.5),
            0 0 60px rgba(0, 150, 255, 0.3);
    }
    75% {
        box-shadow: 
            -8px 8px 25px rgba(0, 200, 255, 0.4),
            -15px 15px 50px rgba(0, 150, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 0 20px rgba(0, 200, 255, 0.3),
            0 0 40px rgba(0, 150, 255, 0.1);
    }
}

#floatingImage img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important; /* 消除图片底部空白 */
}


/* 图片轮播样式 */
.image-carousel {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-slides {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*background-color: #f8f9fa;*/
}

/* 轮播按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 18px;
}

.carousel-btn:hover {
    background-color: rgba(0,0,0,0.7);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
}

.indicator.active {
    background-color: white;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .carousel-slides {
        height: 250px;
    }
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

.friend-links-section {
    margin: 20px auto;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-width: 100%; /* 限制最大宽度，适配大屏 */
    width: 100%; /* 适配小屏 */
    text-align: center; /* 文字居中 */
    /*background-color: #f9f9f9; */
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* 轻微阴影 */
}
.friend-links-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    display: inline-block; /* 标题居中 */
    padding-bottom: 8px;
    border-bottom: 2px solid #2196f3; /* 标题下划线 */
}
.friend-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* 加大间距 */
    justify-content: center; /* 水平居中 */
    align-items: center;
}
.friend-link-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease; /* 过渡动画 */
}
.friend-link-item a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #2196f3; /*  hover变色 */
    border-color: #2196f3;
    transform: translateY(-2px); /* 轻微上浮 */
    box-shadow: 0 2px 5px rgba(33,150,243,0.2);
}

/* 备案信息样式 */
.record-info-section {
    margin: 10px 0;
}
.record-link {
    color: #f9f9f9;
    font-size: 12px;
    text-decoration: none;
}
.record-link:hover {
    text-decoration: underline;
    color: #2196f3;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .friend-links-list {
        flex-wrap: wrap;
        gap: 10px;
    }
    .friend-links-title {
        font-size: 14px;
    }
    .friend-link-item a {
        font-size: 13px;
        padding: 5px 10px;
    }
    .record-link {
        font-size: 11px;
    }
}
/* 返回顶部按钮样式 */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #2196f3;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* 悬停效果 */
.back-to-top:hover {
    background-color: #1976d2;
    transform: scale(1.1);
}

/* 响应式调整 - 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
        bottom: 80px;
        right: 15px;
    }
}

/* 移动端隐藏（768px及以下屏幕） */
@media (max-width: 768px) {
    .back-to-top {
        display: none !important; /* 强制隐藏 */
    }
}
    /* 弹窗遮罩层 */
    .daily-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none; /* 默认隐藏 */
        align-items: center;
        justify-content: center;
    }

    /* 弹窗容器 */
    .daily-popup-container {
        width: var(--popup-width, 350px);
        background: var(--popup-bg, #ffffff);
        border-radius: 8px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    /* 弹窗标题栏 */
    .daily-popup-header {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .daily-popup-title {
        margin: 0;
        color: var(--popup-title-color, #333333);
        font-size: 18px;
        font-weight: 600;
    }

    .daily-popup-close {
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        cursor: pointer;
        font-size: 20px;
        color: #999;
        transition: color 0.2s;
    }

    .daily-popup-close:hover {
        color: #ff4444;
    }

    /* 弹窗内容区 */
    .daily-popup-content {
        padding: 20px;
        color: var(--popup-content-color, #666666);
        font-size: 14px;
        line-height: 1.6;
    }

    /* 弹窗按钮区 */
    .daily-popup-footer {
        padding: 10px 20px;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: center;
    }

    .daily-popup-confirm {
        padding: 8px 24px;
        background: var(--popup-btn-bg, #007bff);
        color: var(--popup-btn-text, #ffffff);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.2s;
    }

    .daily-popup-confirm:hover {
        opacity: 0.9;
    }
