/* =========================================================
   AuroraAI 主题样式
   - 配色变量在下方 :root 中定义（--primary / --accent / --primary-rgb）
   - 支持浅色 / 深色模式（.dark 类）
   - 全部响应式，移动端自动折叠导航与单栏堆叠
   ========================================================= */

/* ---------- 基础变量 ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --text: #1f2933;
    --text-soft: #52606d;
    --border: #e4e7eb;
    --card-bg: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .04);
    --radius: 14px;
    --maxw: 1180px;
    --primary: #2563eb;
    --accent: #3b82f6;
    --primary-rgb: 37, 99, 235;
}

.dark {
    --bg: #0f1419;
    --bg-soft: #161b22;
    --text: #e6edf3;
    --text-soft: #9aa4b2;
    --border: #2d333b;
    --card-bg: #161b22;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background .3s ease, color .3s ease;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 18px;
}

.unstyle-li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 50;
}

.site-header.sticky {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-soft);
}

.logo-img img {
    height: 38px;
    width: auto;
    display: block;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list .list-menu>.nav-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

.nav-list .list-menu>.nav-link:hover,
.nav-list .list-menu>.nav-link[aria-current="page"] {
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
}

/* 导航栏「登录」按钮：加底色，更显眼 */
.nav-list .list-menu>.nav-link-login {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .35);
}
.nav-list .list-menu>.nav-link-login:hover,
.nav-list .list-menu>.nav-link-login[aria-current="page"] {
    background: var(--accent);
    color: #fff;
}

/* 导航栏下拉（主分类 hover / focus 显示子分类） */
.nav-list .list-menu {
    position: relative;
}
.nav-list .has-down::after {
    content: "▾";
    font-size: 10px;
    margin-left: 4px;
    opacity: .6;
}
.dropdown-menus {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 168px;
    margin: 8px 0 0;
    padding: 6px;
    list-style: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .18s ease;
    z-index: 60;
}
.nav-list .list-menu:hover > .dropdown-menus,
.nav-list .list-menu:focus-within > .dropdown-menus {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menus .nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
}
.dropdown-menus .nav-link:hover {
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
}
/* 登录 / 用户头像 推到导航最右 */
.nav-list .nav-item-right {
    margin-left: auto;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 主布局 ---------- */
.main-wrap {
    padding-top: 24px;
    padding-bottom: 48px;
}

.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.layout-single .side-col {
    display: none;
}

.layout-single {
    grid-template-columns: minmax(0, 1fr);
}

.content-col {
    min-width: 0;
}

/* ---------- 文章列表卡片 ---------- */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    display: flex;
    gap: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), .15);
}

.post-cover {
    flex: 0 0 220px;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft);
}

.post-cover img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.post-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.log-topflg {
    background: var(--primary);
    color: #fff;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.loglist-sort a,
.post-meta-top a {
    color: var(--primary);
}

.post-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 8px 0;
}

.post-title a {
    color: var(--text);
}

.post-title a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--text-soft);
    font-size: 14.5px;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-soft);
    margin-top: auto;
}

.post-tags .tags,
.post-tags a {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 2px 10px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12px;
}

/* ---------- 文章详情 ---------- */
.post-detail {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.post-detail-header {
    margin-bottom: 18px;
}

.post-detail .post-title {
    font-size: 28px;
    margin: 0 0 10px;
}

.post-edit-link {
    font-size: 13px;
    font-weight: 400;
    margin-left: 8px;
    color: var(--text-soft);
}
.post-edit-link:hover {
    color: var(--primary);
}

.post-detail .post-meta {
    margin-top: 0;
}

.post-cover-full {
    margin: 14px 0 20px;
    border-radius: 12px;
    overflow: hidden;
}

.post-cover-full img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.post-content {
    font-size: 16px;
    word-wrap: break-word;
}

.post-content img {
    border-radius: 8px;
    margin: 12px 0;
}

.post-content pre {
    background: var(--bg-soft);
    padding: 14px;
    border-radius: 10px;
    overflow: auto;
}

.post-content blockquote {
    margin: 16px 0;
    padding: 8px 16px;
    border-left: 4px solid var(--primary);
    background: var(--bg-soft);
    color: var(--text-soft);
    border-radius: 0 8px 8px 0;
}

/* ---------- AI 智能评价卡片 ---------- */
.ai-review {
    margin: 26px 0;
    border: 1px solid rgba(var(--primary-rgb), .35);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), .07), rgba(var(--primary-rgb), .02));
    border-radius: var(--radius);
    padding: 18px 20px;
}

.ai-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.ai-review-title {
    margin: 0;
    font-size: 17px;
    color: var(--primary);
}

.ai-review-body {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- 相邻文章（上一篇 / 下一篇） ---------- */
.neighbor-log {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 28px 0 8px;
    position: relative;
}

.neighbor-log::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--border);
}

.neighbor-link {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    font-size: 13px;
    color: var(--text-soft);
    max-width: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.neighbor-link .neighbor-title {
    color: var(--text);
    font-weight: 600;
}

.neighbor-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.neighbor-log .prev-log {
    display: flex;
}
.neighbor-log .prev-log .neighbor-link {
    border-radius: 12px 0 0 12px;
    border-right: none;
}
.neighbor-log .next-log {
    display: flex;
    justify-content: flex-end;
}
.neighbor-log .next-log .neighbor-link {
    text-align: right;
    align-items: flex-end;
    border-radius: 0 12px 12px 0;
    border-left: none;
}

@media (max-width: 600px) {
    .neighbor-log {
        grid-template-columns: 1fr;
    }
    .neighbor-log::before {
        display: none;
    }
    .neighbor-log .prev-log .neighbor-link,
    .neighbor-log .next-log .neighbor-link {
        border-radius: 12px;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        align-items: flex-start;
        text-align: left;
    }
}

/* ---------- 评论 ---------- */
.comment-header {
    margin: 20px 0 10px;
    font-size: 16px;
}

.comment {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.comment .avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.comment-infos {
    flex: 1;
}

.comment-content {
    margin: 4px 0;
}

.comment-reply .com-reply {
    border: none;
    background: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.commentform {
    margin-top: 18px;
}

.commentform textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
}

.comment-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.comment-info input {
    flex: 1;
    min-width: 160px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
}

.btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    background: var(--accent);
}

/* ---------- 侧边栏 ---------- */
.side-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 84px;
}

.widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.widget-title h3 {
    margin: 0 0 12px;
    font-size: 16px;
    position: relative;
    padding-left: 12px;
}

.widget-title h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(var(--primary), var(--accent));
}

.widget-list li,
.log-classify-f li,
.side-comment-list li,
.side-twitter-item {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

/* 侧栏最新评论：头像 + 昵称在左成组，评论内容在右 */
.side-comment-list .comment-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}
.side-comment-list .comm-ava-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 46px;
    flex-shrink: 0;
    gap: 4px;
}
.side-comment-list .comment-info_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}
.side-comment-list .comm-lates-name {
    font-size: 12px;
    color: var(--text);
    max-width: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.side-comment-list .comm-lates-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.side-comment-list .comm-lates-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-comment-list .comm-lates-text:hover {
    color: var(--primary);
}
.side-comment-list .logcom-latest-time {
    font-size: 11px;
    color: var(--text-soft);
    opacity: .7;
}

.tag-container .tags-side {
    display: inline-block;
    margin: 3px 5px 3px 0;
    padding: 2px 10px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px !important;
}

.archive {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
}

/* ---------- 侧边栏日历 ---------- */
.aurora-calendar-wrap #calendar {
    width: 100%;
}
.aurora-calendar {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}
.aurora-calendar caption {
    padding: 0 0 10px;
    font-weight: 600;
    color: var(--text);
}
.aurora-calendar caption a {
    color: var(--primary);
}
.aurora-calendar th,
.aurora-calendar td {
    padding: 7px 0;
    border: 1px solid var(--border);
}
.aurora-calendar th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--text-soft);
}
.aurora-calendar td {
    color: var(--text);
}
.aurora-calendar td.today {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-color: var(--primary);
}
.aurora-calendar td a {
    display: block;
    color: var(--primary);
    font-weight: 600;
}
.aurora-calendar td a:hover {
    background: rgba(var(--primary-rgb), .1);
}
.aurora-calendar td.empty {
    background: transparent;
}

.search input[type="search"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    margin-bottom: 8px;
}

.search input[type="submit"] {
    width: 100%;
    padding: 9px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

.bloggerinfo-img {
    width: 64px;
    height: 64px;
    max-width: 100%;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.bloggerinfo-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.bloggerinfo-avatar a {
    display: inline-block;
    line-height: 0;
}

.bloginfo-name {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.bloginfo-descript {
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
    line-height: 1.6;
}

/* ---------- 分页 ---------- */
#pagenavi,
.pagenavi {
    margin: 24px 0;
    text-align: center;
}

#pagenavi a,
#pagenavi span,
.pagenavi a,
.pagenavi span {
    display: inline-block;
    margin: 0 3px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

#pagenavi .current,
.pagenavi .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- 页脚 ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 26px 0;
    color: var(--text-soft);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}


/* ---------- 悬浮操作区（返回顶部 + 外观模式），固定右下跟随滚动 ---------- */
.aurora-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.aurora-fab .back-to-top {
    position: static;
    right: auto;
    bottom: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: none;
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), .4);
}
.aurora-fab .back-to-top.show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.aurora-fab .aurora-theme-toggle {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: .2s;
}
.aurora-fab .aurora-theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.dark .aurora-fab .aurora-theme-toggle {
    background: var(--card-bg);
}
.aurora-fab .aurora-to-bottom {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: .2s;
}
.aurora-fab .aurora-to-bottom:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.dark .aurora-fab .aurora-to-bottom {
    background: var(--card-bg);
}

/* ---------- 搜索提示 ---------- */
.search-tip {
    background: rgba(var(--primary-rgb), .08);
    border-left: 4px solid var(--primary);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
    color: var(--text-soft);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-col {
        position: static;
    }

    .site-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        justify-content: flex-start;
    }

    .site-nav.open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 14px;
        gap: 2px;
    }

    .nav-list .list-menu>.nav-link {
        display: block;
    }

    .dropdown-menus {
        position: static !important;
        box-shadow: none;
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-toggle {
        display: flex;
    }

    .post-card {
        flex-direction: column;
    }

    .post-cover {
        flex: none;
    }

    .post-cover img {
        height: 190px;
    }

    .post-detail {
        padding: 18px;
    }

    .post-detail .post-title {
        font-size: 23px;
    }
}

/* =========================================================
   视觉增强：背景层次 / 首页 Hero / 封面占位 / 友情链接
   ========================================================= */

/* ---------- 背景层次 ---------- */
body {
    background-image:
        radial-gradient(1200px 600px at 85% -8%, rgba(var(--primary-rgb), .06), transparent 60%),
        radial-gradient(1000px 520px at -10% 0%, rgba(var(--primary-rgb), .045), transparent 55%);
    background-attachment: fixed;
}

/* ---------- 封面占位（无封面文章） ---------- */
.post-cover--ph {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-cover--ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.4px);
    background-size: 14px 14px;
    opacity: .5;
}

.post-cover--ph .ph-letter {
    position: relative;
    font-size: 60px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

/* ---------- 友情链接 ---------- */
.friend-links {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 26px 0 10px;
}

.fl-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    padding-left: 12px;
    color: var(--text);
}

.fl-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(var(--primary), var(--accent));
}

.fl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fl-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-soft);
    font-size: 14px;
    transition: color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.fl-list li a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), .12);
}

.fl-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

/* ---------- 文章元信息图标 ---------- */
.post-meta .meta-author::before { content: "✍ "; opacity: .7; }
.post-meta .meta-date::before   { content: "📅 "; opacity: .7; }
.post-meta .meta-views::before  { content: "👁 "; opacity: .7; }
.post-meta .meta-comments::before { content: "💬 "; opacity: .7; }

/* ---------- 页脚增强 ---------- */
.site-footer {
    margin-top: 8px;
}


/* ---------- 登录后「管理」头像（用户菜单） ---------- */
/* 约束默认 512x512 头像为导航栏小圆头像，避免撑爆页面 */
.site-header .user-menu {
    position: relative;
}
.site-header .user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-header .header-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    background: var(--bg-soft);
    flex-shrink: 0;
    transition: transform .2s ease, border-color .2s ease;
}
.site-header .user-menu-trigger:hover .header-avatar {
    transform: scale(1.08);
    border-color: var(--primary);
}

/* ---------- 移动端适配（增强部分） ---------- */
@media (max-width: 900px) {
    .post-cover--ph {
        min-height: 160px;
    }
}

