/* ==================== 变量定义 ==================== */
:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e5e5e5;
    --hover-bg: #f5f5f5;
    --online-color: #22c55e;
}

/* ==================== 移动端汉堡菜单按钮 ==================== */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* 侧边栏遮罩层 - Arc 风格 */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }
    
    .sidebar-overlay.active {
        pointer-events: auto;
    }
}

/* ==================== 语言切换按钮 ==================== */
.lang-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .lang-toggle {
        top: 20px;
        right: 20px;
        padding: 6px 16px;
        font-size: 13px;
        z-index: 1001;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-primary: #ffffff;
        --text-secondary: #a0a0a0;
        --text-tertiary: #666666;
        --border-color: #2a2a2a;
        --hover-bg: #1a1a1a;
    }
    
    .sidebar-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
    }
}

/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.8;
    transition: background-color 0.3s ease;
}

/* ==================== 布局容器 ==================== */
.page-container {
    display: flex;
    min-height: 100vh;
}

/* ==================== 左侧导航栏 ==================== */
.sidebar {
    width: 280px;
    padding: 30px 25px;
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(to right, var(--bg-color) 0%, var(--bg-color) 85%, rgba(245, 245, 245, 0.3) 100%);
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.03);
}

@media (prefers-color-scheme: dark) {
    .sidebar {
        background: linear-gradient(to right, var(--bg-color) 0%, var(--bg-color) 85%, rgba(20, 20, 20, 0.5) 100%);
    }
}

/* 头像和标题容器 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

/* 头像样式 */
.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-info {
    flex: 1;
}

.site-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.site-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* 导航菜单 */
nav {
    margin-bottom: 35px;
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 6px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
}

nav a:hover {
    background-color: var(--hover-bg);
}

nav a.active {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

@media (prefers-color-scheme: dark) {
    nav a.active {
        background-color: var(--text-primary);
        color: var(--bg-color);
    }
}


.nav-number {
    font-size: 15px;
    color: var(--text-tertiary);
    font-weight: 500;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hover-bg);
    border-radius: 6px;
    padding: 0 8px;
}

nav a.active .nav-number {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-color);
}

@media (prefers-color-scheme: dark) {
    nav a.active .nav-number {
        background-color: rgba(255, 255, 255, 0.15);
        color: var(--bg-color);
    }
}

/* 在线状态 */
.online-status {
    margin-bottom: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-text {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: -0.2px;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 分隔箭头 */
.section-divider {
    display: none;
}

/* 社交链接 */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
}

.social-link:hover {
    background-color: var(--hover-bg);
}

.social-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}


.social-arrow {
    font-size: 18px;
    color: var(--text-tertiary);
    transition: transform 0.2s;
}

.social-link:hover .social-arrow {
    transform: translateX(3px);
}

/* ==================== 主内容区域 ==================== */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 60px 80px;
    max-width: 1000px;
    background: linear-gradient(to left, var(--bg-color) 0%, var(--bg-color) 95%, rgba(245, 245, 245, 0.2) 100%);
    min-height: 100vh;
}

@media (prefers-color-scheme: dark) {
    .main-content {
        background: linear-gradient(to left, var(--bg-color) 0%, var(--bg-color) 95%, rgba(20, 20, 20, 0.3) 100%);
    }
}

/* 主标题 */
.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.profile-name {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

/* 个人简介 */
.bio {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.bio p {
    margin-bottom: 16px;
}

/* ==================== 章节标题 ==================== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 60px;
}

/* ==================== 文章列表（表格样式）==================== */
.writing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.writing-table thead {
    border-bottom: 1px solid var(--border-color);
}

.writing-table th {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 20px 12px 0;
}

.writing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.writing-table tbody tr:hover {
    background-color: var(--hover-bg);
}

.writing-table td {
    padding: 20px 20px 20px 0;
    font-size: 15px;
}

.writing-table .year {
    color: var(--text-tertiary);
    font-weight: 600;
    width: 80px;
}

.writing-table .date {
    color: var(--text-tertiary);
    width: 100px;
}

.writing-table .title {
    color: var(--text-primary);
}

.writing-table .title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.writing-table .title a:hover {
    color: var(--text-secondary);
}

.writing-table .views {
    color: var(--text-tertiary);
    text-align: right;
    width: 100px;
}

/* ==================== 项目列表 ==================== */
.projects-list {
    border-top: 1px solid var(--border-color);
}

.project-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.project-item:hover {
    background-color: var(--hover-bg);
    margin: 0 -20px;
    padding: 24px 20px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.project-date {
    font-size: 13px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.project-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.project-details.expanded {
    max-height: 3000px;
}

.project-content {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ==================== App Store 按钮 ==================== */
.app-store-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 10px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
    background: linear-gradient(135deg, #0051D5 0%, #007AFF 100%);
}

@media (prefers-color-scheme: dark) {
    .app-store-button {
        background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
        box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
    }
    
    .app-store-button:hover {
        box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
    }
}

/* ==================== 图片画廊 ==================== */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.image-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.image-card:hover {
    transform: translateY(-2px);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-info {
    padding: 12px;
}

.image-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.image-info p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 联系页面样式 ==================== */
.contact-container {
    margin-top: 40px;
}

.contact-card {
    background-color: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
    .contact-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

@media (prefers-color-scheme: dark) {
    .contact-icon {
        background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
    }
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.email-link {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #007AFF;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.email-link:hover {
    color: #0051D5;
}

@media (prefers-color-scheme: dark) {
    .email-link {
        color: #0A84FF;
    }
    
    .email-link:hover {
        color: #409EFF;
    }
}

.contact-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

@media (prefers-color-scheme: dark) {
    .contact-button {
        background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
        box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
    }
    
    .contact-button:hover {
        box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
    }
}

.contact-info {
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.method-item:hover {
    background-color: var(--border-color);
    transform: translateX(4px);
}

.method-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.method-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.method-text {
    flex: 1;
}

.method-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.method-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.method-arrow {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-left: 16px;
    transition: transform 0.2s;
}

.method-item:hover .method-arrow {
    transform: translateX(4px);
}

.response-time {
    margin-top: 40px;
    padding: 20px 24px;
    background-color: rgba(0, 122, 255, 0.06);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

@media (prefers-color-scheme: dark) {
    .response-time {
        background-color: rgba(10, 132, 255, 0.1);
        border-color: rgba(10, 132, 255, 0.3);
    }
}

.response-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.response-text {
    flex: 1;
}

.response-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.response-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 移动端响应式 - 联系页面 */
@media (max-width: 768px) {
    .contact-card {
        padding: 30px 24px;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .email-link {
        font-size: 18px;
    }
    
    .contact-info h3 {
        font-size: 18px;
    }
    
    .method-item {
        padding: 14px 16px;
    }
    
    .method-icon {
        width: 36px;
        height: 36px;
    }
    
    .method-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .response-time {
        padding: 16px 20px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 24px 20px;
    }
    
    .contact-title {
        font-size: 20px;
    }
    
    .email-link {
        font-size: 16px;
        word-break: break-all;
    }
    
    .contact-button {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .method-item {
        padding: 12px 14px;
    }
    
    .method-text h4 {
        font-size: 15px;
    }
    
    .method-text p {
        font-size: 13px;
    }
    
    .response-time {
        flex-direction: column;
        padding: 14px 16px;
    }
    
    .response-text p {
        font-size: 13px;
    }
}

/* ==================== 页脚 ==================== */
footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    /* 页面容器改为垂直布局 */
    .page-container {
        flex-direction: column;
    }
    
    /* 侧边栏移动端适配 - Arc 风格 */
    .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        left: -280px;
        top: 0;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        padding: 25px 20px;
        background: var(--bg-color);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 100;
        transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: left;
    }
    
    /* 侧边栏打开状态 */
    .sidebar.mobile-open {
        left: 0;
    }
    
    /* 优化侧边栏滚动条 */
    .sidebar::-webkit-scrollbar {
        width: 6px;
    }
    
    .sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .sidebar::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 3px;
    }
    
    .sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--text-tertiary);
    }
    
    /* 头像和标题优化 */
    .profile-header {
        margin-bottom: 25px;
    }
    
    .profile-avatar {
        width: 56px;
        height: 56px;
    }
    
    .site-title {
        font-size: 18px;
    }
    
    .site-subtitle {
        font-size: 14px;
    }
    
    /* 导航菜单优化 */
    nav {
        margin-bottom: 25px;
    }
    
    nav li {
        margin-bottom: 4px;
    }
    
    nav a {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .nav-number {
        font-size: 14px;
        min-width: 22px;
        height: 22px;
    }
    
    /* 社交链接优化 */
    .social-links {
        gap: 4px;
    }
    
    .social-link {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    /* 主内容区域优化 */
    .main-content {
        margin-left: 0;
        padding: 35px 20px;
        background: var(--bg-color);
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .profile-name {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 22px;
        margin-top: 45px;
        margin-bottom: 25px;
    }
    
    /* 个人简介优化 */
    .bio {
        font-size: 15px;
        margin-bottom: 45px;
    }
    
    /* 文章表格优化 */
    .writing-table {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .writing-table th,
    .writing-table td {
        padding: 14px 12px 14px 0;
    }
    
    .writing-table th {
        font-size: 13px;
    }
    
    .writing-table td {
        font-size: 14px;
    }
    
    .writing-table .year {
        width: 70px;
    }
    
    .writing-table .date {
        width: 90px;
    }
    
    .writing-table .views {
        width: 80px;
    }
    
    /* 项目列表优化 */
    .project-item {
        padding: 20px 0;
    }
    
    .project-item:hover {
        margin: 0 -16px;
        padding: 20px 16px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .project-title {
        font-size: 15px;
    }
    
    .project-date {
        font-size: 13px;
    }
    
    .project-description {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* 图片网格优化 */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 16px;
    }
    
    .image-card {
        border-radius: 6px;
    }
    
    .image-info {
        padding: 10px;
    }
    
    .image-info h4 {
        font-size: 12px;
    }
    
    .image-info p {
        font-size: 11px;
    }
    
    /* App Store 按钮优化 */
    .app-store-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 14px;
    }
    
    /* 页脚优化 */
    footer {
        margin-top: 60px;
        padding-top: 25px;
    }
}

@media (max-width: 480px) {
    /* 汉堡菜单按钮调整 */
    .mobile-menu-btn {
        top: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
    }
    
    /* 语言切换按钮 */
    .lang-toggle {
        top: 16px;
        right: 16px;
        padding: 6px 14px;
        font-size: 12px;
    }
    
    /* 侧边栏 */
    .sidebar {
        width: 260px;
        left: -260px;
        padding: 20px 16px;
    }
    
    .profile-header {
        margin-bottom: 20px;
    }
    
    .profile-avatar {
        width: 50px;
        height: 50px;
    }
    
    .site-title {
        font-size: 17px;
    }
    
    .site-subtitle {
        font-size: 13px;
    }
    
    /* 导航 */
    nav {
        margin-bottom: 20px;
    }
    
    nav a {
        padding: 9px 12px;
        font-size: 14px;
    }
    
    /* 社交链接 */
    .social-link {
        padding: 9px 12px;
        font-size: 14px;
    }
    
    /* 主内容 */
    .main-content {
        padding: 30px 16px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .profile-name {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 20px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .bio {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    /* 文章表格 */
    .writing-table {
        font-size: 13px;
    }
    
    .writing-table th,
    .writing-table td {
        padding: 12px 8px 12px 0;
    }
    
    .writing-table th {
        font-size: 12px;
    }
    
    .writing-table td {
        font-size: 13px;
    }
    
    .writing-table .year {
        width: 60px;
        font-size: 12px;
    }
    
    .writing-table .date {
        width: 80px;
        font-size: 12px;
    }
    
    .writing-table .views {
        width: 70px;
        font-size: 12px;
    }
    
    /* 项目 */
    .project-item {
        padding: 18px 0;
    }
    
    .project-item:hover {
        margin: 0 -12px;
        padding: 18px 12px;
    }
    
    .project-title {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .project-date {
        font-size: 12px;
    }
    
    .project-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .project-description ul {
        margin-top: 10px;
        padding-left: 18px;
        line-height: 1.6 !important;
    }
    
    .project-description li {
        margin-bottom: 8px;
    }
    
    .project-description strong {
        font-size: 13px;
    }
    
    /* 图片网格 */
    .image-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .image-card {
        border-radius: 6px;
    }
    
    .image-info {
        padding: 8px;
    }
    
    .image-info h4 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .image-info p {
        font-size: 11px;
    }
    
    /* App Store 按钮 */
    .app-store-button {
        display: block;
        text-align: center;
        padding: 10px 18px;
        font-size: 13px;
        margin-top: 12px;
    }
    
    /* 页脚 */
    footer {
        margin-top: 50px;
        padding-top: 20px;
        font-size: 12px;
    }
}

