/* ===================================
   Thirteen Theme - 基础样式
   =================================== */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: calc(100vh + 1px);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 758px;
    margin: 0 auto;
    padding: 0;
}

/* 头部样式 */
.site-header {
    background-color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 65px;
    overflow: visible;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
}

.site-logo {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.2s;
}

.site-logo:hover {
    opacity: 0.7;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.logo-text {
    color: #111;
    font-weight: 500;
    font-size: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.header-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    font-size: 14px;
}

.header-btn svg {
    stroke-width: 2;
}

.divider {
    width: 2px;
    height: 20px;
    background-color: #e5e7eb;
}

.divider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 0;
    margin-right: 16px;
}

.header-btn#navToggle {
    position: relative;
    cursor: pointer;
}

.header-btn#navToggle::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -10px;
    right: -10px;
}

.search-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    padding: 6px 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.search-btn svg {
    stroke-width: 2;
    width: 16px;
    height: 16px;
}

.search-shortcut {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

/* 导航面板 */
.nav-panel {
    position: fixed;
    top: 65px;
    right: 50px;
    background-color: #fff;
    border: none;
    box-shadow: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
    pointer-events: none;
}





.nav-panel-container {
    padding: 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #333;
}

.nav-item-title {
    font-weight: 400;
    color: #666;
}

.nav-item-divider {
    margin: 0 10px;
    color: #666;
    font-weight: 200;
}

.nav-item-english {
    color: #666;
    font-weight: 400;
    font-size: 15px;
}

.nav-item + .nav-item {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}



/* 公告栏 */
.announcement-bar {
    background-color: #f3f4f5;
    color: #666;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    width: 100%;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-icon {
    color: #f59e0b;
    margin-right: 6px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.announcement-content a {
    color: #666;
    text-decoration: underline;
}

.announcement-content a:hover {
    color: #333;
}

/* 主内容区域 */
.site-main {
    min-height: calc(100vh - 300px);
}

/* 首页板块 */
.hero-section {
    background-color: #fff;
    padding: 80px 0 0 0;
}

.hero-container {
    max-width: 758px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 10px;
}

/* 左侧统计面板 */
.hero-stats {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 个人头像和简介 */
.stats-profile {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.stats-bio {
    flex: 1;
    font-size: 15px;
    color: #374151;
    line-height: 1.4;
    font-weight: 330;
}

.stats-title {
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

/* 统计卡片 */
.stats-grid {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0;
}

.stats-item {
    text-align: center;
    padding: 8px 8px;
    position: relative;
}

/* 垂直分隔线（右边框） */
.stats-item:nth-child(3n+1),
.stats-item:nth-child(3n+2) {
    border-right: 1px solid #e5e7eb;
}

.stats-number {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

.stats-label {
    font-size: 9px;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* GitHub热力图 */
.heatmap-wrapper {
    background: transparent;
    border-radius: 4px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.heatmap-row {
    display: flex;
    gap: 2px;
    width: 100%;
}

.heatmap-cell {
    flex: 1;
    height: 14px;
    min-width: 0;
    border-radius: 2px;
    background: #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.heatmap-cell:hover {
    transform: scale(1.15);
    outline: 1px solid rgba(0,0,0,0.3);
    z-index: 10;
}

/* 自定义 tooltip */
.heatmap-cell:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    padding: 3px 6px;
    background: #1f2937;
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
    border-radius: 3px;
    z-index: 100;
    pointer-events: none;
}

.heatmap-cell.level-0 {
    background: #e5e7eb;
}

.heatmap-cell.level-1 {
    background: #c0c4c8;
}

.heatmap-cell.level-2 {
    background: #9a9fa5;
}

.heatmap-cell.level-3 {
    background: #747a82;
}

.heatmap-cell.level-4 {
    background: #4e565f;
}

/* 右侧轮播Banner - 全新重构 */
.hero-carousel {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

/* 轮播容器 */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播项 */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-color: #e8e8e8;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

/* 渐变遮罩 */
.carousel-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 文字信息 */
.carousel-info {
    position: absolute;
    bottom: 5px;
    left: 15px;
    z-index: 2;
    color: #fff;
}

.carousel-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.3;
}

.carousel-title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* 箭头 */
.carousel-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    color: #333;
}

.carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 页脚样式 */
.site-footer {
    background-color: #fff;
    color: #666;
    padding: 80px 0;
    margin-top: 0;
    text-align: center;
}

.footer-container {
    max-width: 758px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-line {
    font-size: 12px;
    line-height: 1.6;
}

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

.footer-line a:hover {
    color: #333;
}

/* 内联小彩块条 */
.footer-color-bar-inline {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: red;
    vertical-align: middle;
    margin-left: 8px;
    box-shadow: 
        4px 0 orange, 
        8px 0 #ff0, 
        12px 0 #0f0, 
        16px 0 #0ff, 
        20px 0 #00f, 
        24px 0 #f0f;
}

.footer-divider {
    margin: 0 8px;
}

/* 网站名称包裹器 - 相对定位 */
.footer-site-wrapper {
    position: relative;
    display: inline-block;
}

/* 色块条 - 使用 box-shadow 技巧生成一排色块，位于网站名字下方 */
.footer-color-bar {
    display: block;
    width: 4px;
    height: 4px;
    background-color: red;
    position: absolute;
    bottom: -3px;
    left: 0;
    box-shadow: 
        4px 0 orange, 
        8px 0 #ff0, 
        12px 0 green, 
        16px 0 #00f, 
        20px 0 purple;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 999;
}

.back-to-top:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 文章列表容器 */
.article-list-container {
    max-width: 758px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 24px;
}



/* 响应式设计 */
/* 移动端响应式 */
@media (max-width: 768px) {
    /* 通用容器 */
    .hero-container,
    .pagination-wrapper,
    .site-footer .footer-container {
        padding: 0 15px;
    }
    
    /* Hero 板块 */
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-stats {
        width: 100%;
    }
    
    .hero-carousel {
        width: 100%;
        min-height: 220px;
        height: 220px;
    }
    
    .carousel-item {
        padding: 0 !important;
    }
    
    .carousel-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .carousel-info {
        padding: 12px 15px;
        z-index: 3;
    }
    
    /* 统计面板 */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .stats-item {
        padding: 12px 8px;
    }
    
    .stats-number {
        font-size: 16px;
    }
    
    .stats-label {
        font-size: 10px;
    }
    
    /* 热力图 */
    .heatmap-wrapper {
        padding: 8px 12px;
    }
    
    .heatmap-row {
        gap: 2px;
    }
    
    .heatmap-cell {
        width: 100%;
        height: 8px;
        border-radius: 2px;
    }
    
    /* 轮播图 */
    .carousel-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .carousel-category {
        font-size: 12px;
    }
    
    /* 文章列表 */
    .post-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 25px 0;
    }
    
    .post-thumbnail {
        width: 100%;
        height: 160px;
        order: -1;
    }
    
    .post-item-title {
        font-size: 17px;
    }
    
    .post-item-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    
    .post-item-meta {
        font-size: 12px;
    }
    
    /* 分页 */
    .pagination {
        padding: 25px 0;
    }
    
    .pagination-btn {
        padding: 0 10px;
        font-size: 13px;
    }
    
    .pagination-info {
        font-size: 13px;
    }
    
    /* 页脚 */
    .site-footer {
        padding: 30px 15px 60px;
    }
    
    .footer-content {
        gap: 6px;
    }
    
    .footer-line {
        font-size: 11px;
    }
    
    /* 头部 */
    .header-container {
        padding: 0 15px;
    }
    
    .search-shortcut {
        display: none;
    }
    
    /* 导航面板 */
    .nav-panel {
        left: 15px;
        right: 15px;
        width: auto;
    }
    
    /* 搜索面板 */
    .search-container {
        margin: 0 15px;
    }
    
    /* 订阅面板 */
    .subscribe-box {
        padding: 20px;
        margin: 0 15px;
    }
    
    .subscribe-title {
        font-size: 16px;
    }
    
    /* 公告栏 */
    .announcement-bar {
        padding: 0 15px;
    }
    
    .announcement-content {
        font-size: 12px;
    }
    
    /* 文章详情页 */
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-content {
        padding: 0 15px;
    }
    
    .post-content h1 {
        font-size: 24px;
    }
    
    .post-content h2 {
        font-size: 20px;
    }
    
    .post-content h3 {
        font-size: 18px;
    }
    
    .post-content p,
    .post-content li {
        font-size: 15px;
    }
    
    /* 评论区 */
    .comment-form input,
    .comment-form textarea {
        font-size: 14px;
    }
    
    /* 旅行页面 */
    .travel-page {
        padding: 40px 15px;
    }
    
    /* 归档页面 */
    .archive-page {
        padding: 40px 15px;
    }
    
    /* Memos 页面 */
    .memos-page {
        padding: 40px 15px;
    }
}

/* 搜索面板样式 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-icon {
    flex-shrink: 0;
    color: #9ca3af;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 12px;
    font-size: 16px;
    color: #111;
    background: transparent;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.search-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

/* 订阅面板样式 */
.subscribe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.subscribe-overlay.active {
    opacity: 1;
    visibility: visible;
}

.subscribe-container {
    width: 100%;
    max-width: 500px;
}

.subscribe-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.subscribe-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.subscribe-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.subscribe-title {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
}

.subscribe-description {
    margin-bottom: 30px;
    text-align: center;
}

.subscribe-description p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease;
}

.subscribe-input:focus {
    border-color: #111;
}

.subscribe-input::placeholder {
    color: #9ca3af;
}

.subscribe-submit-btn {
    padding: 12px 24px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.subscribe-submit-btn:hover {
    background: #333;
}

.subscribe-message {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.subscribe-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.subscribe-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.subscribe-note {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.subscribe-note small {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.6;
    display: block;
}

.subscribe-rss {
    text-align: center;
}

.subscribe-rss p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.subscribe-rss a {
    color: #111;
    text-decoration: underline;
}

.subscribe-rss a:hover {
    color: #333;
}

/* ========================================
   渐出动画样式
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   归档页面样式 - 新版（按截图）
   ======================================== */

/* 归档页面容器 */
.archive-new-page {
    max-width: 758px;
    margin: 0 auto;
    padding: 80px 0 0;
}

/* 顶部区域 */
.archive-header {
    margin-bottom: 0;
    padding-top: 0;
}

.archive-main-title {
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin-bottom: 24px;
}

/* 分类筛选 */
.archive-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 0 0;
}

.archive-cat-item {
    display: inline-block;
    padding: 7px 20px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

.archive-cat-item:hover {
    background: #e5e5e5;
    color: #111;
}

.archive-cat-item.active {
    background: #111;
    color: #fff;
}

/* 归档主体 */
.archive-body {
    padding-top: 80px;
}

/* 年份区块 */
.archive-year-section {
    margin-bottom: 80px;
}

.archive-year-section:last-child {
    margin-bottom: 0;
}

/* 年份标题 - 使用和文章页面 H2 一样的灰色块 */
.archive-year-title {
    font-size: 20px;
    font-weight: 500;
    color: #111;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    isolation: isolate;
    margin-bottom: 36px;
}

.archive-year-title::before {
    content: '';
    position: absolute;
    height: 8px;
    bottom: 8px;
    left: -1px;
    width: 100%;
    background-color: #494949;
    opacity: .2;
    transform: skew(-35deg);
    transition: opacity .2s ease;
    border-radius: 3px 8px 10px 6px;
    pointer-events: none;
}

/* 月份区块 */
.archive-month-section {
    margin-bottom: 48px;
}

.archive-month-section:last-child {
    margin-bottom: 0;
}

.archive-month-title {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 24px;
    position: relative;
    padding-left: 12px;
}

.archive-month-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background-color: #111;
    border-radius: 2px;
}

/* 文章列表 */
.archive-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 文章项 */
.archive-post-item {
    display: flex;
    align-items: baseline;
    padding: 20px 0;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* 日期标签 */
.archive-post-date {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    font-weight: 400;
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

/* 文章链接 */
.archive-post-link {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.6;
    position: relative;
}

.archive-post-link:hover {
    color: #111;
}


/* ========================================
   旅行页面样式
   ======================================== */

main.travel-page {
    margin-top: 80px;
}

/* 地图容器 */
.travel-content {
    width: 100%;
    margin: 0;
}

.travel-map {
    width: 100%;
    margin: 0;
    height: 650px;
    min-height: 650px;
    background: #fcfcfc;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

/* 自定义地图控制按钮 */
.leaflet-control-custom {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    margin-right: 16px !important;
    border-radius: 6px !important;
    border: none !important;
    color: #999 !important;
}

.leaflet-control-custom:hover {
    background: #fff !important;
    color: #333 !important;
}

/* Leaflet 地图容器样式 */
#travel-map.leaflet-container,
.travel-map .leaflet-container,
.leaflet-container {
    width: 100% !important;
    height: 100% !important;
    background: #fcfcfc !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 修改 Leaflet 默认灰色背景 */
.travel-map .leaflet-tile-container,
.travel-map .leaflet-tile-pane,
.leaflet-tile-pane {
    background: #fcfcfc !important;
}

/* 省份标签样式 */
.province-label {
    background: transparent !important;
    border: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #666666 !important;
    text-shadow: none !important;
    text-align: center !important;
    line-height: 18px !important;
    pointer-events: none !important;
}

/* 城市标签样式 */
.city-label {
    background: transparent !important;
    border: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    color: #888888 !important;
    text-shadow: none !important;
    text-align: center !important;
    line-height: 16px !important;
    pointer-events: none !important;
}

/* 小喇叭通知 */
.notice-section {
    width: 100%;
    margin: 0 0 35px 0;
    padding: 15px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.notice-icon svg {
    width: 18px;
    height: 18px;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-text {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    /* 地图 */
    .travel-map {
        width: 100%;
        height: 300px;
    }
    
    /* 小喇叭通知 */
    .notice-section {
        width: 100%;
        margin: 0 0 15px 0;
        padding: 10px 12px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .notice-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    .notice-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .notice-text {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* ========================================
   评论样式
   ======================================== */

.comments-area {
    width: 100%;
    margin-top: 80px;
}

.comments-title {
    font-size: 20px;
    font-weight: 450;
    color: #333;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* 评论列表 */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 子评论（回复）容器 */
.comment-children {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 所有评论项（一级、二级、三级...）都有边框 */
.comment-list li,
.comment-children li {
    padding: 0;
    list-style: none;
}

/* 一级评论下边距 */
.comment-parent {
    margin-bottom: 40px;
}

/* 子评论上边距 - 只设置上边距避免重叠 */
.comment-list li.comment-child,
.comment-children li {
    padding-top: 40px;
}

/* 移除所有边框 */
.comment-list li,
.comment-children li {
    border-bottom: none !important;
}

/* 所有子评论（二级、三级、四级等）都和二级评论对齐，不递增 */
.comment-list .comment-children {
    margin-left: 50px;
}

/* 防止嵌套的 .comment-children 继续缩进 */
.comment-children .comment-children {
    margin-left: 0 !important;
}

/* 评论作者 */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author img,
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

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

.comment-author-name {
    font-size: 15px;
    font-weight: 400;
    color: #e06590;
}

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

/* 评论内容 */
.comment-content {
    margin: 16px 0 16px 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.comment-content p {
    margin: 0 0 10px 0;
    display: inline;
}

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

/* 评论元信息 */
.comment-meta {
    margin-left: 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.comment-reply,
.comment-reply a {
    color: #e06590 !important;
    text-decoration: none;
    font-weight: 350;
}

.comment-reply:hover {
    text-decoration: none;
}

.comment-date {
    color: #999;
}

/* 评论分页 */
.comment-pagination {
    margin: 30px 0;
    text-align: center;
}

.comment-pagination a,
.comment-pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

/* 加载更多按钮 */
.load-more-btn {
    padding: 10px 30px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

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

/* 回复作者样式 */
.reply-to-author {
    display: inline;
    color: #c0580c;
    margin-right: 5px;
    font-size: 14px;
    font-weight: normal;
}

.comment-pagination a:hover {
    background: #f5f5f5;
    border-color: #999;
}

.comment-pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* ========================================
   评论表单
   ======================================== */

.comment-respond {
    margin-top: 40px;
}

.respond-title {
    font-size: 20px;
    font-weight: 300;
    color: #333;
    margin: 0 0 20px 0;
}

.reply-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
}

.reply-notice {
    font-size: 14px;
    color: #666;
    margin: 0 0 30px 0;
}

.login-notice {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.login-notice a {
    color: #e06590;
    text-decoration: none;
}

.login-notice a:hover {
    text-decoration: underline;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-input,
.form-textarea {
    width: 100%;
    max-width: 240px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #ccc;
}

.form-textarea {
    width: 100%;
    max-width: 100%;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-submit {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.submit-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #555;
}

.cancel-comment-reply {
    font-size: 14px;
}

.cancel-comment-reply a {
    color: #e06590;
    text-decoration: none;
    font-size: 14px;
}

.cancel-comment-reply a:hover {
    text-decoration: none;
}

/* ========================================
   文章页面样式
   ======================================== */

.article-container {
    max-width: 758px;
    margin: 0 auto;
    padding: 80px 0 0;
    position: relative;
}
.article-main {
    width: 100%;
}

.single-post {
    background: #fff;
}

/* 文章头部 */
.post-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 25px;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #999;
}

.post-meta-info span {
    white-space: nowrap;
}

/* 文章内容 */
.post-content {
    font-size: 16px;
    line-height: 2;
    color: #374151;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 32px 0 0 0;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
}

.post-content h1 { font-size: 22px; }
.post-content h2 {
    font-size: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    isolation: isolate;
}

.post-content h2::before {
    content: '';
    position: absolute;
    height: 7px;
    bottom: 5px;
    left: -1px;
    width: 100%;
    background-color: #494949;
    opacity: .15;
    transform: skew(-35deg);
    transition: opacity .2s ease;
    border-radius: 3px 8px 10px 6px;
    pointer-events: none;
}

.post-content h3 { 
    font-size: 18px;
}
.post-content h4 { font-size: 18px; }
.post-content h5 { font-size: 16px; }
.post-content h6 { font-size: 15px; }

.post-content p {
    margin: 16px 0 0 0;
    letter-spacing: 1px;
}

.post-content a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.post-content a:hover {
    border-bottom-color: currentColor;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0 0 0;
}

.post-content ul,
.post-content ol {
    margin: 16px 0 0 0;
    padding-left: 24px;
}

.post-content li {
    margin: 4px 0;
}

.post-content blockquote {
    margin: 16px 0 0 0;
    padding: 12px 16px;
    border-left: 4px solid #999;
    background: #f9fafb;
    color: #6b7280;
}

.post-content blockquote p {
    margin: 0;
}

.post-content code {
    padding: 2px 6px;
    background: #e3e3e3;
    border-radius: 4px;
    font-size: 14px;
}

.post-content pre {
    margin: 16px 0 0 0;
    padding: 0;
    background: #f6f8fa;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
}

.post-content pre code {
    padding: 12px 16px;
    background: none;
    color: #24292f;
    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

.post-content table {
    width: 100%;
    margin: 16px 0 0 0;
    border-collapse: collapse;
}

.post-content th,
.post-content td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.post-content th {
    background: #f9fafb;
    font-weight: 600;
}

.post-content hr {
    margin: 40px 0 0 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* 文章标签 */
.post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.post-tags a {
    display: inline-block;
    padding: 6px 12px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: #666;
    color: #fff;
}

/* 下载按钮样式 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f6f8fa;
    border-top: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-left: 1px solid #e5e7eb !important;
    border-radius: 4px;
    color: #374151;
    font-size: 14px;
    text-decoration: none !important;
    margin: 20px 0 0 0;
}

.download-btn:hover {
    text-decoration: none !important;
}

.download-btn i {
    font-size: 14px;
}

/* 文章引用卡片 */
.post-ref-card {
    display: flex !important;
    flex-direction: row !important;
    margin: 32px 0 0 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
    width: 100%;
    max-width: 100%;
}

.post-ref-card a {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.post-ref-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-ref-thumb {
    width: 140px !important;
    min-height: 100px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: block !important;
}

.post-ref-no-thumb {
    background: #90c461;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-ref-no-thumb span {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
}

.post-ref-info {
    flex: 1;
    padding: 16px;
    min-width: 0;
}

.post-ref-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.post-ref-excerpt {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-ref-error {
    margin: 20px 0 0 0;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #dc2626;
    font-size: 14px;
}

/* 文章导航 */
.post-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.post-navigation .nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-navigation .nav-item.prev {
    text-align: left;
}

.post-navigation .nav-item.next {
    text-align: right;
    align-items: flex-end;
}

.nav-label {
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 15px;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

.nav-title:hover {
    color: #e06590;
}

/* 右侧目录导航 - fixed定位 */
.article-toc {
    position: fixed;
    top: 140px;
    right: calc((100vw - 758px) / 2 - 260px);
    width: 240px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toc-wrapper {
    background: transparent;
    padding: 0;
}

.toc-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0 !important;
    padding-left: 16px;
    letter-spacing: 0.5px;
}

.toc-content {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.toc-content::-webkit-scrollbar {
    width: 0;
}

.toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-item {
    margin: 1px 0 !important;
    position: relative;
}

.toc-link {
    display: block;
    padding: 5px 0 5px 12px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.2s;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
}

.toc-link:hover {
    color: #374151;
}

.toc-link.active {
    color: #111;
    font-weight: 600;
}

.toc-sublist {
    list-style: none !important;
    padding-left: 16px !important;
    margin: 4px 0 !important;
    position: relative;
}

.toc-level-1 .toc-link {
    font-weight: 400;
    color: #6b7280;
    padding-left: 0;
}

.toc-level-2 .toc-link {
    padding-left: 16px;
    font-size: 13px;
}

.toc-level-3 .toc-link {
    padding-left: 24px;
    font-size: 12px;
    color: #9ca3af;
    position: relative;
}

.toc-level-3 .toc-link::before {
    content: '·';
    position: absolute;
    left: 16px;
    color: #9ca3af;
}

.toc-level-4 .toc-link {
    padding-left: 32px;
    font-size: 12px;
    color: #9ca3af;
}

.toc-empty {
    font-size: 13px;
    color: #9ca3af;
    text-align: left;
    padding: 16px 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .article-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-container {
        padding: 40px 15px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-meta-info {
        gap: 12px;
    }
    
    .meta-item {
        font-size: 13px;
    }
    
    .post-content {
        font-size: 15px;
    }
    
    .post-content h1 { font-size: 24px; }
    .post-content h2 { font-size: 20px; }
    .post-content h3 { font-size: 18px; }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-navigation .nav-item.next {
        text-align: left;
        align-items: flex-start;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .comments-title {
        font-size: 16px;
    }
    
    .comment-children {
        margin-left: 20px;
    }
    
    .comment-content,
    .comment-meta {
        margin-left: 0;
    }
    
    .comment-author img {
        width: 32px;
        height: 32px;
    }
    
    .reply-title {
        font-size: 16px;
    }
    
    .form-input {
        max-width: 100%;
    }
    
    .comment-form textarea {
        min-height: 100px;
    }
}

/* ========================================
   首页文章列表样式
   ======================================== */

.article-list {
    max-width: 758px;
    margin: 0 auto;
    padding: 0;
}

.article-item {
    background: #fff;
    border-radius: 8px;
    padding: 80px 0 0 0;
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 0;
    border: none;
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.article-title a {
    color: #111;
    text-decoration: none;
}

.article-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.article-time {
    color: #666;
    font-weight: normal;
}

.article-category {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: #666;
}

.article-meta-divider {
    color: #ccc;
}

.article-thumbnail {
    width: 118px;
    height: 118px;
    flex-shrink: 0;
    align-self: center;
    border-radius: 6px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分页样式 */
.pagination {
    max-width: 758px;
    margin: 0;
    padding: 80px 0 0 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pagination-btn {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.pagination-info {
    font-size: 14px;
    color: #6b7280;
    padding: 0 10px;
}

/* ===================================
   友链页面样式
   =================================== */

.links-page {
    max-width: 758px;
    margin: 0 auto;
    padding: 80px 0 80px;
}

.links-header {
    margin-bottom: 60px;
    text-align: center;
}

.links-main-title {
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin: 0 0 12px 0;
}

.links-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 友链网格布局 - 三列 */
.links-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

/* 友链卡片 */
.link-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.link-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 14px;
    flex-shrink: 0;
    background: #f5f5f5;
}

.link-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.link-name {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 无友链提示 */
.no-links {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}

/* 友链信息区域 */
.links-info {
    padding: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.links-info-title {
    font-size: 22px;
    font-weight: 500;
    color: #111;
    margin: 0 0 30px 0;
    text-align: center;
}

.links-info-content {
    margin-bottom: 30px;
}

.links-info-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.links-info-text strong {
    font-weight: normal;
}

.links-info-text code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #e06590;
}

.links-info-text a {
    color: #e06590;
    text-decoration: none;
}

.links-info-text a:hover {
    text-decoration: underline;
}

.links-info-notice {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

/* 站点信息 */
.links-site-info {
    margin-top: 30px;
}

.links-site-info-title {
    font-size: 17px;
    font-weight: 500;
    color: #4b5563;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 5px;
    isolation: isolate;
    display: inline-block;
}

.links-site-info-title::before {
    content: '';
    position: absolute;
    height: 8px;
    bottom: 7px;
    left: -1px;
    width: 100%;
    background-color: #494949;
    opacity: .2;
    transform: skewX(-35deg);
    transition: opacity .2s ease;
    border-radius: 3px 8px 10px 6px;
    pointer-events: none;
}

.links-site-info-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.links-site-info-label {
    color: #6b7280;
    flex-shrink: 0;
    margin-right: 8px;
}

.links-site-info-value {
    flex: 1;
    color: #111;
    word-break: break-all;
}

.links-site-info-value code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #e06590;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .links-page {
        padding: 40px 15px 60px;
    }
    
    .links-main-title {
        font-size: 28px;
    }
    
    .links-content {
        grid-template-columns: 1fr;
    }
    
    .links-info {
        padding: 20px;
    }
}

/* ===================================
   电影票根页面样式
   =================================== */

.movie-tickets-page {
    max-width: 758px;
    margin: 0 auto;
    padding: 80px 0 0;
}

/* 页面标题 */
.tickets-header {
    margin-bottom: 30px;
}

.tickets-intro {
    text-align: center;
    padding: 0 0 30px;
}

.tickets-intro-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.ornament-line {
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.ornament-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
}

.tickets-intro-text {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* 票根网格布局 */
.tickets-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* 票根卡片 - 简约风格 */
.ticket-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    position: relative;
    margin-bottom: 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

/* 顶部标题区域 */
.ticket-top {
    padding: 10px 16px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ticket-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.ticket-title-cn {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.ticket-title-en {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 0;
    margin-left: 0;
}

.ticket-cinema {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    background: transparent;
    padding: 0;
    border-radius: 0;
    line-height: 1.5;
    flex-shrink: 0;
    align-self: flex-start;
    text-align: right;
}

/* 中间信息区域 */
.ticket-info {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ticket-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 0;
}

.ticket-info-item {
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
}

/* 观影厅和座位布局 */
.ticket-info-hall {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: transparent;
    border: 1px dashed #d1d5db;
    border-radius: 4px;
}

.ticket-info-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.ticket-info-label {
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
    white-space: nowrap;
    min-width: 60px;
}

.ticket-info-value {
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
}

.ticket-info-divider {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    padding: 0 4px;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticket-info-divider::before,
.ticket-info-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #d5c9a1 0px,
        #d5c9a1 2px,
        transparent 2px,
        transparent 4px
    );
}

.ticket-info-divider::before {
    right: 100%;
    margin-right: 2px;
}

.ticket-info-divider::after {
    left: 100%;
    margin-left: 2px;
}

/* 突出显示的行 */
.ticket-info-highlight {
    background: transparent;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    padding: 7px 12px;
    margin: 1px 0;
    flex: 0 1 auto;
    min-width: 240px;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticket-info-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ticket-info-col .ticket-info-item {
    font-weight: 500;
    color: #4b5563;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

/* 底部区域 */
.ticket-bottom {
    padding: 10px 16px;
    background: #1e3a5f;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticket-disclaimer {
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.5px;
}

.ticket-qr {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    align-self: center;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* 底部提示条 */
.ticket-disclaimer {
    display: block;
}

/* 无票根提示 */
.no-tickets {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .movie-tickets-page {
        padding: 40px 15px 60px;
    }
    
    .ticket-card {
        grid-template-columns: 1fr;
    }
    
    .ticket-left {
        border-right: none;
        border-bottom: 1px dashed #e5e7eb;
        padding-bottom: 20px;
    }
    
    .ticket-cinema {
        margin-top: 0;
    }
    
    .ticket-right {
        padding-top: 20px;
    }
    
    .ticket-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ticket-note {
        max-width: none;
    }
    
    .tickets-title {
        font-size: 28px;
    }
    
    .tickets-content {
        grid-template-columns: 1fr;
    }
}

/* 地图加载动画 */
@keyframes map-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
