* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}
/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 2px;
}
::-webkit-scrollbar-track-piece {
    background: var(--bg-color);
    border-radius: 2px;
}
::-webkit-scrollbar-track-piece:hover {
    background: var(--bg-color);
    border-radius: 2px;
}
::-webkit-scrollbar-track-piece:active {
    background: var(--bg-color);
    border-radius: 2px;
}

:root {
    --primary-color: #1890ff;
    --primary-hover: #40a9ff;
    --secondary-color: #722ed1;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #ff4d4f;
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-primary: #262626;
    --text-secondary: #595959;
    --border-color: #e8e8e8;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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.6;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 14px;
}

.industry-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.industry-card {
    padding: 32px 24px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.industry-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.industry-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
}

.industry-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.industry-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 职位导航样式 */
.position-nav-container {
    margin-bottom: 24px;
}

.position-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.position-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-icon {
    font-size: 18px;
}

.selected-position {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 16px;
}

.position-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.position-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.clear-position-btn {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-position-btn:hover {
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--error-color);
}

/* 职位选择弹窗 */
.position-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.position-card {
    padding: 24px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    text-align: center;
}

.position-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.position-card-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.position-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 新建常用导航表单样式 */
.add-favorite-form {
    margin-top: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel,
.btn-submit {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background-color: #f0f0f0;
    color: var(--text-secondary);
}

.btn-cancel:hover {
    background-color: #e0e0e0;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 主容器 */
.container {
    display: flex;
    margin: 0 auto;
}

.quick-nav-sidebar {
    width: 180px;
    min-width: 180px;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    margin-right: 20px;
}

.quick-nav-sidebar-header {
    padding: 0 2px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.quick-nav-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.quick-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

.quick-nav-item:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

.quick-nav-item:active {
    transform: translateX(2px);
}

.quick-nav-item.active {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: var(--primary-color);
    font-weight: 500;
}

.quick-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

.quick-nav-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.quick-nav-name {
    font-weight: 500;
    line-height: 1.4;
}

.main-wrapper {
    flex: 1;
}

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

/* 响应式设计 - 移动端隐藏侧边栏 */
@media (max-width: 1200px) {
    .quick-nav-sidebar {
        display: none;
    }
    
    .container {
        flex-direction: column;
    }
    
    .main-wrapper {
        width: 100%;
    }
}

/* 平板端调整 */
@media (max-width: 1440px) {
    .quick-nav-sidebar {
        width: 160px;
        min-width: 160px;
    }
}
/* 头部 */
.header {
    padding: 12px 0;
    margin-bottom: 16px;
}

.header-content {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left .navbar-top-list {
    display: flex;
    align-items: center;
}
.header-left .navbar-top-list .top-nav-item {
    margin-right: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.header-left .navbar-top-list .top-nav-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 主内容区 */
.main-content {
    padding-bottom: 60px;
}

/* 导航区域 */
.navigation-section {
    margin-bottom: 28px;
}

.section-header {
    margin-bottom: 18px;
    justify-content: space-between;
}

.add-favorite-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.add-favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.add-favorite-btn span {
    font-size: 18px;
    line-height: 1;
}

.section-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-divider {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

/* 排除最新动态的grid布局 */
.nav-grid:not(#latestNewsNav) {
    display: grid;
}

/* 最新动态瀑布流布局 - 使用CSS columns实现瀑布流 */
nav#latestNewsNav,
nav#latestNewsNav.nav-grid {
    /* 完全移除grid布局属性 */
    display: block !important;
    grid-template-columns: unset !important;
    grid-auto-rows: unset !important;
    gap: 0 !important;
    
    /* 应用瀑布流columns布局 */
    column-count: 3;
    column-gap: 14px !important;
    
    /* 清除其他可能影响的属性 */
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    width: 100% !important;
}

/* 最新动态中的所有项目都应该避免被分页拆分 */
#latestNewsNav .nav-item-wrapper,
#latestNewsNav .waterfall-item {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 14px !important;
    margin-top: 0 !important;
    margin-left: 0;
    margin-right: 0;
    display: inline-block !important;
    width: 100% !important;
    position: relative;
    vertical-align: top;
    box-sizing: border-box;
}

.waterfall-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 120px;
    box-sizing: border-box; /* 确保padding包含在宽度内 */
}

/* 确保瀑布流卡片内容不被裁剪 */
#latestNewsNav .waterfall-card {
    overflow: visible; /* 确保内容不被裁剪 */
}

.waterfall-card .nav-item-header {
    margin-bottom: 10px;
}

/* 最新动态中的标题最多显示2行 */
#latestNewsNav .nav-title,
#latestNewsNav .waterfall-card .nav-title {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    overflow-wrap: break-word;
    word-break: break-word;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: calc(1.4em * 2); /* 2行的高度 */
    flex: 1; /* 保持flex布局 */
}

.waterfall-card .nav-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 8px;
    overflow-wrap: break-word;
    word-break: break-word;
    flex-grow: 1;
}

.waterfall-card .nav-category {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    background-color: var(--bg-color);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* 响应式：中等屏幕 */
@media (max-width: 1024px) {
    #latestNewsNav.nav-grid,
    #latestNewsNav {
        column-count: 3 !important;
    }
}

/* 响应式：小屏幕 */
@media (max-width: 768px) {
    #latestNewsNav.nav-grid,
    #latestNewsNav {
        column-count: 1 !important;
    }
}

.nav-item-wrapper {
    position: relative;
}

.nav-item {
    background: var(--card-bg);
    padding: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #ffd700;
}

.favorite-btn.favorited {
    color: #ffd700;
}

.delete-favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background-color: rgba(255, 77, 79, 0.1);
    border-radius: 50%;
    font-size: 20px;
    color: var(--error-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.delete-favorite-btn:hover {
    background-color: rgba(255, 77, 79, 0.2);
    transform: scale(1.1);
}

.favorite-empty {
    text-align: center;
    padding: 8px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.nav-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.3;
}

.nav-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-category {
    display: inline-block;
    font-size: 10px;
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 10px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* 学习技能样式 */
.learning-path-container {
    margin-top: 16px;
}

.learning-path-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.learning-path-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.learning-path-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 推荐书籍样式 */
.books-container {
    margin-top: 16px;
}

.books-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

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

.book-card-wrapper {
    position: relative;
}

.book-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    height: 100%;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.book-cover {
    font-size: 80px;
    line-height: 1;
    flex-shrink: 0;
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.book-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.book-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.book-category {
    font-size: 11px;
    padding: 4px 10px;
    background-color: #e6f7ff;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 500;
}

.book-rating {
    font-size: 14px;
    line-height: 1;
    color: #ffa500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-card {
        padding: 16px;
    }

    .book-cover {
        font-size: 60px;
        width: 80px;
        height: 100px;
    }

    .book-title {
        font-size: 16px;
    }
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
    }

    .industry-options {
        grid-template-columns: 1fr;
    }

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

    .position-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .position-card {
        padding: 16px 12px;
    }

    .position-card-icon {
        font-size: 32px;
    }

    .position-card-name {
        font-size: 14px;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .header-left {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .header-actions .btn-secondary {
        padding: 8px 20px;
        font-size: 13px;
    }

    .logo {
        font-size: 20px;
    }

    .industry-tag-in-header {
        font-size: 12px;
        padding: 3px 12px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .add-favorite-btn {
        align-self: flex-start;
    }

    .favorite-btn,
    .delete-favorite-btn {
        width: 24px;
        height: 24px;
        font-size: 16px;
        top: 6px;
        right: 6px;
    }
}

/* 吃瓜摸鱼悬浮按钮 */
.gossip-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.gossip-float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.6);
}

.gossip-icon {
    font-size: 32px;
    line-height: 1;
}

@media (max-width: 768px) {
    .gossip-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .gossip-icon {
        font-size: 26px;
    }
}
/* 页脚样式 */
.footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-divider {
    color: var(--border-color);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        padding: 16px 0;
        margin-top: 30px;
    }

    .footer-text {
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
    }

    .footer-divider {
        display: none;
    }
}

/* 添加到桌面提示框样式 */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    max-width: 400px;
    width: calc(100% - 40px);
    animation: slideUpIn 0.3s ease;
}

.install-prompt-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid var(--border-color);
}

.install-prompt-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 12px;
}

.install-prompt-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    text-align: center;
}

.install-prompt-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.5;
}

.install-prompt-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.install-prompt-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
}

.install-prompt-btn-primary {
    background: var(--primary-color);
    color: white;
}

.install-prompt-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.install-prompt-btn-secondary {
    background: var(--bg-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.install-prompt-btn-secondary:hover {
    background: var(--border-color);
}

.install-prompt-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.install-prompt-close:hover {
    background: var(--bg-color);
    color: var(--text-primary);
}

@keyframes slideUpIn {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .install-prompt {
        bottom: 15px;
        width: calc(100% - 30px);
        max-width: none;
    }

    .install-prompt-content {
        padding: 16px;
    }

    .install-prompt-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .install-prompt-title {
        font-size: 16px;
    }

    .install-prompt-text {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .install-prompt-actions {
        flex-direction: column;
        gap: 10px;
    }

    .install-prompt-btn {
        max-width: none;
        width: 100%;
    }
}

