.voice-btn {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align:left;
}

.main-content {
    flex: 3;
}

.sidebar {
    flex: 1;
    min-width: 280px;
}


.sidebar-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* 上一篇/下一篇导航样式 */
.prev-next-nav {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.prev-link, .next-link {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 1.2rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.prev-link {
    align-items: flex-start;
}

.next-link {
    align-items: flex-end;
    text-align: right;
}

.prev-link:hover, .next-link:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prev-link span:first-child, .next-link span:first-child {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.prev-link:hover span:first-child, .next-link:hover span:first-child {
    color: white;
}

.prev-link span:last-child, .next-link span:last-child {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .prev-link, .next-link {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    color: #222;
}

hot-memes-list {
    list-style: none;
    padding: 0;
}

hot-memes-item {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
}

hot-memes-item:last-child {
    border-bottom: none;
}

hot-memes-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

hot-memes-item a:hover {
    color: #007bff;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-item {
    padding: 0.5rem 0;
}

.category-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.category-item a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
}
.search-container {
    display: flex;
    border: 2px solid #4e6ef2;
    border-radius: 24px;
    padding: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.search-box {
    /*flex: 1;*/
    /*border: none;*/
    /*padding: 16px 20px;*/
    /*font-size: 16px;*/
    /*outline: none;*/
    /*border-radius: 24px 0 0 24px;*/
    /*color: #000;*/
}
.voice-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    opacity: 0.8;
}
.voice-btn:hover svg {
    opacity: 1;
}
.hot-topics {
    background: rgba(255,255,255,.85);
    margin: 30px auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.topics-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topics-title {
    font-size: 16px;
    color: #222;
    font-weight: normal;
}
.topics-more {
    color: #4e6ef2;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}
.topics-more:hover {
    color: #0078d7;
    text-decoration: underline;
}
.topics-list {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.topic-item {
    padding: 8px 15px;
    margin: 5px;
    text-decoration: none;
    background: rgba(78, 110, 242, 0.1);
    border-radius: 20px;
    color: #222;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}
.topic-item:hover {
    background: rgba(78, 110, 242, 0.2);
    transform: translateY(-2px);
}
.topic-hot {
    position: relative;
}
.topic-hot::after {
    content: "热";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4f;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 10px;
    line-height: 1;
}
.meme-grid {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
}
.meme-card {
    /*background: rgb(0 0 0 / 44%);*/
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    /*overflow: visible;*/
    height: 150px;
    overflow: hidden;
}
.meme-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
}
.meme-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
    font-weight: normal;
}
.meme-title-link {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    height: 30px;
}
.meme-title-link:hover {
    color: #1890ff;
}
.meme-desc {
    color: #595757;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 50px;
    overflow: hidden;
}
.meme-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}
.meme-date {
    display: flex;
    align-items: center;
}
.meme-date svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: #888;
}
.meme-views {
    display: flex;
    align-items: center;
}
.meme-views svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: #888;
}
.meme-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
}
.pagination-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.pagination-item:hover, .pagination-item.active {
    background: #4e6ef2;
}
.pagination-ellipsis {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.loading-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}
.loading-indicator.visible {
    display: flex;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4e6ef2;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.footer {
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.848);
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .meme-grid {
        grid-template-columns: 1fr;
    }
    .filter-options, .sort-options {
        flex-wrap: wrap;
    }
    .nav-left a {
        margin-left: 10px;
        font-size: 14px;
    }
    .search-box {
        font-size: 14px;
        padding: 14px 16px;
    }
    .search-btn {
        width: 60px;
        font-size: 14px;
    }
    .page-title {
        font-size: 20px;
    }
}
.location-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}
.location-info svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: rgba(255, 255, 255, 0.6);
}
.location-nav {
    display: flex;
    align-items: center;
    margin-left: 15px;
}
.location-nav button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-nav button:hover {
    color: #fff;
}
.location-nav button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.loading-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.loading-indicator.visible {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4e6ef2;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.meme-title-link {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.meme-title-link:hover {
    color: #1890ff;
    text-decoration: none;
}
.meme-title-link {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.meme-title-link:hover {
    color: #1890ff;
    text-decoration: none;
}

/* 相关推荐区域样式 */
.related-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.related-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.related-card h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.related-card h3 a:hover {
    color: #4e6ef2;
}

.related-card p {
    color: #595757;
    font-size: 14px;
    line-height: 1.6;
}

/* 热梗百科区域样式 */
.wiki-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.wiki-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left;
}

.wiki-content p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.wiki-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 18px;
    font-weight: bold;
    color: #4e6ef2;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .categories-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .wiki-stats {
        flex-direction: column;
        gap: 15px;
    }
}

.two-column-layout {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.wiki-section, .hot-topics {
    flex: 1;
}
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }
}
.wiki-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.page-title {
    font-size: 24px;
    color: #fff;
    margin: 30px 0;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    text-align: left;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #fff;
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    font-size: 14px;
}
.breadcrumb .current {
    color: #fff;
    font-size: 14px;
}
.filter-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    text-align: left;
}
.filter-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-option {
    padding: 6px 12px;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-option:hover, .filter-option.active {
    background: #4e6ef2;
}
.sort-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sort-options {
    display: flex;
    gap: 15px;
}
.sort-option {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}
.sort-option:hover, .sort-option.active {
    color: #fff;
}
.sort-option.active::after {
    content: "";
    display: block;
    height: 2px;
    background: #4e6ef2;
    margin-top: 2px;
}
.result-count {
    color: rgba(255,255,255,.7);
    font-size: 14px;
}
.meme-grid {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
}
.meme-card {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
}
.meme-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
}
.meme-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
    font-weight: normal;
}
.meme-title-link {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}
.meme-title-link:hover {
    color: #1890ff;
}
.meme-desc {
    color: #595757;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.meme-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}
.meme-date {
    display: flex;
    align-items: center;
}
.meme-date svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: #888;
}
.meme-views {
    display: flex;
    align-items: center;
}
.meme-views svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: #888;
}
.meme-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
}
.pagination-item {
    width: 56px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.pagination-item:hover, .pagination-item.active {
    background: #4e6ef2;
}
.pagination-ellipsis {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.loading-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}
.loading-indicator.visible {
    display: flex;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4e6ef2;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.footer {
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.848);
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .meme-grid {
        grid-template-columns: 1fr;
    }
    .filter-options, .sort-options {
        flex-wrap: wrap;
    }
    .nav-left a {
        margin-left: 10px;
        font-size: 14px;
    }
    .search-box {
        font-size: 14px;
        padding: 14px 16px;
    }
    .search-btn {
        width: 60px;
        font-size: 14px;
    }
    .page-title {
        font-size: 20px;
    }
}
/* 面包屑导航 */
.breadcrumb {
    /*max-width: 800px;*/
    margin: 0 auto 20px;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: left;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #fff;
}
.breadcrumb span {
    margin: 0 8px;
}

/* 内容区域 */
.content-section {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.content-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.content-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #666;
}

.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-tag {
    padding: 4px 12px;
    background: rgba(78, 110, 242, 0.1);
    border-radius: 20px;
    color: #4e6ef2;
    font-size: 12px;
    transition: all 0.3s ease;
}

.content-tag a{
    color: #4285f4; text-decoration: none; padding: 2px 6px; border-radius: 3px;
}

.content-tag:hover {
    background: rgba(78, 110, 242, 0.2);
    transform: translateY(-2px);
}

.content-body {
    padding: 30px;
    color: #333;
}

.content-section-title {
    font-size: 20px;
    color: #222;
    margin: 25px 0 15px;
    font-weight: bold;
    border-left: 4px solid #4e6ef2;
    padding-left: 10px;
}

.content-section-title:first-child {
    margin-top: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.content-quote {
    background: rgba(78, 110, 242, 0.05);
    border-left: 4px solid #4e6ef2;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.content-example {
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.example-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.example-text {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.content-image {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 相关推荐区域 */
.related-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.related-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.related-card h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.related-card h3 a:hover {
    color: #4e6ef2;
}

.related-card p {
    color: #595757;
    font-size: 14px;
    line-height: 1.6;
}

/* 评论区域 */
.comments-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.comments-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

.comments-container {
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-submit {
    background: #4e6ef2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.comment-submit:hover {
    background: #3a5ad9;
}

.comment-list {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.comment-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.comment-user {
    font-weight: bold;
    color: #333;
}

.comment-date {
    color: #999;
    font-size: 12px;
}

.comment-content {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.footer {
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.848);
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .content-section {
        border-radius: 0;
        margin-bottom: 0;
    }

    .content-header {
        padding: 20px 15px;
    }

    .content-title {
        font-size: 22px;
    }

    .content-body {
        padding: 20px 15px;
    }

    .content-meta {
        flex-wrap: wrap;
    }

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

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

    .nav-left a {
        font-size: 14px;
        margin-left: 10px;
    }

    .logo {
        font-size: 20px;
    }
}

/* 内容区域 */
.content-section {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.content-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.content-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #666;
}

.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-tag {
    padding: 4px 12px;
    background: rgba(78, 110, 242, 0.1);
    border-radius: 20px;
    color: #4e6ef2;
    font-size: 12px;
    transition: all 0.3s ease;
}

.content-tag:hover {
    background: rgba(78, 110, 242, 0.2);
    transform: translateY(-2px);
}

.content-body {
    padding: 30px;
    color: #333;
}

.content-section-title {
    font-size: 20px;
    color: #222;
    margin: 25px 0 15px;
    font-weight: bold;
    border-left: 4px solid #4e6ef2;
    padding-left: 10px;
}

.content-section-title:first-child {
    margin-top: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.content-quote {
    background: rgba(78, 110, 242, 0.05);
    border-left: 4px solid #4e6ef2;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.content-example {
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.example-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.example-text {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.content-image {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 相关推荐区域 */
.related-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.related-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.related-card h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.related-card h3 a:hover {
    color: #4e6ef2;
}

.related-card p {
    color: #595757;
    font-size: 14px;
    line-height: 1.6;
}

/* 评论区域 */
.comments-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.comments-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

.comments-container {
    background: rgba(255,255,255,.85);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-submit {
    background: #4e6ef2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.comment-submit:hover {
    background: #3a5ad9;
}

.comment-list {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.comment-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.comment-user {
    font-weight: bold;
    color: #333;
}

.comment-date {
    color: #999;
    font-size: 12px;
}

.comment-content {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.main-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align:left;
}

.main-content {
    flex: 3;
}

.sidebar {
    flex: 1;
    min-width: 280px;
}



.sidebar-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* 上一篇/下一篇导航样式 */
.prev-next-nav {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.prev-link, .next-link {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 1.2rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.prev-link {
    align-items: flex-start;
}

.next-link {
    align-items: flex-end;
    text-align: right;
}

.prev-link:hover, .next-link:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prev-link span:first-child, .next-link span:first-child {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.prev-link:hover span:first-child, .next-link:hover span:first-child {
    color: white;
}

.prev-link span:last-child, .next-link span:last-child {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .prev-link, .next-link {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    color: #222;
}

.hot-memes-list {
    list-style: none;
    padding: 0;
}

.hot-memes-item {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
}

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

.hot-memes-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.hot-memes-item a:hover {
    color: #007bff;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-item {
    padding: 0.5rem 0;
}

.category-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.category-item a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
}
.search-container {
    display: flex
;
    border: 2px solid #4e6ef2;
    border-radius: 24px;
    padding: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.related-memes-container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding: 0.8rem 0; }
.related-meme-item { }
.related-meme-item:not(:last-child)::after { content: '|'; margin: 0 0.5rem; color: #ccc; }
.related-meme-link { text-decoration: none; color: #2c3e50; transition: color 0.2s; }
.related-meme-link:hover { color: #3498db; text-decoration: underline; }
.related-meme-plain { color: #7f8c8d; }
.related-meme-empty { color: #bdc3c7; font-style: italic; }


/* 点赞按钮样式 */
.like-button {
    background-color: #007bff;
    border: #007bff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 300ms;

    min-width: 120px;
    height: 45px;
    margin: 20px auto;
}

.like-button:hover {
    background-color: #4e6ef2; /* hover:bg-blue-700 */
}

.like-button:focus {
    outline: none; /* focus:outline-none */
    /*box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); !* focus:ring-2 focus:ring-blue-500 *!*/
    /*box-shadow: 0 0 0 2px rgba(17, 24, 39, 1), 0 0 0 4px rgba(59, 130, 246, 0.5); !* focus:ring-offset-2 focus:ring-offset-gray-900 *!*/
}

.like-button {

}

/*专题*/
.page-title { font-size: 24px; color: #fff; margin: 30px 0; text-align: left; }
.breadcrumb { display: flex; align-items: center; margin: 20px auto; text-align: left; }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, 0.4); margin: 0 8px; font-size: 14px; }
.breadcrumb .current { color: #fff; font-size: 14px; }
.filter-section { background: rgba(255,255,255,.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-radius: 12px; padding: 15px; text-align: left; margin-bottom: 30px; }
.filter-title { font-size: 16px; color: #fff; margin-bottom: 10px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-option { padding: 6px 12px; background: rgba(255,255,255,.2); border-radius: 20px; color: #fff; font-size: 14px; cursor: pointer; transition: all 0.3s; }
.filter-option:hover, .filter-option.active { background: #4e6ef2; }
.sort-section { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sort-options { display: flex; gap: 15px; }
.sort-option { color: rgba(255,255,255,.7); font-size: 14px; cursor: pointer; transition: color 0.3s; }
.sort-option:hover, .sort-option.active { color: #fff; }
.sort-option.active::after { content: ""; display: block; height: 2px; background: #4e6ef2; margin-top: 2px; }
.result-count { color: rgba(255,255,255,.7); font-size: 14px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; margin: 40px 0; }
.album-card { background: rgb(0 0 0 / 44%); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-radius: 12px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; position: relative; height: 100%; display: flex; flex-direction: column; }
.album-card:hover { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); }
.album-cover { width: 100%; height: 160px; overflow: hidden; position: relative; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.album-card:hover .album-cover img { transform: scale(1.08); }
.album-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 15px; }
.album-card:hover .album-overlay { opacity: 1; }
.album-play { width: 40px; height: 40px; background: rgba(78, 110, 242, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; }
.album-info { padding: 15px; flex: 1; display: flex; flex-direction: column;text-align:left; }
.album-title { text-decoration: none; font-size: 16px; color: #fff; margin-bottom: 8px; font-weight: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.album-meta { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); /*margin-top: auto;*/ }
.album-count, .album-views { display: flex; align-items: center; gap: 4px; }
.album-tag { position: absolute; top: 10px; right: 10px; background: #4e6ef2; color: white; font-size: 12px; padding: 2px 6px; border-radius: 10px; line-height: 1; z-index: 2; }
.album-tag.hot { background: #ff4d4f; }
.pagination { display: flex; justify-content: center; margin: 40px 0; gap: 10px; }
.pagination-item { width: 56px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; border-radius: 4px; text-decoration: none; transition: all 0.3s; }
.pagination-item:hover, .pagination-item.active { background: #4e6ef2; }

.album-header { display: flex; gap: 30px; margin-bottom: 40px; background: rgb(0 0 0 / 40%); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-radius: 12px; padding: 20px; }
.album-cover-large { width: 220px; height: 220px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.album-cover-large img { width: 100%; height: 100%; object-fit: cover; }
.album-info-detail { flex: 1; text-align: left; }
.album-title-large { font-size: 28px; color: #fff; margin-bottom: 15px; }
.album-meta-detail { display: flex; gap: 20px; margin-bottom: 15px; font-size: 14px; color: rgba(255,255,255,0.7); }
.album-description { line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 20px; margin-top: 15px; }
.album-actions { display: flex; gap: 15px; }
.album-action-btn { padding: 8px 16px; border-radius: 20px; border: none; font-size: 14px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 5px; }


.album-short-title {
    padding: 20px; border-radius: 8px; min-width: 100px; min-height: 80px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
    height: 160px;
}

.title-text {
    width: 220px;
    height: 220px;
    line-height: 220px;
}

.sentence-section {
    max-width: 1200px;
    padding: 20px;
    margin: 20px auto;
    background-color: #f8f9fac7;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sentence-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.sentence-item {
    flex: 1;
    min-width: calc(33.33% - 10px);
    padding: 12px 15px;
    background-color: white;
    border-radius: 8px;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    box-sizing: border-box;
}
.sentence-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sentence-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}
.sentence-item:hover a {
    color: #4a6cf7;
}
@media (max-width: 768px) {
    .sentence-section {
        padding: 15px;
        margin: 15px 0;
    }
    .section-title {
        font-size: 16px;
    }
    .sentence-item {
        padding: 10px 12px;
        font-size: 14px;
        min-width: calc(50% - 10px);
    }
}
.pagination-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.page-tab {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}
.page-tab.active {
    background-color: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}
.page-tab:hover:not(.active) {
    border-color: #4a6cf7;
    color: #4a6cf7;
}