/* 前台样式 · 简洁明亮风格 */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* 头部 */
.header {
    text-align: center;
    padding: 32px 0 24px;
}
.logo {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 12px;
}
.site-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111827;
}
.site-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: #6b7280;
}

/* 公告 */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff7e6;
    border: 1px solid #ffe2a8;
    color: #925400;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 20px;
}
.notice-icon { flex-shrink: 0; }

/* 搜索 */
.search-box { margin-bottom: 24px; }
.search-box input {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.search-box input:focus {
    border-color: #4f7cff;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, .15);
}

/* 分组 */
.group { margin-bottom: 28px; }
.group-title {
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    padding-left: 4px;
    border-left: 3px solid #4f7cff;
    padding-left: 10px;
}

/* 卡片 */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 640px) {
    .cards { grid-template-columns: 1fr; }
}

.card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover {
    transform: translateY(-2px);
    border-color: #c9d6ff;
    box-shadow: 0 8px 24px rgba(31, 41, 55, .08);
}
.card-icon {
    font-size: 24px;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: #f0f4ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-body { flex: 1; min-width: 0; }
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-desc {
    font-size: 13px;
    color: #8a94a6;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-arrow {
    color: #c3cbd8;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform .15s, color .15s;
}
.card:hover .card-arrow {
    color: #4f7cff;
    transform: translateX(3px);
}

/* 空状态 */
.empty {
    text-align: center;
    color: #9ca3af;
    padding: 48px 0;
    font-size: 14px;
}

/* 页脚 */
.footer {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9edf3;
}
