@charset "utf-8";
/* ============================================================
   神盘 · 璇玑主题 (Xuanji) — AI 新中式科技风设计系统
   东方玄学内核 × 未来科技外壳 | 深空 · 霓虹 · 玻璃拟态 · 五行
   ============================================================ */

/* ============ 1. 设计令牌 (Design Tokens) ============ */
:root {
    /* 深空背景 */
    --xj-bg-0: #070a16;
    --xj-bg-1: #0a0e1a;
    --xj-bg-2: #0d1225;
    --xj-bg-3: #121833;
    /* 玻璃层 */
    --xj-glass: rgba(255, 255, 255, 0.045);
    --xj-glass-2: rgba(255, 255, 255, 0.07);
    --xj-glass-border: rgba(255, 255, 255, 0.10);
    --xj-glass-border-hot: rgba(34, 211, 238, 0.55);
    /* 霓虹主色 */
    --xj-cyan: #22d3ee;
    --xj-cyan-soft: #67e8f9;
    --xj-blue: #3b82f6;
    --xj-violet: #8b5cf6;
    --xj-violet-soft: #a78bfa;
    /* 品牌渐变 */
    --xj-grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);
    --xj-grad-soft: linear-gradient(120deg, rgba(34,211,238,.16), rgba(139,92,246,.16));
    /* 文字 */
    --xj-tx-1: #e6e9f2;
    --xj-tx-2: #9aa6c0;
    --xj-tx-3: #6b7794;
    /* 五行色 */
    --xj-wx-jin: #f0b429;
    --xj-wx-mu: #34d399;
    --xj-wx-shui: #38bdf8;
    --xj-wx-huo: #f87171;
    --xj-wx-tu: #d4a574;
    /* 辉光 / 圆角 / 阴影 */
    --xj-glow: 0 0 22px rgba(34, 211, 238, 0.35);
    --xj-glow-v: 0 0 22px rgba(139, 92, 246, 0.40);
    --xj-shadow: 0 12px 40px rgba(2, 6, 23, 0.55);
    --xj-radius: 16px;
    --xj-radius-s: 10px;
    /* 字体 */
    --xj-font: "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    --xj-font-song: "Source Han Serif SC", "Songti SC", "SimSun", serif;
    --xj-font-mono: "JetBrains Mono", "Space Grotesk", "Consolas", monospace;
}

/* ============ 2. 基础重置 ============ */
*, *:before, *:after { box-sizing: border-box; }
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, var,
b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer,
header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
html { font-size: 10px; -webkit-tap-highlight-color: rgba(0,0,0,0); scroll-behavior: smooth; }
body {
    color: var(--xj-tx-1);
    font-family: var(--xj-font);
    font-size: 15px; line-height: 1.75;
    background-color: var(--xj-bg-1);
    background-image:
        radial-gradient(900px 500px at 12% -8%, rgba(34,211,238,.10), transparent 60%),
        radial-gradient(900px 600px at 92% 4%, rgba(139,92,246,.12), transparent 62%),
        linear-gradient(180deg, var(--xj-bg-0), var(--xj-bg-1) 38%, var(--xj-bg-2));
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
li { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: none; }
a { color: var(--xj-cyan-soft); text-decoration: none; background: transparent; transition: color .25s ease; }
a:hover, a:focus { color: var(--xj-cyan); }
img { max-width: 100%; height: auto; vertical-align: middle; }
p { line-height: 1.9; }
h1, h2, h3, h4, h5, h6 { color: var(--xj-tx-1); font-weight: 700; line-height: 1.4; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
mark { background: rgba(240,180,41,.28); color: var(--xj-wx-jin); border-radius: 4px; padding: 0 4px; }
::selection { background: rgba(34,211,238,.30); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--xj-bg-1); }
::-webkit-scroll-thumb { background: linear-gradient(var(--xj-cyan), var(--xj-violet)); border-radius: 8px; }

/* 科技网格点阵背景层（仅深色） */
body:before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

/* ============ 3. 通用容器 ============ */
.container, .header_top { max-width: 1240px; margin: 0 auto; padding: 0 22px; width: 100%; }
.wrapper { padding-top: 26px; }
.content-wrap { width: 100%; overflow: hidden; }

/* ============ 4. 玻璃导航 ============ */
#header_main { position: relative; z-index: 100; }
#header.fixed-nav {
    position: sticky; top: 0; width: 100%;
    background: rgba(10, 14, 26, 0.72);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--xj-glass-border);
    box-shadow: 0 6px 30px rgba(2, 6, 23, .45);
}
#header .container { display: flex; align-items: center; height: 72px; gap: 18px; position: relative; }
.logo { margin: 0; flex: 0 0 auto; }
.logo a { display: inline-flex; align-items: center; gap: 10px; position: relative; }
.logo img { max-height: 42px; width: auto; }
.logo b.shan { display: none; }

/* 菜单 */
.menu-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: flex-start; }
.header-nav { float: none; margin-left: 0; min-width: 0; }
.header-nav ul.navbar { display: flex; flex-wrap: nowrap; gap: 2px; max-width: none; white-space: nowrap; }
.header-nav li { position: relative; flex: 0 0 auto; }
.header-nav li a {
    display: block; margin: 0; padding: 8px 10px; font-size: 1.35rem; white-space: nowrap;
    color: var(--xj-tx-2); border-radius: 9px; position: relative; font-weight: 500;
}
.header-nav li a:hover, .header-nav li a.current, .header-nav li.current a {
    color: var(--xj-cyan); background: var(--xj-glass);
}
.header-nav li a:after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
    background: var(--xj-grad); border-radius: 2px; transform: scaleX(0); transition: transform .28s;
}
.header-nav li a:hover:after { transform: scaleX(1); }
.header-nav .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 160px;
    background: rgba(13, 18, 37, .96); backdrop-filter: blur(14px);
    border: 1px solid var(--xj-glass-border); border-radius: 12px; padding: 6px;
    box-shadow: var(--xj-shadow); display: none;
}
.header-nav li:hover .sub-menu { display: block; }
.header-nav .sub-menu a { white-space: nowrap; }

/* 搜索 */
.search_top { flex: 0 0 auto; display: flex; align-items: center; }
.search_btn {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--xj-tx-2); border: 1px solid var(--xj-glass-border); border-radius: 10px; background: var(--xj-glass);
}
.search_btn:hover { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); box-shadow: var(--xj-glow); }
.top_search { position: absolute; right: 22px; top: 78px; width: 320px; display: none; }
.top_search.open { display: block; }
.searchform { display: flex; gap: 8px; background: rgba(13,18,37,.97); padding: 12px; border: 1px solid var(--xj-glass-border); border-radius: 14px; box-shadow: var(--xj-shadow); }
.searchform .text {
    flex: 1; min-width: 0; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border);
    color: var(--xj-tx-1); border-radius: 9px; padding: 9px 12px; font-size: 14px; outline: none;
}
.searchform .text:focus { border-color: var(--xj-cyan); }
.searchform .btn, .btn-primary, .btn-default {
    border: none; cursor: pointer; border-radius: 9px; padding: 9px 18px; font-weight: 600; color: #04121a;
    background: var(--xj-grad); transition: filter .25s, box-shadow .25s;
}
.searchform .btn:hover, .btn-primary:hover { box-shadow: var(--xj-glow); filter: brightness(1.08); }
.top-tnrt { color: var(--xj-tx-2); border: 1px solid var(--xj-glass-border); border-radius: 9px; padding: 6px 10px; }
.nav-sjlogo, .nav-sousuo { display: none; }

/* 夜间切换按钮位 */
.page-night { flex: 0 0 auto; }
.night_link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--xj-glass-border); border-radius: 10px; color: var(--xj-cyan); background: var(--xj-glass); }

/* ============ 5. 主布局（左内容 + 右侧栏） ============ */
.home-main { display: flex; gap: 26px; align-items: flex-start; }
.wrapbox.left { flex: 1 1 auto; min-width: 0; }
.sidebar.right { flex: 0 0 320px; width: 320px; }
.home-cms { margin-top: 34px; }

/* ============ 6. 玻璃卡片通用 ============ */
.sidebar_widget, .post_box, .col-small, .catlist-main, .cmstext_box, .layout_list,
.fluid-box, .single-post, .catalog-header, .shadow-box, .goods-box {
    background: var(--xj-glass);
    border: 1px solid var(--xj-glass-border);
    border-radius: var(--xj-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--xj-shadow);
}
.sidebar_widget { padding: 22px; margin-bottom: 24px; transition: border-color .3s, transform .3s; }
.sidebar_widget:hover { border-color: var(--xj-glass-border-hot); }
.sidebar_title, .sidebar_title h3 { font-size: 1.7rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.sidebar_title:before, .catlist-title:before, .relates_h3 h3:before {
    content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--xj-grad); display: inline-block;
}

/* 轮播 */
.swiper-main { border-radius: var(--xj-radius); overflow: hidden; position: relative; margin-bottom: 26px; border: 1px solid var(--xj-glass-border); }
.swiper-slide { position: relative; }
.swiper-slide img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.slide-title {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 16px; font-size: 1.8rem;
    color: #fff; background: linear-gradient(transparent, rgba(4,8,20,.88));
}
.swiper-pagination { position: absolute; bottom: 12px !important; }
.swiper-pagination-bullet-active { background: var(--xj-cyan); }
.swiper-button-next, .swiper-button-prev { color: #fff; }
.b-border { border: 1px solid var(--xj-glass-border); }

/* 置顶焦点列表 */
.top_list { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: var(--xj-radius); padding: 22px; margin-bottom: 26px; }
.col-small { display: flex; gap: 14px; padding: 14px; margin-bottom: 14px; box-shadow: none; }
.col-pic { flex: 0 0 120px; }
.col-pic img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.col-info { min-width: 0; }
.col-title { color: var(--xj-tx-1); font-size: 1.6rem; font-weight: 600; display: block; }
.col-title:hover { color: var(--xj-cyan); }
.col-desc { color: var(--xj-tx-2); font-size: 1.35rem; margin-top: 6px; }
.col-large { margin-top: 8px; }
.col-large li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(148,163,184,.15); }
.col-large em {
    flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 1.25rem; font-weight: 700; color: #04121a; background: var(--xj-grad);
}
.col-large a { flex: 1; color: var(--xj-tx-1); font-size: 1.45rem; }
.col-large a:hover { color: var(--xj-cyan); }
.list-date { color: var(--xj-tx-3); font-size: 1.25rem; font-family: var(--xj-font-mono); }
.col-read { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--xj-cyan); font-weight: 600; }

/* Tab 切换标题 */
.tab-list-title ul { display: flex; gap: 6px; border-bottom: 1px solid var(--xj-glass-border); margin-bottom: 20px; }
.tab-list-title li a, .tab-list-title li { padding: 10px 16px; color: var(--xj-tx-2); font-weight: 600; display: block; cursor: pointer; }
.tab-list-title li.active a { color: var(--xj-cyan); }
.xiegang { color: var(--xj-tx-3); }

/* 文章列表条目（post_box：左图右文，统一玻璃卡片，适配所有列表容器） */
.post_box { padding: 18px; margin-bottom: 18px; display: flex; gap: 20px; align-items: stretch; }
.post-img, .post-imglist { flex: 0 0 200px; }
.post-img a, .post-img { display: block; }
.post-img img, .post-imglist img { width: 200px; height: 150px; object-fit: cover; border-radius: 12px; }
.post-left { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.post_box h2 { margin: 0 0 10px; line-height: 1.4; }
.post_box h2 a { color: var(--xj-tx-1); font-size: 1.8rem; font-weight: 700; }
.post_box h2 a:hover { color: var(--xj-cyan); }
.post-con { min-width: 0; flex: 1 1 auto; }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; color: var(--xj-tx-3); font-size: 1.28rem; margin: 12px 0 0; }
.item-meta .left, .item-meta .right { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; min-width: 0; }
.item-meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.item-meta i { color: var(--xj-cyan); }
.post-con > a, .post-text p, .post-con p { color: var(--xj-tx-2); font-size: 1.38rem; line-height: 1.75; }
.post-con > a:hover { color: var(--xj-cyan-soft); }


/* 图片网格列表（imglist） */
.imglist-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.imglist-item-box, .post-imglist { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 14px; overflow: hidden; transition: transform .3s, border-color .3s; }
.imglist-item-box:hover, .post-imglist:hover { transform: translateY(-4px); border-color: var(--xj-glass-border-hot); box-shadow: var(--xj-glow); }
.imglist-img-wp img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.imglist-item-box .post-con, .imglist-item-box .summary-main { padding: 14px; }
/* 卡片内部：用户信息行 */
.imglist-user-info { display: flex; align-items: center; gap: 10px; padding: 12px 14px 6px; }
img.user-header { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--xj-glass-border); flex: 0 0 32px; object-fit: cover; }
.imglist-username { color: var(--xj-tx-1); font-size: 1.35rem; font-weight: 600; }
.imglist-fbtime { margin-left: auto; color: var(--xj-tx-3); font-size: 1.25rem; font-family: var(--xj-font-mono); }
/* 卡片标题 */
.imglist-title { padding: 4px 14px 8px; }
.imglist-title h2 { font-size: 1.5rem; line-height: 1.5; }
.imglist-title h2 a { color: var(--xj-tx-1); }
.imglist-title h2 a:hover { color: var(--xj-cyan); }
/* 卡片元信息 */
.imglist-item-meta { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 14px; color: var(--xj-tx-3); font-size: 1.28rem; border-top: 1px solid rgba(148,163,184,.12); }
.imglist-item-meta a { color: var(--xj-tx-2); }
.imglist-item-meta i { color: var(--xj-cyan); }
.imglist-item-viewnums { font-family: var(--xj-font-mono); }

/* 栏目 CMS 区块 */
.catlist, .cat-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.catlist-main { padding: 20px; }
.catlist-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.catlist-text { font-size: 1.7rem; font-weight: 700; display: inline-flex; align-items: center; gap: 9px; }
.catlist-title a { color: var(--xj-cyan); font-size: 1.35rem; }
.cat-post { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(148,163,184,.15); }
.cat-format .cat-scale { flex: 0 0 150px; }
.cat-scale img { width: 150px; height: 110px; object-fit: cover; border-radius: 10px; }
.cat-entry-title a { color: var(--xj-tx-1); font-size: 1.5rem; font-weight: 600; }
.cat-entry-title a:hover { color: var(--xj-cyan); }
.cat-entry-info { color: var(--xj-tx-2); font-size: 1.3rem; margin-top: 5px; }
.cat-grid .cat-entry-title { font-size: 1.45rem; }
.cat-grid strong { color: var(--xj-violet-soft); margin-right: 6px; }

/* 纯文字列表 */
.textcont-list .textcont-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(148,163,184,.15); }
.textcont-item a { color: var(--xj-tx-1); }
.textcont-item a:hover { color: var(--xj-cyan); }
.textcont-item .right { color: var(--xj-tx-3); font-family: var(--xj-font-mono); font-size: 1.25rem; }

/* 三栏图文 homecate3 */
.homecate3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.homecate3_box { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: var(--xj-radius); padding: 18px; }
.homecate3_title h2 { font-size: 1.65rem; margin-bottom: 12px; }
.cate3-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.cate3-info h2 a { color: var(--xj-tx-1); font-size: 1.45rem; }
.cate3-info p { color: var(--xj-tx-2); font-size: 1.3rem; }

/* 焦点 layout */
.layout_list { padding: 22px; margin-bottom: 26px; }
.layout_title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.layout_title h2 { font-size: 1.8rem; }
.layout_title span { color: var(--xj-tx-2); font-size: 1.3rem; }
.layout-pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.layout_ul { margin-bottom: 14px; }
.layout-desc { color: var(--xj-tx-2); font-size: 1.35rem; margin: 8px 0; }
.layout-meta { display: flex; justify-content: space-between; color: var(--xj-tx-3); font-size: 1.28rem; }
.layout-large li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(148,163,184,.15); }
.layout-large a { color: var(--xj-tx-1); }

/* flexisel 横向滚动 */
.fluid-box { padding: 20px; }
.nbs-flexisel-ul { display: flex; gap: 16px; overflow-x: auto; }
.nbs-flexisel-item { flex: 0 0 220px; }
.nbs-flexisel-item img { width: 220px; height: 150px; object-fit: cover; border-radius: 11px; }
.flexisel-h-title a { color: var(--xj-tx-1); font-size: 1.4rem; display: block; margin-top: 8px; }

/* 首页品牌介绍玻璃卡 */
.home-intro-box {
    background: var(--xj-grad-soft);
    border: 1px solid var(--xj-glass-border-hot);
    border-radius: var(--xj-radius);
    padding: 22px 24px; margin: 0 0 18px;
    box-shadow: var(--xj-shadow); position: relative; overflow: hidden;
}
.home-intro-box:after {
    content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.28), transparent 70%); pointer-events: none;
}
.xj-intro-title { font-size: 1.9rem; margin-bottom: 12px; color: var(--xj-cyan); display: flex; align-items: center; gap: 10px; }
.xj-intro-title:before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--xj-grad); box-shadow: var(--xj-glow); }
.home-intro-box p { color: var(--xj-tx-2); margin-bottom: 10px; position: relative; }
.home-intro-box p:last-child { margin-bottom: 0; }

/* ============================================================
   15. 首页 AI 智能起名 Hero
   ============================================================ */
.xj-hero { position: relative; padding: 64px 0 46px; overflow: hidden; }
.xj-hero-inner { position: relative; text-align: center; z-index: 2; }
/* 极光光斑 */
.xj-hero-orb {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 720px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .55;
    background: radial-gradient(circle at 30% 50%, rgba(34,211,238,.55), transparent 60%),
                radial-gradient(circle at 72% 50%, rgba(139,92,246,.55), transparent 60%);
    pointer-events: none;
}
/* 星环（同心圆轨道） */
.xj-hero-ring {
    position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
    width: 520px; height: 520px; border-radius: 50%; pointer-events: none; opacity: .35;
    background:
        radial-gradient(circle, transparent 60px, rgba(148,163,184,.25) 61px, transparent 62px),
        radial-gradient(circle, transparent 120px, rgba(148,163,184,.2) 121px, transparent 122px),
        radial-gradient(circle, transparent 190px, rgba(148,163,184,.16) 191px, transparent 192px);
}
.xj-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border-hot);
    color: var(--xj-cyan); border-radius: 999px; padding: 7px 18px; font-size: 1.35rem; font-weight: 600;
}
.xj-hero-title {
    font-size: 4.4rem; line-height: 1.25; margin: 0 0 16px 0; letter-spacing: 1px;
    overflow-wrap: break-word; word-break: break-word;
}
.xj-hero-title span {
    background: var(--xj-grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; padding-left: 6px;
}
.xj-hero-sub { color: var(--xj-tx-2); font-size: 1.65rem; max-width: 760px; margin: 0 auto 34px; }

/* 表单玻璃卡 */
.xj-hero-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border);
    backdrop-filter: blur(14px); border-radius: 20px; padding: 28px; text-align: left;
    box-shadow: var(--xj-shadow); max-width: 880px; margin: 0 auto; position: relative;
}
.xj-field { min-width: 0; }
.xj-field label { display: flex; align-items: center; gap: 7px; color: var(--xj-tx-2); font-size: 1.35rem; margin-bottom: 9px; font-weight: 600; }
.xj-field label i { color: var(--xj-cyan); }
.xj-field input[type=text] {
    width: 100%; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border);
    color: var(--xj-tx-1); border-radius: 11px; padding: 12px 14px; font-size: 1.5rem; outline: none;
}
.xj-field input[type=text]:focus { border-color: var(--xj-cyan); box-shadow: var(--xj-glow); }
/* 性别选择 */
.xj-sex { display: flex; gap: 10px; }
.xj-sex-opt {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-2);
    border-radius: 11px; padding: 12px; font-size: 1.45rem; font-weight: 600;
}
.xj-sex-opt .fa-mars { color: var(--xj-cyan); }
.xj-sex-opt .fa-venus { color: var(--xj-violet-soft); }
.xj-sex-opt.active { border-color: var(--xj-cyan); background: var(--xj-grad-soft); color: var(--xj-tx-1); box-shadow: var(--xj-glow); }
/* 出生时间 */
.xj-birth { grid-column: 1 / -1; }
.xj-birth-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.xj-birth-row select {
    width: 100%; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-1);
    border-radius: 10px; padding: 11px 8px; font-size: 1.35rem; outline: none; cursor: pointer;
}
.xj-birth-row select:focus { border-color: var(--xj-cyan); }
/* 主按钮 */
.xj-hero-btn {
    grid-column: 1 / -1; border: none; cursor: pointer; border-radius: 12px; padding: 15px;
    font-size: 1.7rem; font-weight: 700; color: #04121a; background: var(--xj-grad);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: filter .25s, box-shadow .25s;
}
.xj-hero-btn:hover { box-shadow: var(--xj-glow); filter: brightness(1.08); }

/* 更多选项折叠 */
.xj-more-toggle {
    grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 12px;
    padding: 13px 18px; cursor: pointer; color: var(--xj-tx-2); font-size: 1.42rem; font-weight: 600;
    transition: border-color .25s, color .25s, box-shadow .25s;
}
.xj-more-toggle:hover, .xj-more-toggle.open { border-color: var(--xj-glass-border-hot); color: var(--xj-tx-1); box-shadow: var(--xj-glow); }
.xj-more-toggle i.fa-sliders { color: var(--xj-cyan); margin-right: 8px; }
.xj-more-arrow { transition: transform .3s ease; }
.xj-more-toggle.open .xj-more-arrow { transform: rotate(180deg); }
.xj-more {
    grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px;
    max-height: 0; overflow: hidden; opacity: 0; padding: 0 4px;
    transition: max-height .4s ease, opacity .35s ease, padding .35s ease;
}
.xj-more.open { max-height: 900px; opacity: 1; padding: 4px; }
.xj-field-full { grid-column: 1 / -1; }
.xj-more select, .xj-more textarea {
    width: 100%; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-1);
    border-radius: 11px; padding: 12px 14px; font-size: 1.45rem; outline: none; font-family: inherit;
}
.xj-more select { cursor: pointer; }
.xj-more select:focus, .xj-more textarea:focus { border-color: var(--xj-cyan); box-shadow: var(--xj-glow); }
.xj-more textarea { resize: vertical; min-height: 48px; line-height: 1.5; }

/* 能力标签 */
.xj-hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 30px; }
.xj-hero-tags span {
    display: inline-flex; align-items: center; gap: 7px; background: var(--xj-glass);
    border: 1px solid var(--xj-glass-border); border-radius: 999px; padding: 7px 17px;
    color: var(--xj-tx-1); font-size: 1.38rem;
}
.xj-hero-tags i { color: var(--xj-cyan); }
.xj-hero-tags span:hover { border-color: var(--xj-glass-border-hot); transform: translateY(-2px); }

/* 数据看板 */
.xj-hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.xj-stat strong {
    display: block; font-size: 3.4rem; font-family: var(--xj-font-mono); font-weight: 700;
    background: var(--xj-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.xj-stat span { color: var(--xj-tx-3); font-size: 1.4rem; }

/* ============================================================
   15b. 首页提交全屏等待动画（璇玑排盘，30–60 秒）
   ============================================================ */
.xj-loading {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(5, 8, 20, 0.82);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.xj-loading.show { opacity: 1; visibility: visible; }
body.xj-loading-on { overflow: hidden; }
.xj-loading-card {
    width: 100%; max-width: 460px; text-align: center;
    background: linear-gradient(160deg, rgba(20, 27, 52, .96), rgba(12, 16, 36, .96));
    border: 1px solid var(--xj-glass-border-hot); border-radius: 20px;
    padding: 38px 32px 30px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
    transform: translateY(14px) scale(.97); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.xj-loading.show .xj-loading-card { transform: translateY(0) scale(1); }

/* 旋转璇玑环 + 轨道点 + 中心罗盘 */
.xj-loading-orb { position: relative; width: 128px; height: 128px; margin: 0 auto 24px; }
.xj-loading-ring { position: absolute; inset: 0; border-radius: 50%; }
.xj-loading-ring.r1 {
    border: 2px solid transparent;
    border-top-color: var(--xj-cyan); border-right-color: rgba(34, 211, 238, .55);
    animation: xjSpin 1.4s linear infinite;
}
.xj-loading-ring.r2 {
    inset: 13px; border: 2px solid transparent;
    border-bottom-color: var(--xj-violet); border-left-color: rgba(167, 139, 250, .55);
    animation: xjSpin 2.2s linear infinite reverse;
}
.xj-loading-ring.r3 {
    inset: 27px; border: 1.5px dashed rgba(103, 232, 249, .7);
    animation: xjSpin 3.4s linear infinite;
}
/* 沿外环运动的轨道点 */
.xj-loading-dot {
    position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
}
.xj-loading-dot.d1 {
    background: var(--xj-cyan); box-shadow: 0 0 10px rgba(34, 211, 238, .9);
    animation: xjOrbit 1.8s linear infinite;
}
.xj-loading-dot.d2 {
    background: var(--xj-violet); box-shadow: 0 0 10px rgba(167, 139, 250, .9);
    animation: xjOrbit 2.6s linear infinite reverse;
}
.xj-loading-core {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--xj-cyan);
    text-shadow: 0 0 18px rgba(34, 211, 238, .7);
    animation: xjCoreSpin 4s linear infinite, xjPulse 2s ease-in-out infinite;
}
@keyframes xjSpin { to { transform: rotate(360deg); } }
@keyframes xjOrbit {
    from { transform: rotate(0deg) translateX(62px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(62px) rotate(-360deg); }
}
@keyframes xjCoreSpin { to { transform: rotate(360deg); } }
@keyframes xjPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 14px rgba(34, 211, 238, .6); }
    50% { opacity: .75; text-shadow: 0 0 26px rgba(34, 211, 238, .95); }
}

.xj-loading-title {
    font-size: 2rem; font-weight: 700; color: var(--xj-tx-1); margin: 0 0 20px;
    animation: xjTitlePulse 2.2s ease-in-out infinite;
}
@keyframes xjTitlePulse { 0%,100% { opacity: 1; } 50% { opacity: .72; } }

/* 不确定进度条（不虚构百分比） */
.xj-loading-bar {
    position: relative; height: 7px; border-radius: 999px; overflow: hidden;
    background: rgba(255, 255, 255, .08); margin-bottom: 24px;
}
.xj-loading-bar span {
    position: absolute; top: 0; height: 100%; border-radius: 999px;
}
.xj-loading-bar .b1 {
    left: 0; width: 38%; background: var(--xj-grad);
    animation: xjIndeterminate 1.4s ease-in-out infinite;
}
.xj-loading-bar .b2 {
    left: 0; width: 22%; background: rgba(139, 92, 246, .85);
    animation: xjIndeterminate 2.1s ease-in-out infinite;
}
@keyframes xjIndeterminate {
    0% { left: -40%; } 100% { left: 100%; }
}

/* 步骤轮播 */
.xj-loading-steps { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; }
.xj-loading-step {
    position: relative; padding: 9px 0 9px 30px; font-size: 1.45rem;
    color: var(--xj-tx-3); transition: color .3s ease;
}
.xj-loading-step::before {
    content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px;
    border-radius: 50%; border: 2px solid var(--xj-tx-3); transition: all .3s ease;
}
.xj-loading-step.active { color: var(--xj-tx-1); font-weight: 600; }
.xj-loading-step.active::before {
    border-color: var(--xj-cyan); border-top-color: transparent;
    animation: xjSpin 1s linear infinite; box-shadow: 0 0 10px rgba(34, 211, 238, .6);
}
.xj-loading-step.done { color: var(--xj-cyan); }
.xj-loading-step.done::before {
    border: none; width: 14px; height: 8px; top: 14px; left: 6px;
    border-left: 2px solid var(--xj-cyan); border-bottom: 2px solid var(--xj-cyan);
    transform: rotate(-45deg); border-radius: 0;
}
.xj-loading-tip {
    margin: 0; font-size: 1.3rem; color: var(--xj-tx-2);
    background: rgba(255, 255, 255, .045); border-radius: 10px; padding: 11px 14px;
}
.xj-loading-tip i { color: var(--xj-cyan); margin-right: 4px; }

@media (max-width: 600px) {
    .xj-loading-card { padding: 30px 22px 24px; }
    .xj-loading-title { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    /* 这是用户主动等待的功能性加载反馈：保留温和匀速的旋转与进度条，避免完全静止让人误以为卡死；
       仅停用透明度脉冲/呼吸等可能引起前庭不适的效果 */
    .xj-loading-core { animation: xjCoreSpin 6s linear infinite; }
    .xj-loading-title { animation: none; }
    .xj-loading-ring.r1 { animation-duration: 2.2s; }
    .xj-loading-ring.r2 { animation-duration: 3s; }
    .xj-loading-ring.r3 { animation-duration: 4.5s; }
    .xj-loading-dot.d1 { animation-duration: 2.6s; }
    .xj-loading-dot.d2 { animation-duration: 3.4s; }
    .xj-loading-bar .b1 { animation-duration: 2.2s; }
    .xj-loading-bar .b2 { animation-duration: 3s; }
    .xj-loading-step.active::before { animation-duration: 1.6s; }
}

/* ============================================================
   16. 文章页目录 TOC（位于右侧栏内，sticky 跟随，不挤占侧栏）
   ============================================================ */
.xj-toc {
    position: static;
    width: 100%; max-height: none; overflow-y: visible;
    background: var(--xj-glass); backdrop-filter: blur(14px);
    border: 1px solid var(--xj-glass-border); border-radius: 15px;
    padding: 16px 14px; margin-bottom: 24px; box-shadow: var(--xj-shadow);
    display: none;
}
.xj-toc.xj-toc-show { display: block; }
.xj-toc-title {
    display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 700;
    color: var(--xj-cyan); margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 1px solid var(--xj-glass-border);
}
.xj-toc-list li { margin-bottom: 3px; }
.xj-toc-list a {
    display: block; color: var(--xj-tx-2); font-size: 1.32rem; line-height: 1.5;
    padding: 7px 10px; border-radius: 8px; border-left: 2px solid transparent;
}
.xj-toc-h3 a { padding-left: 22px; font-size: 1.26rem; color: var(--xj-tx-3); }
.xj-toc-list li:hover a { color: var(--xj-cyan); background: var(--xj-glass); }
.xj-toc-list li.active a {
    color: var(--xj-cyan); background: var(--xj-grad-soft);
    border-left-color: var(--xj-cyan); font-weight: 600;
}

/* ============================================================
   17. 五行雷达卡片
   ============================================================ */
.xj-wuxing-card {
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border);
    border-radius: var(--xj-radius); padding: 22px; margin: 24px 0;
}
.xj-wuxing-title {
    display: flex; align-items: center; gap: 9px; font-size: 1.7rem; font-weight: 700;
    color: var(--xj-tx-1); margin-bottom: 12px;
}
.xj-wuxing-title i { color: var(--xj-cyan); }
.xj-wuxing-title span {
    font-size: 1.25rem; font-weight: 400; color: var(--xj-tx-3); margin-left: auto;
}
.xj-wuxing { display: flex; justify-content: center; }
.xj-wuxing-svg { width: 100%; max-width: 400px; height: auto; }
.xj-wx-grid {
    fill: rgba(148, 163, 184, 0.035);
    stroke: rgba(148, 163, 184, 0.28);
}
.xj-wx-axis { stroke: rgba(148, 163, 184, 0.22); stroke-width: 1; }
.xj-wx-data { filter: drop-shadow(0 0 8px rgba(34, 211, 238, .45)); }
.xj-wx-dot { filter: drop-shadow(0 0 5px currentColor); }
.xj-wx-label { font-size: 17px; font-weight: 700; font-family: var(--xj-font-song); }
@media screen and (max-width: 560px) {
    .xj-wuxing-title { flex-wrap: wrap; }
    .xj-wuxing-title span { margin-left: 0; flex-basis: 100%; }
}

/* ============ 7. 文章页（科技排版） ============ */
.single-post { padding: 30px; margin-bottom: 26px; }
/* 头像与标题同一行：头像居左、标题居右，meta 行整体换行到下方 */
#post-header { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; row-gap: 14px; }
#post-header .single-avatar { flex: 0 0 auto; }
#post-header h1 { flex: 1 1 0; min-width: 0; margin: 0; }
#post-header .single-info { flex: 1 1 100%; }
.single-title h1 {
    font-size: 2.9rem; line-height: 1.35; margin: 14px 0 18px;
    background: linear-gradient(120deg, #fff 20%, var(--xj-cyan-soft) 70%, var(--xj-violet-soft));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.single-avatar { position: relative; display: inline-block; }
.single-avatar .author-avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--xj-cyan); }
.recommend-flag {
    -webkit-text-fill-color: #04121a; background: var(--xj-grad); color: #04121a;
    font-size: 1.2rem; border-radius: 6px; padding: 2px 9px; margin-left: 10px; vertical-align: middle;
}
.single-info { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--xj-glass-border); border-bottom: 1px solid var(--xj-glass-border); color: var(--xj-tx-2); font-size: 1.32rem; }
.single-info i { color: var(--xj-cyan); }
.single-updated i { color: var(--xj-blue) !important; }
.single-updated-same { color: var(--xj-tx-3); opacity: .82; }
.single-updated-same i { color: var(--xj-tx-3) !important; }
.single-font { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.sing-bj, .sing-sc { color: var(--xj-tx-2); }
.sing-bj:hover { color: var(--xj-cyan); }

/* AI 摘要玻璃卡 */
.article-zhaiyao {
    background: var(--xj-grad-soft); border: 1px solid var(--xj-glass-border-hot);
    border-radius: 13px; padding: 16px 18px; margin-bottom: 26px; position: relative;
}
.article-zhaiyao strong { display: flex; align-items: center; gap: 8px; color: var(--xj-cyan); margin-bottom: 8px; font-size: 1.5rem; }
.article-zhaiyao strong img { width: 22px; height: 22px; margin: 0; display: inline-block; border-radius: 0; flex: 0 0 auto; }
.article-zhaiyao { color: var(--xj-tx-1); }

/* 正文排版 */
.entry { font-size: 1.58rem; color: var(--xj-tx-1); }
.entry > p { margin: 18px 0; line-height: 2; }
.entry h2 {
    font-size: 2.25rem; margin: 38px 0 18px; padding-left: 16px; position: relative;
    display: flex; align-items: center; gap: 12px;
}
.entry h2:before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: var(--xj-grad); box-shadow: var(--xj-glow); }
.entry h3 { font-size: 1.9rem; margin: 28px 0 14px; color: var(--xj-cyan-soft); }
.entry h4 { font-size: 1.65rem; margin: 22px 0 12px; }
.entry ul, .entry ol { margin: 16px 0 16px 6px; }
.entry ul li { list-style: none; position: relative; padding-left: 22px; margin: 9px 0; }
.entry ul li:before { content: "▹"; position: absolute; left: 0; color: var(--xj-cyan); }
.entry ol { counter-reset: xjli; }
.entry ol li { list-style: none; counter-increment: xjli; padding-left: 30px; position: relative; margin: 9px 0; }
.entry ol li:before { content: counter(xjli); position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 6px; background: var(--xj-grad); color: #04121a; font-size: 1.25rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.entry img { border-radius: 12px; margin: 18px auto; display: block; }
.entry blockquote {
    margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--xj-violet);
    background: var(--xj-glass); border-radius: 0 12px 12px 0; color: var(--xj-tx-2); font-family: var(--xj-font-song);
}
.entry blockquote p { font-family: var(--xj-font-song); }
.entry code, .entry pre { font-family: var(--xj-font-mono); }
.entry code { background: rgba(139,92,246,.18); color: var(--xj-violet-soft); padding: 2px 7px; border-radius: 6px; font-size: 1.35rem; }
.entry pre { background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); border-radius: 12px; padding: 18px; overflow-x: auto; }
.entry table { margin: 20px 0; border: 1px solid var(--xj-glass-border); }
.entry th, .entry td { border: 1px solid var(--xj-glass-border); padding: 11px 14px; text-align: left; }
.entry th { background: var(--xj-glass-2); color: var(--xj-cyan); }
.entry a { border-bottom: 1px solid rgba(34,211,238,.4); }
.entry a:hover { border-bottom-color: var(--xj-cyan); }
.entry hr { border-top: 1px solid var(--xj-glass-border); margin: 30px 0; }

/* 标签 */
.entry-meta { margin: 26px 0; }
.post-tag { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--xj-tx-2); }
.post-tag i { color: var(--xj-cyan); }
.post-tag a {
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 999px;
    padding: 5px 15px; font-size: 1.35rem; color: var(--xj-tx-1);
}
.post-tag a:hover { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); box-shadow: var(--xj-glow); }

/* 版权声明 */
.shuoming { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 13px; padding: 18px 20px; margin: 24px 0; }
.shuoming .title { font-weight: 700; margin-bottom: 10px; color: var(--xj-cyan); }
.wzycsm, .wzbqsm-p { color: var(--xj-tx-2); font-size: 1.35rem; line-height: 1.9; }

/* 文章操作条 */
.article-action { margin: 26px 0; }
.post-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.post-actions a, .z-thumbs-up, .read, .comiis_poster_a, .mobile_click {
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 11px; padding: 10px 18px; color: var(--xj-tx-1);
}
.post-actions a:hover, .mobile_click:hover { border-color: var(--xj-glass-border-hot); color: var(--xj-cyan); box-shadow: var(--xj-glow); }
.rewards-popover { background: rgba(13,18,37,.98); border: 1px solid var(--xj-glass-border); border-radius: 16px; box-shadow: var(--xj-shadow); }

/* 上下篇 */
.article-nav { display: flex; gap: 18px; margin: 26px 0; }
.article-nav-prev, .article-nav-next { flex: 1; background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 13px; padding: 16px; }
.article-nav a { color: var(--xj-tx-1); font-weight: 600; }
.article-nav a:hover { color: var(--xj-cyan); }
.nav-reveal { display: flex; gap: 18px; margin: 26px 0; }
.nav-reveal a { flex: 1; display: flex; gap: 14px; align-items: center; background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 13px; padding: 16px; color: var(--xj-tx-1); }
.nav-reveal .icon-wrap { font-size: 2.2rem; color: var(--xj-cyan); }
.nav-reveal h3 { font-size: 1.5rem; }
.nav-reveal span { color: var(--xj-tx-3); font-size: 1.25rem; }

/* 相关推荐 */
.related-posts { margin: 30px 0; }
.relates_title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.relates_h3 h3 { font-size: 2rem; display: flex; align-items: center; gap: 10px; }
.relates_button { display: flex; gap: 8px; flex-wrap: wrap; }
.relates_button a { font-size: 1.3rem; color: var(--xj-tx-2); }
.relates-img { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.relates-img li { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 13px; overflow: hidden; transition: transform .3s, border-color .3s; }
.relates-img li:hover { transform: translateY(-4px); border-color: var(--xj-glass-border-hot); box-shadow: var(--xj-glow); }
.relates-img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.relates-img h4 { font-size: 1.38rem; padding: 10px 12px 4px; color: var(--xj-tx-1); }
.relates-img time { display: block; padding: 0 12px 12px; color: var(--xj-tx-3); font-size: 1.2rem; font-family: var(--xj-font-mono); }

/* ============ 8. 侧栏作者卡 ============ */
.author_info { text-align: center; }
.widget_avatar { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; }
.widget_avatar img { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--xj-cyan); object-fit: cover; }
.author_info h3 { font-size: 1.7rem; margin-bottom: 12px; justify-content: center; }
.xj-author-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: var(--xj-radius); }
.xj-author-card-avatar { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--xj-cyan); object-fit: cover; box-shadow: 0 0 18px rgba(34,211,238,.35); }
.xj-author-card-body h1 { font-size: 2.2rem; margin: 0 0 8px; padding: 0; border: none; color: var(--xj-tx-1); }
.xj-author-card-body p { margin: 0; color: var(--xj-tx-2); font-size: 1.35rem; line-height: 1.7; }
@media (max-width: 600px) { .xj-author-card { gap: 14px; padding: 14px; } .xj-author-card-avatar { width: 64px; height: 64px; } .xj-author-card-body h1 { font-size: 1.9rem; } }
.admin_field { background: var(--xj-grad); color: #04121a; font-size: 1.15rem; border-radius: 6px; padding: 1px 8px; margin-left: 6px; }
.author-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.author-social span a { position: relative; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--xj-glass-border); border-radius: 10px; color: var(--xj-tx-2); }
.author-social span a:hover { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); }
.author-social em { display: none; position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%); width: 110px; height: 110px; border-radius: 10px; background-size: cover; background-color: #fff; padding: 4px; }
.author-social span a:hover em { display: block; }
.author_info p { color: var(--xj-tx-2); font-size: 1.32rem; text-align: left; }
#hitokoto { font-family: var(--xj-font-song); color: var(--xj-violet-soft); }
.author_count ul { display: flex; justify-content: space-around; }
.author_count li { text-align: center; }
.author_count span { display: block; color: var(--xj-tx-3); font-size: 1.25rem; }
.author_count strong { font-size: 2rem; font-family: var(--xj-font-mono); color: var(--xj-cyan); }

/* ============ 9. 评论 ============ */
.commentlist { margin-top: 18px; }
.commentlist li, .comt-box { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 13px; padding: 16px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; float: left; margin-right: 12px; }
.comment-reply-link { color: var(--xj-cyan); font-size: 1.3rem; }
.comt-area textarea, .comt-area input,
textarea.comt-area, input.comt-area {
    width: 100%; max-width: 100%; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-1);
    border-radius: 10px; padding: 12px; font-size: 1.45rem; outline: none; margin-bottom: 12px; resize: vertical;
    box-sizing: border-box;
}
.comt-area textarea:focus, .comt-area input:focus,
textarea.comt-area:focus, input.comt-area:focus { border-color: var(--xj-cyan); }
.comment-tab { display: flex; gap: 8px; margin-bottom: 14px; }

/* ============ 10. 分页 / 面包屑 / 广告 ============ */
.pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.pagination a, .pagination span {
    display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 10px; color: var(--xj-tx-1);
}
.pagination a:hover, .pagination .current { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); box-shadow: var(--xj-glow); }
.load-more-wrap { text-align: center; margin-top: 16px; }
.load-more { display: inline-block; padding: 11px 30px; border: 1px solid var(--xj-glass-border-hot); border-radius: 999px; color: var(--xj-cyan); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--xj-tx-3); font-size: 1.3rem; margin-bottom: 18px; }
.ads { margin: 18px 0; }
.ads:empty { display: none; }

/* ============ 11. 栏目/标签页 banner ============ */
.catalog-header, .imglist-bg { padding: 28px; margin-bottom: 26px; position: relative; overflow: hidden; }
.catalog-header:before, .imglist-bg:before {
    content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.35), transparent 70%);
}
.imglist-bg-title, .catalog-header h1 { font-size: 2.6rem; margin-bottom: 10px; }
.catalog-desc, .description-text { color: var(--xj-tx-2); font-size: 1.45rem; }
.child-cat a, .catleader a { display: inline-block; background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 999px; padding: 5px 15px; margin: 4px; color: var(--xj-tx-1); font-size: 1.35rem; }
.child-cat a:hover { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); }
.tag_could a { display: inline-block; margin: 5px; }

/* ============ 12. 表单/按钮通用 ============ */
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea, input[type=text], input[type=email] {
    background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-1);
    border-radius: 10px; padding: 11px 14px; font-size: 1.45rem; outline: none;
}
input:focus, textarea:focus { border-color: var(--xj-cyan); }
.btn-showhow, .paybtn { background: var(--xj-grad); color: #04121a; border-radius: 10px; padding: 10px 22px; font-weight: 600; border: none; cursor: pointer; }

/* 系统模块默认按钮/输入框全局深色化 */
input[type=submit], input[type=button], input[type=reset], button {
    background: var(--xj-grad); color: #04121a; border: none; border-radius: 9px;
    padding: 8px 18px; font-weight: 600; cursor: pointer; font-family: var(--xj-font);
    transition: filter .25s, box-shadow .25s;
}
input[type=submit]:hover, input[type=button]:hover, button:hover { box-shadow: var(--xj-glow); filter: brightness(1.08); }
/* 侧栏搜索模块表单 */
#divSearchPanel form { display: flex; gap: 8px; align-items: center; }
#divSearchPanel input[type=text] {
    flex: 1; min-width: 0; background: var(--xj-bg-0); border: 1px solid var(--xj-glass-border);
    color: var(--xj-tx-1); border-radius: 9px; padding: 9px 12px; font-size: 14px; outline: none;
}
#divSearchPanel input[type=text]:focus { border-color: var(--xj-cyan); }
#divSearchPanel input[type=submit] { flex: 0 0 auto; padding: 9px 16px; }

/* 404 错误页 */
.error-page-container { text-align: center; padding: 80px 20px; }
.error-page-main { font-size: 9rem; font-weight: 800; font-family: var(--xj-font-mono); background: var(--xj-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; }

/* ============ 13. 深色星空页脚 ============ */
.footer { position: relative; margin-top: 60px; border-top: 1px solid var(--xj-glass-border); background: linear-gradient(180deg, transparent, rgba(7,10,22,.9)); }
.footer-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.footer-bg:before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 36px 36px; opacity: .25;
}
.footer-copyright { position: relative; padding: 40px 0 30px; }
.footer_container { max-width: 1240px; margin: 0 auto; padding: 0 22px; text-align: center; }
.footer-nav { margin-bottom: 14px; }
.footer-nav a { color: var(--xj-tx-2); }
.copyright { color: var(--xj-tx-3); font-size: 1.32rem; }
.copyright a { color: var(--xj-tx-2); }
.footer-RunTime { display: flex; justify-content: center; gap: 20px; margin-top: 14px; color: var(--xj-tx-3); font-size: 1.25rem; font-family: var(--xj-font-mono); }

/* 底部品牌简介 */
.footer-brand { max-width: 880px; margin: 0 auto 22px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 16px; }
.footer-about { color: var(--xj-tx-2); font-size: 1.4rem; line-height: 1.9; margin: 0; }

/* 底部快捷链接 */
.footer-links {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px 26px; margin: 0 0 20px; padding: 0;
}
.footer-links a { color: var(--xj-tx-2); font-size: 1.42rem; transition: color .25s ease; }
.footer-links a i { color: var(--xj-cyan); margin-right: 5px; }
.footer-links a:hover { color: var(--xj-cyan); }
.footer-copyline { color: var(--xj-tx-1); font-size: 1.38rem; font-weight: 600; margin-bottom: 8px; }
.footer-beian { margin: 6px 0; }
.footer-beian a { color: var(--xj-tx-2); font-size: 1.32rem; }
.footer-beian a:hover { color: var(--xj-cyan); }
.copyright p { margin: 6px 0; }

/* 返回顶部 */
.backtop { position: fixed; right: 22px; bottom: 30px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.bt-box { width: 46px; height: 46px; border-radius: 12px; background: rgba(13,18,37,.85); border: 1px solid var(--xj-glass-border); display: flex; align-items: center; justify-content: center; color: var(--xj-cyan); backdrop-filter: blur(10px); cursor: pointer; position: relative; }
.bt-box:hover { box-shadow: var(--xj-glow); border-color: var(--xj-glass-border-hot); }
.bt-box .pic { display: none; position: absolute; bottom: 52px; right: 0; width: 120px; height: 120px; background: #fff; padding: 5px; border-radius: 10px; }
.bt-box:hover .pic { display: block; }

/* 首页友链 */
.home_links { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: var(--xj-radius); padding: 22px; margin-bottom: 26px; }
.home_title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
#link-home, .blogroll { display: flex; flex-wrap: wrap; gap: 10px; }
#link-home a, .blogroll a { background: var(--xj-glass); border: 1px solid var(--xj-glass-border); border-radius: 9px; padding: 6px 14px; color: var(--xj-tx-1); font-size: 1.35rem; }
#link-home a:hover { color: var(--xj-cyan); border-color: var(--xj-glass-border-hot); }

/* ============================================================
   14. 响应式适配
   ============================================================ */
@media screen and (max-width: 1180px) and (min-width: 961px) {
    .header-nav ul.navbar { gap: 2px; }
    .header-nav li a { font-size: 1.25rem; padding: 7px 8px; }
    .header-nav li a:after { left: 8px; right: 8px; }
}
@media screen and (max-width: 1100px) and (min-width: 961px) {
    .header-nav ul.navbar { gap: 1px; }
    .header-nav li a { font-size: 1.15rem; padding: 6px 6px; border-radius: 7px; }
    .header-nav li a:after { left: 6px; right: 6px; }
}
@media screen and (max-width: 1024px) and (min-width: 961px) {
    .header-nav ul.navbar { gap: 1px; }
    .header-nav li a { font-size: 1.05rem; padding: 5px 5px; border-radius: 6px; }
    .header-nav li a:after { left: 5px; right: 5px; }
}
@media screen and (max-width: 1100px) {
    .sidebar.right { flex-basis: 280px; width: 280px; }
    .relates-img { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 960px) {
    #header .container { height: 62px; gap: 10px; }
    .logo img { max-height: 36px; }
    /* 桌面菜单隐藏，显示汉堡按钮；按钮整体靠右，汉堡在最右 */
    .menu-nav { position: static; justify-content: flex-end; gap: 10px; }
    .nav-sjlogo {
        display: inline-flex; order: 2; width: 42px; height: 40px; align-items: center; justify-content: center;
        color: var(--xj-cyan); border: 1px solid var(--xj-glass-border); border-radius: 10px; cursor: pointer; font-size: 1.8rem;
    }
    .nav-sousuo { display: inline-flex; order: 1; }
    /* 移除导航栏毛玻璃：backdrop-filter 会成为 fixed 菜单的包含块，导致菜单被压缩 */
    #header.fixed-nav {
        backdrop-filter: none; -webkit-backdrop-filter: none;
        background: rgba(10, 14, 26, .96);
    }
    #monavber {
        position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
        background: #070a16; z-index: 999;
        display: none; overflow-y: auto; padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
    }
    #monavber.mnav-open { display: block; }
    #monavber ul.navbar { flex-direction: column; gap: 10px; }
    #monavber .mobile-menu:before {
        content: "网站导航"; display: block; font-size: 1.3rem; letter-spacing: 2px;
        color: var(--xj-tx-3); padding: 2px 4px 14px;
    }
    #monavber li a {
        display: block; font-size: 1.55rem; padding: 15px 16px; border-radius: 12px;
        background: var(--xj-glass-2); border: 1px solid var(--xj-glass-border); color: var(--xj-tx-1);
    }
    #monavber li a:after { display: none; }
    #monavber li a:hover, #monavber li a.current, #monavber li.current a {
        color: var(--xj-cyan); border-color: var(--xj-glass-border-hot);
        background: var(--xj-grad-soft); box-shadow: var(--xj-glow);
    }
    .mobile_aside { display: none; }
    #monavber.mnav-open .mobile_aside { display: block; }
    .search_top { display: none; }
    .page-night { display: none; }

    /* 主布局改单列 */
    .home-main { flex-direction: column; align-items: stretch; }
    .wrapbox.left { width: 100%; }
    .sidebar.right { flex: 1 1 auto; width: 100%; }
    .imglist-main, .catlist, .cat-container, .homecate3 { grid-template-columns: 1fr; }
    .relates-img { grid-template-columns: repeat(2, 1fr); }
    .single-post { padding: 20px; }
    #post-header { column-gap: 14px; row-gap: 12px; }
    #post-header .single-avatar .author-avatar { width: 44px; height: 44px; }
    .single-title h1 { font-size: 2.2rem; }
    .entry { font-size: 1.5rem; }
    .article-nav, .nav-reveal { flex-direction: column; }
    .post_box { flex-direction: column; gap: 14px; }
    .post-img, .post-imglist { flex: none; }
    .post-img a { width: 100%; }
    .post-img img, .post-imglist img { width: 100%; height: 200px; }
    .top_search { width: calc(100% - 44px); }

    /* Hero 移动端适配 */
    .xj-hero { padding: 40px 0 30px; }
    .xj-hero-title { font-size: 3.1rem; }
    .xj-hero-sub { font-size: 1.45rem; margin-bottom: 26px; }
    .xj-hero-form { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
    .xj-more { grid-template-columns: 1fr; gap: 16px; }
    .xj-more-toggle { font-size: 1.35rem; padding: 12px 15px; }
    .xj-hero-ring { display: none; }
    .xj-hero-orb { width: 460px; height: 300px; }
}
@media screen and (max-width: 560px) {
    #post-header { column-gap: 12px; row-gap: 10px; }
    #post-header .single-avatar .author-avatar { width: 40px; height: 40px; }
    .relates-img { grid-template-columns: 1fr; }
    .footer-RunTime { flex-direction: column; gap: 6px; }
    .xj-hero-title { font-size: 2.3rem; letter-spacing: normal; }
    .xj-hero-stats { gap: 26px; }
    .xj-stat strong { font-size: 2.6rem; }
    .xj-birth-row { grid-template-columns: repeat(2, 1fr); }
}

/* 减少动态效果偏好：关闭动画与背景固定 */
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    body { background-attachment: scroll; }
    /* 例外：取名等待动画是用户主动等待的功能性反馈，完全静止会让人误以为卡死，
       这里用 !important 恢复其温和、匀速、无闪烁的旋转与进度流动（不含脉冲/呼吸） */
    .xj-loading-ring.r1 { animation: xjSpin 2.2s linear infinite !important; }
    .xj-loading-ring.r2 { animation: xjSpin 3s linear infinite reverse !important; }
    .xj-loading-ring.r3 { animation: xjSpin 4.5s linear infinite !important; }
    .xj-loading-dot.d1 { animation: xjOrbit 2.6s linear infinite !important; }
    .xj-loading-dot.d2 { animation: xjOrbit 3.4s linear infinite reverse !important; }
    .xj-loading-core { animation: xjCoreSpin 6s linear infinite !important; }
    .xj-loading-bar .b1 { animation: xjIndeterminate 2.2s ease-in-out infinite !important; }
    .xj-loading-bar .b2 { animation: xjIndeterminate 3s ease-in-out infinite !important; }
    .xj-loading-step.active::before { animation: xjSpin 1.6s linear infinite !important; }
}

/* 夜间 Cookie 模式（保留主题原有夜间开关，降低辉光） */
body.night { --xj-glow: 0 0 10px rgba(34,211,238,.18); }

/* ============ 起名报告专用组件（xj-report，深色科技风，内容由YhqmTool生成） ============ */
.xj-report-table { width: 100%; border-collapse: collapse; margin: 20px 0; text-align: center;
    border: 1px solid var(--xj-glass-border); border-radius: 12px; overflow: hidden; }
.xj-report-table th, .xj-report-table td { border: 1px solid var(--xj-glass-border); padding: 11px 10px; }
.xj-report-thead th { background: var(--xj-glass-2); color: var(--xj-cyan); font-weight: 700; }
.xj-report-td { font-size: 1.7rem; font-weight: 700; color: var(--xj-cyan-soft); }
.xj-report-source { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--xj-violet);
    background: var(--xj-glass); border-radius: 0 12px 12px 0; color: var(--xj-tx-2); font-size: 1.4rem; }
.xj-report-source i { color: var(--xj-violet-soft); margin-right: 4px; }
.xj-report-xys { margin: 20px 0; padding: 16px 18px; border-radius: 12px;
    background: var(--xj-grad-soft); border: 1px solid var(--xj-glass-border-hot); }
.xj-report-xys p { margin: 0; font-size: 1.5rem; }
.xj-report-xys i { color: var(--xj-cyan); margin-right: 5px; }
.xj-report-meta { color: var(--xj-tx-3); font-size: 1.2rem; line-height: 1.9; word-break: break-all; }
.xj-report-note { color: var(--xj-tx-3); font-size: 1.2rem; }
.xj-report-review { margin: 22px 0 8px; padding: 14px 18px; border-radius: 12px;
    background: var(--xj-glass); border: 1px solid var(--xj-glass-border);
    color: var(--xj-tx-2); font-size: 1.35rem; line-height: 1.8; }
.xj-report-review i { color: var(--xj-cyan); margin-right: 5px; }
.xj-report-related { margin: 18px 0; padding: 13px 18px; border-radius: 12px;
    background: var(--xj-grad-soft); border: 1px solid var(--xj-glass-border-hot);
    font-size: 1.4rem; line-height: 1.9; }
.xj-report-related a { color: var(--xj-cyan); margin: 0 2px; }
.xj-report-related a:hover { color: var(--xj-violet-soft); }




