/* 前台已开放功能列表 */
.lx-client-features {
    margin: 16px 0 20px;
    padding: 14px 14px 8px;
    border-radius: 12px;
    background: #1e242c;
    border: 1px solid #343c48;
}

.lx-client-features__title {
    margin: 0 0 10px;
    color: #e2e6ed;
    font-size: 14px;
    font-weight: 600;
}

.lx-client-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lx-client-features__item {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2f3640;
}

.lx-client-features__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.lx-client-features__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ec5e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.lx-client-features__link:hover {
    color: #c5def5;
}

.lx-client-features__desc {
    margin: 6px 0 0;
    color: #8a939f;
    font-size: 12px;
    line-height: 1.5;
}

/* 前台 SKILL 页：全宽细节见 skill-workflow.css（body.lx-skill-page） */
.lx-front-skill-wrap {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.lx-front-skill-wrap .lx-swf-wrap,
.lx-front-skill-wrap .wrap {
    margin: 0;
    max-width: none;
}

.lx-feature-closed {
    max-width: 640px;
    margin: 40px auto;
    padding: 24px;
    text-align: center;
    background: #222830;
    color: #e2e6ed;
    border-radius: 8px;
    border: 1px solid #343c48;
}

body.lx-swf-front .lx-swf-toolbar__left label:first-child {
    display: none !important;
}

/* ========== AI 工具箱 · 动感未来 × 站点深色融合 ========== */
/* 仅 body.lx-ai-toolbox-page 生效；其它页面不会挂这个 class，也不会输出 .lx-tb-fx */
html.lx-ai-toolbox-html,
body.lx-ai-toolbox-page {
    /* 更深的宇宙底色，与站点深色仍一脉 */
    background-color: #0b0f18 !important;
    min-height: 100%;
}

body.lx-ai-toolbox-page,
body.lx-ai-toolbox-page .wp-site-blocks,
body.lx-ai-toolbox-page .wp-block-group {
    background-color: transparent !important;
    background-image: none !important;
}

/* 顶栏更通透，让宇宙背景透上来 */
body.lx-ai-toolbox-page .main-header {
    position: relative;
    z-index: 20 !important;
    background: rgba(8, 12, 20, 0.42) !important;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.lx-ai-toolbox-page .wp-site-blocks {
    position: relative;
    z-index: 1;
}

body.lx-ai-toolbox-page .lx-client-page {
    padding: 0;
    max-width: none;
    background: transparent !important;
}

body.lx-ai-toolbox-page .wp-block-post-content {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* 页脚也透出动效 */
body.lx-ai-toolbox-page footer,
body.lx-ai-toolbox-page .wp-block-template-part,
body.lx-ai-toolbox-page .site-footer {
    position: relative;
    z-index: 2;
    background: rgba(26, 30, 38, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lx-ai-toolbox {
    --lx-tb-bg: #1a1e26;
    --lx-tb-card: rgba(34, 40, 48, 0.72);
    --lx-tb-line: rgba(255, 255, 255, 0.08);
    --lx-tb-text: #eef1f6;
    --lx-tb-muted: #8a939f;
    --lx-tb-orange: #ff5f2d;
    --lx-tb-orange-soft: rgba(255, 95, 45, 0.35);
    --lx-tb-blue: #4a90c8;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100vh - 120px);
    margin: 0;
    padding: 20px 18px 56px;
    color: var(--lx-tb-text);
    background: transparent;
}

/* —— 全局宇宙背景层（fixed 铺满视口，仅工具箱页） —— */
.lx-tb-fx,
#lx-tb-global-fx {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden;
    background: #070b14;
}

/* 深空基底 + 边缘融入站点色 */
.lx-tb-fx__base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(26, 30, 38, 0.85) 0%, transparent 55%),
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(20, 28, 48, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(40, 20, 50, 0.45), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(15, 35, 60, 0.5), transparent 42%),
        linear-gradient(180deg, #060a12 0%, #0b101c 40%, #121722 100%);
}

/* 星云团 */
.lx-tb-fx__nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.lx-tb-fx__nebula--a {
    width: min(70vw, 720px);
    height: min(50vw, 520px);
    top: -8%;
    left: -12%;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(255, 95, 45, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 40%, rgba(255, 140, 80, 0.22) 0%, transparent 60%);
    animation: lx-tb-nebula-a 22s ease-in-out infinite;
}

.lx-tb-fx__nebula--b {
    width: min(75vw, 780px);
    height: min(55vw, 560px);
    right: -18%;
    bottom: -5%;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(74, 144, 200, 0.4) 0%, transparent 58%),
        radial-gradient(ellipse at 30% 60%, rgba(100, 80, 200, 0.22) 0%, transparent 55%);
    animation: lx-tb-nebula-b 28s ease-in-out infinite;
}

.lx-tb-fx__nebula--c {
    width: min(55vw, 520px);
    height: min(40vw, 400px);
    left: 28%;
    top: 38%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(160, 100, 220, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 40%, rgba(255, 95, 45, 0.12) 0%, transparent 55%);
    animation: lx-tb-nebula-c 26s ease-in-out infinite;
    opacity: 0.85;
}

/* 银河光带 */
.lx-tb-fx__milky {
    position: absolute;
    inset: -10%;
    background: linear-gradient(
        118deg,
        transparent 28%,
        rgba(180, 200, 255, 0.03) 40%,
        rgba(255, 220, 200, 0.07) 48%,
        rgba(160, 190, 255, 0.08) 52%,
        rgba(255, 150, 100, 0.05) 58%,
        transparent 72%
    );
    filter: blur(2px);
    animation: lx-tb-milky 36s ease-in-out infinite;
    opacity: 0.9;
}

.lx-tb-fx__aurora {
    position: absolute;
    inset: -30%;
    background:
        conic-gradient(from 80deg at 45% 55%,
            transparent 0deg,
            rgba(255, 95, 45, 0.12) 50deg,
            transparent 100deg,
            rgba(74, 144, 200, 0.14) 170deg,
            transparent 230deg,
            rgba(140, 100, 220, 0.1) 290deg,
            transparent 340deg,
            transparent 360deg);
    animation: lx-tb-spin 60s linear infinite;
    opacity: 0.75;
    mix-blend-mode: screen;
}

.lx-tb-fx__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    will-change: transform;
    mix-blend-mode: screen;
}

.lx-tb-fx__orb--orange {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    top: 2%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 95, 45, 0.55) 0%, rgba(255, 95, 45, 0.12) 40%, transparent 68%);
    animation: lx-tb-drift-a 16s ease-in-out infinite;
}

.lx-tb-fx__orb--blue {
    width: min(58vw, 520px);
    height: min(58vw, 520px);
    right: -12%;
    bottom: 0%;
    background: radial-gradient(circle, rgba(74, 144, 200, 0.5) 0%, rgba(60, 100, 180, 0.15) 42%, transparent 68%);
    animation: lx-tb-drift-b 20s ease-in-out infinite;
}

.lx-tb-fx__orb--violet {
    width: min(40vw, 360px);
    height: min(40vw, 360px);
    left: 55%;
    top: 15%;
    background: radial-gradient(circle, rgba(130, 90, 220, 0.35) 0%, transparent 65%);
    animation: lx-tb-drift-c 18s ease-in-out infinite;
}

.lx-tb-fx__orb--soft {
    width: min(42vw, 340px);
    height: min(42vw, 340px);
    left: 30%;
    top: 58%;
    background: radial-gradient(circle, rgba(255, 180, 120, 0.22) 0%, transparent 70%);
    animation: lx-tb-drift-a 24s ease-in-out infinite reverse;
}

/* 三层星空：远 / 中 / 近，不同速度视差 */
.lx-tb-fx__stars {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
}

.lx-tb-fx__stars--far {
    background-image:
        radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 18% 44%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 27% 78%, rgba(200, 220, 255, 0.4), transparent),
        radial-gradient(1px 1px at 36% 22%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 47% 61%, rgba(255, 220, 200, 0.35), transparent),
        radial-gradient(1px 1px at 55% 9%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 63% 85%, rgba(180, 210, 255, 0.35), transparent),
        radial-gradient(1px 1px at 72% 33%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 81% 57%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 91% 16%, rgba(255, 200, 170, 0.35), transparent),
        radial-gradient(1px 1px at 14% 92%, rgba(255, 255, 255, 0.28), transparent),
        radial-gradient(1px 1px at 42% 41%, rgba(200, 220, 255, 0.32), transparent),
        radial-gradient(1px 1px at 68% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 95% 88%, rgba(255, 255, 255, 0.35), transparent);
    background-size: 100% 100%;
    animation: lx-tb-stars-drift-far 120s linear infinite, lx-tb-twinkle-soft 7s ease-in-out infinite;
    opacity: 0.75;
}

.lx-tb-fx__stars--mid {
    background-image:
        radial-gradient(1.5px 1.5px at 11% 20%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 22% 68%, rgba(255, 210, 170, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 33% 35%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 44% 88%, rgba(170, 210, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 56% 14%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 65% 52%, rgba(255, 180, 140, 0.65), transparent),
        radial-gradient(1.5px 1.5px at 77% 76%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 86% 28%, rgba(180, 210, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 94% 64%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 6% 55%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 39% 8%, rgba(255, 230, 200, 0.75), transparent),
        radial-gradient(1px 1px at 58% 95%, rgba(255, 255, 255, 0.55), transparent);
    animation: lx-tb-stars-drift-mid 70s linear infinite, lx-tb-twinkle 4.5s ease-in-out infinite;
    opacity: 0.95;
}

.lx-tb-fx__stars--near {
    background-image:
        radial-gradient(2px 2px at 15% 30%, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(1.5px 1.5px at 30% 75%, rgba(255, 200, 160, 0.9), transparent),
        radial-gradient(2px 2px at 50% 18%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 70% 62%, rgba(180, 220, 255, 0.95), transparent),
        radial-gradient(2px 2px at 85% 40%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 25% 48%, rgba(255, 240, 220, 0.85), transparent),
        radial-gradient(2px 2px at 60% 85%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 92% 12%, rgba(200, 230, 255, 0.85), transparent);
    animation: lx-tb-stars-drift-near 40s linear infinite, lx-tb-twinkle 3.2s ease-in-out infinite alternate;
    opacity: 1;
}

/* 细微星尘纹理 */
.lx-tb-fx__dust {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 280px 280px;
    mix-blend-mode: soft-light;
    animation: lx-tb-dust 50s linear infinite;
}

/* 流星 */
.lx-tb-fx__meteors {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.lx-tb-fx__meteors span {
    position: absolute;
    top: -5%;
    width: 2px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95), rgba(255, 95, 45, 0.55), transparent);
    border-radius: 50%;
    opacity: 0;
    transform: rotate(25deg);
    animation: lx-tb-meteor 7s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 200, 160, 0.8));
}

.lx-tb-fx__meteors span:nth-child(1) { left: 18%; animation-delay: 1s; animation-duration: 6.5s; }
.lx-tb-fx__meteors span:nth-child(2) { left: 42%; animation-delay: 3.5s; animation-duration: 7.2s; height: 70px; }
.lx-tb-fx__meteors span:nth-child(3) { left: 68%; animation-delay: 5.8s; animation-duration: 6.8s; }
.lx-tb-fx__meteors span:nth-child(4) { left: 88%; animation-delay: 8.2s; animation-duration: 7.5s; height: 60px; }

/* 漂浮光尘 */
.lx-tb-fx__particles i {
    position: absolute;
    bottom: -5%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 10px rgba(255, 95, 45, 0.55), 0 0 18px rgba(74, 144, 200, 0.25);
    opacity: 0;
    animation: lx-tb-float-up 11s linear infinite;
}

.lx-tb-fx__particles i:nth-child(1)  { left: 5%;  animation-delay: 0s;   animation-duration: 12s; }
.lx-tb-fx__particles i:nth-child(2)  { left: 12%; animation-delay: 1.1s; animation-duration: 14s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(3)  { left: 18%; animation-delay: 2.4s; animation-duration: 11s; }
.lx-tb-fx__particles i:nth-child(4)  { left: 26%; animation-delay: 0.5s; animation-duration: 15s; }
.lx-tb-fx__particles i:nth-child(5)  { left: 34%; animation-delay: 3s;   animation-duration: 12s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(6)  { left: 42%; animation-delay: 1.7s; animation-duration: 13s; }
.lx-tb-fx__particles i:nth-child(7)  { left: 50%; animation-delay: 4.2s; animation-duration: 10s; }
.lx-tb-fx__particles i:nth-child(8)  { left: 58%; animation-delay: 2.1s; animation-duration: 14s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(9)  { left: 64%; animation-delay: 0.8s; animation-duration: 12s; }
.lx-tb-fx__particles i:nth-child(10) { left: 72%; animation-delay: 3.6s; animation-duration: 11s; }
.lx-tb-fx__particles i:nth-child(11) { left: 78%; animation-delay: 1.4s; animation-duration: 15s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(12) { left: 84%; animation-delay: 2.9s; animation-duration: 13s; }
.lx-tb-fx__particles i:nth-child(13) { left: 90%; animation-delay: 0.3s; animation-duration: 12s; }
.lx-tb-fx__particles i:nth-child(14) { left: 95%; animation-delay: 4.8s; animation-duration: 14s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(15) { left: 8%;  animation-delay: 5.5s; animation-duration: 11s; }
.lx-tb-fx__particles i:nth-child(16) { left: 48%; animation-delay: 6.2s; animation-duration: 13s; }
.lx-tb-fx__particles i:nth-child(17) { left: 62%; animation-delay: 3.3s; animation-duration: 10s; width: 2px; height: 2px; }
.lx-tb-fx__particles i:nth-child(18) { left: 38%; animation-delay: 7s;   animation-duration: 15s; }

/* 边缘暗角，增强景深 */
.lx-tb-fx__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 70% at 50% 45%, transparent 30%, rgba(5, 8, 14, 0.55) 100%),
        linear-gradient(180deg, rgba(5, 8, 14, 0.25) 0%, transparent 18%, transparent 75%, rgba(10, 14, 22, 0.55) 100%);
    pointer-events: none;
}

@keyframes lx-tb-spin {
    to { transform: rotate(360deg); }
}

@keyframes lx-tb-nebula-a {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.85; }
    40% { transform: translate(6%, 8%) scale(1.12) rotate(4deg); opacity: 1; }
    70% { transform: translate(2%, 12%) scale(1.05) rotate(-2deg); opacity: 0.9; }
}

@keyframes lx-tb-nebula-b {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: translate(-8%, -6%) scale(1.15) rotate(-5deg); opacity: 1; }
}

@keyframes lx-tb-nebula-c {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(10%, -8%) scale(1.18); opacity: 0.95; }
}

@keyframes lx-tb-milky {
    0%, 100% { transform: translateX(-3%) rotate(0deg); opacity: 0.75; }
    50% { transform: translateX(4%) rotate(1.5deg); opacity: 1; }
}

@keyframes lx-tb-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 14%) scale(1.15); }
}

@keyframes lx-tb-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-12%, -10%) scale(1.12); }
}

@keyframes lx-tb-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, 12%) scale(1.1); }
}

@keyframes lx-tb-stars-drift-far {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-3%, -2%, 0); }
}

@keyframes lx-tb-stars-drift-mid {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-6%, -4%, 0); }
}

@keyframes lx-tb-stars-drift-near {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-10%, -6%, 0); }
}

@keyframes lx-tb-twinkle {
    0%, 100% { opacity: 0.55; filter: brightness(0.9); }
    50% { opacity: 1; filter: brightness(1.25); }
}

@keyframes lx-tb-twinkle-soft {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.85; }
}

@keyframes lx-tb-dust {
    from { background-position: 0 0; }
    to { background-position: 280px 180px; }
}

@keyframes lx-tb-meteor {
    0% {
        transform: translate3d(0, 0, 0) rotate(25deg);
        opacity: 0;
    }
    5% { opacity: 1; }
    35% {
        transform: translate3d(35vw, 55vh, 0) rotate(25deg);
        opacity: 0;
    }
    100% {
        transform: translate3d(35vw, 55vh, 0) rotate(25deg);
        opacity: 0;
    }
}

@keyframes lx-tb-float-up {
    0% { transform: translate3d(0, 0, 0) scale(0.5); opacity: 0; }
    10% { opacity: 0.85; }
    70% { opacity: 0.4; }
    100% { transform: translate3d(12px, -110vh, 0) scale(1.1); opacity: 0; }
}

@keyframes lx-tb-card-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lx-tb-shine {
    0% { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(220%) skewX(-18deg); }
}

/* —— 内容舞台 —— */
.lx-tb {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

.lx-tb__bar {
    display: none !important; /* 积分改由顶部用户区展示，工具箱内不再重复 */
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 18px;
    min-height: 28px;
}

.lx-tb__points {
    margin: 0;
    font-size: 13px;
    color: #c9d2e0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lx-tb__points a {
    color: #ff9f6e;
    text-decoration: none;
}

.lx-tb__points strong {
    color: #fff;
    font-size: 14px;
}

.lx-tb__empty {
    text-align: center;
    color: var(--lx-tb-muted);
    padding: 24px;
}

.lx-tb__board {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lx-tb__section {
    margin: 0;
}

.lx-tb__section-title {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    color: #a8b3c4;
    letter-spacing: 0.04em;
    text-transform: none;
}

.lx-tb__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1e26;
    background: linear-gradient(135deg, #ffb38a, #ff5f2d);
    box-shadow: 0 4px 12px rgba(255, 95, 45, 0.35);
}

.lx-tb__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px 24px;
}

/* 功能卡片平铺堆积（无分类标题） */
.lx-tb__section--stack {
    margin: 0;
}
.lx-tb__grid--stack {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px 24px;
}

.lx-tb__grid--feedback {
    max-width: 360px;
}

/* —— 高级功能卡片 —— */
.lx-tb__card {
    --lx-d: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 210px;
    padding: 18px 16px 16px;
    border-radius: 18px;
    border: 1px solid var(--lx-tb-line);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
        linear-gradient(180deg, rgba(40, 47, 58, 0.88) 0%, rgba(26, 30, 38, 0.92) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 16px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: inherit;
    text-decoration: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s ease,
        box-shadow 0.28s ease;
    animation: lx-tb-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--lx-d) * 0.07s);
}

.lx-tb__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 95, 45, 0.45),
        rgba(255, 255, 255, 0.08) 38%,
        rgba(74, 144, 200, 0.25) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lx-tb__shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    pointer-events: none;
}

.lx-tb__card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 95, 45, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 95, 45, 0.12) inset,
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 36px rgba(255, 95, 45, 0.12);
}

.lx-tb__card:hover::before {
    opacity: 1;
}

.lx-tb__card:hover .lx-tb__shine {
    opacity: 1;
    /* 悬停期间无限扫光，鼠标移开后动画停止 */
    animation: lx-tb-shine 1.2s ease-in-out infinite;
}

.lx-tb__card:hover .lx-tb__icon-ring {
    transform: scale(1.08);
    border-color: rgba(255, 95, 45, 0.55);
    box-shadow: 0 0 24px rgba(255, 95, 45, 0.28);
}

.lx-tb__card:hover .lx-tb__action {
    background: #ff7348;
    box-shadow: 0 8px 22px rgba(255, 95, 45, 0.35);
}

.lx-tb__card:hover .lx-tb__action svg {
    transform: translateX(3px);
}

.lx-tb__card:focus-visible {
    outline: 2px solid var(--lx-tb-orange);
    outline-offset: 3px;
}

.lx-tb__card--board {
    background:
        linear-gradient(155deg, rgba(74, 144, 200, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, rgba(36, 44, 56, 0.9) 0%, rgba(24, 28, 36, 0.94) 100%);
}

.lx-tb__card--board::before {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 200, 0.5),
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 95, 45, 0.2) 100%
    );
}

.lx-tb__card--board:hover {
    border-color: rgba(74, 144, 200, 0.45);
    box-shadow:
        0 0 0 1px rgba(74, 144, 200, 0.12) inset,
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 32px rgba(74, 144, 200, 0.14);
}

.lx-tb__icon {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
}

.lx-tb__icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 95, 45, 0.16), rgba(40, 47, 58, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.28s ease, border-color 0.22s, box-shadow 0.28s;
}

.lx-tb__icon-emoji {
    position: relative;
    z-index: 1;
    font-size: 26px;
    line-height: 1;
}

.lx-tb__title {
    display: block;
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #f5f7fb;
}

.lx-tb__desc {
    display: block;
    flex: 1;
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--lx-tb-muted);
}

.lx-tb__foot {
    margin-top: auto;
    width: 100%;
}

.lx-tb__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
    color: #fff;
    background: var(--lx-tb-orange);
    border: 1px solid transparent;
    box-shadow: 0 8px 18px rgba(255, 95, 45, 0.22);
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s, border-color 0.2s;
}

.lx-tb__action svg {
    transition: transform 0.2s ease;
}

.lx-tb__action--ghost {
    background: transparent;
    color: #9ec4e4;
    border-color: rgba(74, 144, 200, 0.55);
    box-shadow: none;
}

.lx-tb__card--board:hover .lx-tb__action--ghost {
    background: rgba(74, 144, 200, 0.14);
    color: #c5def2;
    box-shadow: none;
}

@media (max-width: 640px) {
    .lx-ai-toolbox {
        padding: 24px 14px 56px;
        min-height: calc(100vh - 96px);
    }

    .lx-tb__grid,
    .lx-tb__grid--stack {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lx-tb__card {
        min-height: 220px;
        padding: 20px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lx-tb-fx__aurora,
    .lx-tb-fx__orb,
    .lx-tb-fx__nebula,
    .lx-tb-fx__milky,
    .lx-tb-fx__stars,
    .lx-tb-fx__dust,
    .lx-tb-fx__meteors span,
    .lx-tb-fx__particles i,
    .lx-tb__card,
    .lx-tb__shine {
        animation: none !important;
    }

    .lx-tb__card:hover {
        transform: none;
    }
}

/* 弹窗（站点卡片色） */
.lx-feedback-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.lx-feedback-modal .description {
    margin: 0 0 4px;
    color: #8a939f;
    font-size: 13px;
    line-height: 1.55;
}

.lx-feedback-modal h3 {
    margin: 0 40px 10px 0;
    font-size: 18px;
    color: #e2e6ed;
}

.lx-feedback-modal[hidden] { display: none !important; }

.lx-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lx-feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.72);
}

.lx-feedback-modal__dialog {
    position: relative;
    width: min(460px, 92vw);
    background: linear-gradient(145deg, #222830 0%, #1a1e26 100%);
    border-radius: 16px;
    padding: 22px 20px 20px;
    color: #e2e6ed;
    border: 1px solid #2e3540;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.lx-feedback-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #8a939f;
    font-size: 22px;
    cursor: pointer;
}

.lx-feedback-modal textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #343c48;
    background: #141820;
    color: #e2e6ed;
    resize: vertical;
}

.lx-feedback-msg {
    min-height: 1.2em;
    font-size: 12px;
    color: #8eb4d4;
}

.lx-feedback-meta {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 8px;
}

.lx-feedback-count {
    font-size: 12px;
    color: #8a939f;
    font-variant-numeric: tabular-nums;
}

.lx-feedback-count.is-near-limit {
    color: #f0c674;
}

.lx-feedback-count.is-at-limit {
    color: #f87171;
    font-weight: 600;
}

/* 兑换积分 */
.lx-sponsor-box {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #3a4452;
    text-align: left;
}

.lx-sponsor-box__title {
    margin: 0 0 10px;
    font-size: 14px;
    color: #e8ecf1;
}

.lx-sponsor-box__desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: #9aa3af;
}

.lx-sponsor-box__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lx-sponsor-code {
    flex: 1;
    min-width: 140px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #4a5564;
    background: #1a1f27;
    color: #e8ecf1;
}

.lx-sponsor-msg {
    min-height: 1.2em;
    font-size: 12px;
    color: #8eb4d4;
    margin: 8px 0;
}

.lx-sponsor-box__actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lx-buy-points {
    text-decoration: none !important;
}

.lx-sponsor-want {
    display: inline-block;
    margin-top: 4px;
    color: #f0c674;
    font-size: 13px;
    font-weight: 600;
}

/* 首页侧边栏用户模块 */
.lx-client-user-widget {
    margin-top: 20px;
    padding: 18px 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #282f3a 0%, #222830 100%);
    border: 1px solid #343c48;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lx-client-user-widget__title {
    margin: 0 0 8px;
    color: #e2e6ed;
    font-size: 15px;
    font-weight: 600;
}

.lx-client-user-widget__desc {
    margin: 0 0 14px;
    color: #8a939f;
    font-size: 13px;
    line-height: 1.6;
}

.lx-client-user-widget__actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.lx-client-user-widget__actions--stack {
    flex-direction: column;
}

.lx-client-user-widget__actions--stack .lx-client-btn {
    width: 100%;
}

.lx-client-user-widget__points {
    color: #8eb4d4 !important;
}

.lx-client-user-widget__link {
    display: inline-block;
    color: #8eb4d4;
    font-size: 13px;
    text-decoration: none;
}

.lx-client-user-widget__link:hover {
    color: #a8c8e0;
}

.lx-client-user-widget__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* 侧栏 · 系统消息入口 */
.lx-client-user-widget__msg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #bae6fd !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lx-client-user-widget__msg:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.4);
    color: #e0f2fe !important;
}
.lx-client-user-widget__msg-icon {
    font-size: 15px;
    line-height: 1;
}
.lx-client-user-widget__msg-label {
    flex: 1;
}
.lx-client-user-widget__msg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e, #ef4444);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35);
}
.lx-client-user-widget__msg.has-unread {
    border-color: rgba(248, 113, 113, 0.35);
}
/* 无未读：浓缩为轻量入口，不占角标 */
.lx-client-user-widget__msg.is-compact {
    margin-bottom: 10px;
    padding: 6px 10px;
    background: transparent;
    border-color: rgba(148, 163, 184, 0.18);
    color: #94a3b8 !important;
    font-weight: 500;
}
.lx-client-user-widget__msg.is-compact:hover {
    color: #e0f2fe !important;
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.06);
}
.lx-header-user__panel-link.is-compact {
    opacity: 0.85;
}

.lx-client-user-widget__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #4a90c8;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.lx-client-user-widget__name {
    color: #e2e6ed;
    font-size: 15px;
    font-weight: 600;
}

.lx-client-user-widget__meta {
    color: #8a939f;
    font-size: 12px;
}

.lx-client-user-widget__info {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.lx-client-user-widget__info li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #343c48;
    font-size: 12px;
}

.lx-client-user-widget__info li span {
    color: #8a939f;
}

.lx-client-user-widget__info li strong {
    color: #d0d5de;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

.lx-client-user-widget__logout {
    margin: 0;
}

/* 按钮 */
.lx-client-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lx-client-btn--primary {
    background: #4a90c8;
    color: #fff !important;
    border-color: #4a90c8;
}

.lx-client-btn--primary:hover {
    background: #5ba0d8;
}

.lx-client-btn--secondary {
    background: transparent;
    color: #8eb4d4 !important;
    border-color: #4a90c8;
}

.lx-client-btn--secondary:hover {
    background: rgba(74, 144, 200, 0.12);
}

.lx-client-btn--ghost {
    width: 100%;
    background: transparent;
    color: #8a939f !important;
    border-color: #343c48;
}

.lx-client-btn--ghost:hover {
    color: #e2e6ed !important;
    border-color: #4a90c8;
}

.lx-client-btn--block {
    width: 100%;
}

/* 认证页面 */
.lx-client-page {
    display: flex;
    justify-content: center;
    padding: 40px 20px 60px;
}

.lx-client-page__card {
    width: 100%;
    max-width: 440px;
    padding: 32px 28px;
    border-radius: 16px;
    background: linear-gradient(145deg, #222830 0%, #1a1e26 100%);
    border: 1px solid #2e3540;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lx-client-page__title {
    margin: 0 0 24px;
    color: #e2e6ed;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.lx-client-form-intro {
    margin: 0 0 16px;
    color: #8a939f;
    font-size: 14px;
    line-height: 1.7;
}

.lx-client-field {
    margin-bottom: 16px;
}

.lx-client-field label {
    display: block;
    margin-bottom: 6px;
    color: #b4bac6;
    font-size: 13px;
    font-weight: 500;
}

.lx-client-field input[type="text"],
.lx-client-field input[type="email"],
.lx-client-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #343c48;
    background: #282f3a;
    color: #e2e6ed;
    font-size: 14px;
    box-sizing: border-box;
}

.lx-client-field input:focus {
    outline: none;
    border-color: #4a90c8;
    box-shadow: 0 0 0 2px rgba(74, 144, 200, 0.2);
}

.lx-client-field--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.lx-client-field--inline label {
    margin: 0;
    color: #8a939f;
}

.lx-client-field--inline a {
    color: #8eb4d4;
    text-decoration: none;
}

.lx-client-form-footer {
    margin: 18px 0 0;
    text-align: center;
    color: #8a939f;
    font-size: 13px;
}

.lx-client-form-footer a {
    color: #8eb4d4;
}

.lx-client-notice {
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.lx-client-notice--success {
    background: rgba(46, 160, 67, 0.15);
    border: 1px solid rgba(46, 160, 67, 0.4);
    color: #7ee787;
}

.lx-client-notice--error {
    background: rgba(248, 81, 73, 0.12);
    border: 1px solid rgba(248, 81, 73, 0.35);
    color: #ff8b87;
}

.home-sidebar .lx-client-user-widget,
.home-sidebar-outer .lx-client-user-widget,
.category .lx-client-user-widget,
.archive .lx-client-user-widget {
    margin-top: 20px;
}

/* 首页左侧栏：取消菜单/登录框区域内部滚动条 */
.home .home-sidebar .home-sidebar-outer {
    overflow: visible;
}

.home .home-sidebar .scroll-bar,
.home .home-sidebar .scroll-bar-inner {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.home .home-sidebar .scroll-bar-inner::-webkit-scrollbar,
.home .home-sidebar .scroll-bar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home .home-sidebar .lx-client-user-widget {
    overflow: visible;
    max-height: none;
}

.home .home-sidebar .lx-client-user-widget__info li strong {
    word-break: break-word;
}

/* 文章详情页：顶部菜单浓缩用户模块 */
body.single .main-header {
    background-color: #1a1e26 !important;
}

body.single .main-header .wp-block-site-title,
body.single .main-header .wp-block-site-title a {
    color: var(--wp--preset--color--accent-text, #fff) !important;
    font-family: audiowide, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

body.single .main-header .home-logo-other .wp-block-group.has-background {
    background-color: #ff5f2d !important;
    border-radius: 12px !important;
}

body.single .main-header .wp-block-navigation {
    font-family: "Noto Sans", noto-sans, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: capitalize;
}

body.single .main-header .wp-block-navigation-item__content {
    color: var(--wp--preset--color--accent-text, #fff) !important;
}

body.single .main-header .home-menu-other {
    flex-basis: 72% !important;
    width: 72% !important;
    min-width: 0;
}

body.single .main-header .menu-header-box {
    width: 100% !important;
    max-width: none !important;
}

body.single .main-header .lx-header-nav-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding-right: 168px;
    box-sizing: border-box;
}

body.single .main-header .lx-header-nav-row > .menu-header-box {
    flex: 0 1 auto;
    width: auto !important;
    max-width: 100% !important;
}

body.single .main-header .lx-header-nav-row .menu-header-box nav.wp-block-navigation {
    width: auto;
    min-width: 0;
}

body.single .main-header .lx-header-nav-row .wp-block-navigation__container {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 6px 18px !important;
    row-gap: 4px !important;
}

body.single .main-header .lx-header-nav-row .wp-block-navigation-item__content {
    padding: 8px 12px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

body.single .main-header .lx-header-user {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex: 0 0 auto;
    margin-left: 0;
    padding-left: 16px;
    border-left: 1px solid #3a4250;
}

body.single .lx-single-body {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

body.single .lx-single-body .wp-block-post-featured-image {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 12px;
}

body.single .lx-single-body .wp-block-post-featured-image img {
    border-radius: 12px;
}

.lx-header-user {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    height: 100%;
}

.lx-header-user--guest {
    gap: 2px;
}

.lx-header-user__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    color: #e2e6ed !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lx-header-user__nav-link:hover {
    color: #8eb4d4 !important;
    background: rgba(74, 144, 200, 0.1);
}

.lx-header-user__nav-link--accent {
    color: #8eb4d4 !important;
}

.lx-header-user__nav-link--accent:hover {
    color: #a8c8e0 !important;
}

.lx-header-user__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid #4a5568;
    color: #c5cad3 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lx-header-user__btn:hover {
    border-color: #e5534b;
    color: #ff8b87 !important;
    background: rgba(248, 81, 73, 0.08);
}

.lx-header-user__btn--ghost {
    width: 100%;
    background: transparent;
    border-color: #4a5568;
    color: #c5cad3 !important;
}

.lx-header-user__btn--ghost:hover {
    border-color: #e5534b;
    color: #ff8b87 !important;
    background: rgba(248, 81, 73, 0.08);
}

.lx-header-user__dropdown {
    position: relative;
}

.lx-header-user__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #e2e6ed;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.lx-header-user__trigger::-webkit-details-marker {
    display: none;
}

.lx-header-user__trigger::after {
    content: "▾";
    font-size: 11px;
    color: #8a939f;
    margin-left: 2px;
}

.lx-header-user__dropdown[open] .lx-header-user__trigger,
.lx-header-user__trigger:hover {
    color: #8eb4d4;
    background: rgba(74, 144, 200, 0.1);
}

.lx-header-user__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90c8, #72aee6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lx-header-user__name {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-header-user__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 200;
    min-width: 200px;
    padding: 12px;
    border-radius: 10px;
    background: #222830;
    border: 1px solid #343c48;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lx-header-user__meta,
.lx-header-user__email {
    color: #8a939f;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-all;
}

.lx-header-user__email {
    margin: 4px 0 10px;
    color: #b4bac6;
}

.lx-header-user__logout {
    margin: 0;
}

.lx-header-user__panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #bae6fd !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.lx-header-user__panel-link:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #e0f2fe !important;
}
.lx-header-user__panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1024px) {
    body.single .main-header .home-menu-other {
        flex-basis: 72% !important;
        width: 72% !important;
    }

    body.single .main-header .lx-header-nav-row {
        padding-right: 108px;
    }

    body.single .main-header .lx-header-nav-row .wp-block-navigation-item__content {
        padding: 6px 6px;
        font-size: 14px;
    }

    body.single .lx-header-user__nav-link {
        font-size: 14px;
        padding: 6px 8px;
    }
}

@media (max-width: 768px) {
    body.single .main-header .lx-header-nav-row {
        justify-content: flex-start;
        padding-right: 96px;
        min-height: 38px;
    }

    body.single .main-header .lx-header-nav-row > .menu-header-box {
        flex: 1 1 auto;
    }

    body.single .main-header .lx-header-nav-row .wp-block-navigation__container {
        justify-content: flex-start !important;
    }

    body.single .main-header .lx-header-user {
        padding-left: 10px;
    }

    body.single .lx-header-user__name {
        max-width: 56px;
    }

    body.single .lx-header-user__nav-link {
        font-size: 13px;
        padding: 6px 6px;
    }
}

/* 客户端认证页：去掉页面大横幅，沿用文章页头部与深色背景 */
body.lx-client-auth-page,
body.lx-client-auth-page .wp-site-blocks,
body.lx-client-auth-page .wp-block-group {
    background-color: #1a1e26 !important;
}

body.lx-client-auth-page .wp-block-cover.alignfull,
body.lx-client-auth-page .star-banner,
body.lx-client-auth-page .wp-block-post-title:not(.lx-client-page__title) {
    display: none !important;
}

body.lx-client-auth-page .main-header,
body.lx-archive-page .main-header {
    background-color: #1a1e26 !important;
}

body.lx-client-auth-page .main-header .wp-block-site-title,
body.lx-client-auth-page .main-header .wp-block-site-title a,
body.lx-archive-page .main-header .wp-block-site-title,
body.lx-archive-page .main-header .wp-block-site-title a {
    color: var(--wp--preset--color--accent-text, #fff) !important;
    font-family: audiowide, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

body.lx-client-auth-page .main-header .home-logo-other .wp-block-group.has-background,
body.lx-archive-page .main-header .home-logo-other .wp-block-group.has-background {
    background-color: #ff5f2d !important;
    border-radius: 12px !important;
}

body.lx-client-auth-page .main-header .wp-block-navigation,
body.lx-archive-page .main-header .wp-block-navigation {
    font-family: "Noto Sans", noto-sans, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: capitalize;
}

body.lx-client-auth-page .main-header .wp-block-navigation-item__content,
body.lx-archive-page .main-header .wp-block-navigation-item__content {
    color: var(--wp--preset--color--accent-text, #fff) !important;
}

/* 分类页：沿用认证页深色背景 */
body.lx-archive-page,
body.lx-archive-page .wp-site-blocks,
body.lx-archive-page .wp-block-group {
    background-color: #1a1e26 !important;
}

/* 分类页标题横幅：参考文章详情页 star-banner */
body.lx-archive-page .archive-star-banner {
    min-height: 280px;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 30, 60, 0.95) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(0, 20, 40, 0.9) 0%, transparent 45%),
        linear-gradient(180deg, #02040a 0%, #050d1c 48%, #071020 100%) !important;
}

body.lx-archive-page .archive-star-banner .meteor-wrap,
body.lx-archive-page .archive-star-banner::before,
body.lx-archive-page .archive-star-banner::after {
    display: none !important;
}

body.lx-archive-page .archive-star-banner .banner-overlay {
    background: rgba(0, 0, 0, 0.38) !important;
}

/* 分类名称（菜单下方横幅文字）：对齐文章详情页标题 32px */
body.category .wp-block-query-title,
body.category h1.wp-block-query-title,
body.lx-archive-page .wp-block-query-title,
body.lx-archive-page h1.wp-block-query-title,
body.lx-archive-page .archive-star-banner .wp-block-query-title,
body.lx-archive-page .archive-star-banner h1.wp-block-query-title {
    font-size: 32px !important;
    font-weight: 600 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.35 !important;
    letter-spacing: 0.3px;
    color: #f8fcff !important;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.8),
        0 0 18px rgba(0, 150, 255, 0.35);
}

@media (max-width: 768px) {
    body.lx-archive-page .archive-star-banner,
    body.category .archive-star-banner {
        min-height: 200px;
    }

    body.category .wp-block-query-title,
    body.category h1.wp-block-query-title,
    body.lx-archive-page .wp-block-query-title,
    body.lx-archive-page h1.wp-block-query-title,
    body.lx-archive-page .archive-star-banner .wp-block-query-title,
    body.lx-archive-page .archive-star-banner h1.wp-block-query-title {
        font-size: 22px !important;
    }
}

body.lx-client-auth-page .wp-block-post-content {
    color: #b4bac6;
}

body.lx-client-auth-page .lx-client-page {
    padding-top: 48px;
}

/* 分类页侧边栏：搜索框与社交链接深色适配 */
body.lx-archive-page .lx-archive-sidebar .wp-block-search__inside-wrapper {
    background: #282f3a !important;
    border: 1px solid #343c48 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

body.lx-archive-page .lx-archive-sidebar .wp-block-search__input {
    background: transparent !important;
    color: #e2e6ed !important;
    border: none !important;
}

body.lx-archive-page .lx-archive-sidebar .wp-block-search__button {
    background: #4a90c8 !important;
    color: #fff !important;
    border: none !important;
}

body.lx-archive-page .lx-archive-sidebar .wp-block-social-links .wp-block-social-link {
    background: #282f3a !important;
    border: 1px solid #343c48;
    border-radius: 8px;
}

body.lx-archive-page .lx-archive-sidebar .wp-block-latest-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #2e3540;
}

body.lx-archive-page .lx-archive-sidebar .wp-block-latest-posts li:last-child {
    border-bottom: none;
}

/* 签到弹窗：加宽加高留白，内容舒展，整卡仍不滚动 */
body.lx-checkin-modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

.lx-checkin-modal[hidden] {
    display: none !important;
}

.lx-checkin-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.lx-checkin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.lx-checkin-modal__dialog {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: min(460px, calc(100vw - 40px));
    height: auto;
    max-height: min(90vh, 720px);
    overflow: auto;
    padding: 24px 24px 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #222830 0%, #1a1e26 100%);
    border: 1px solid #343c48;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.48);
    color: #e2e6ed;
    /* 美化滚动条：Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 180, 212, 0.55) rgba(15, 20, 28, 0.65);
}

/* 美化滚动条：WebKit（Chrome / Edge / Safari） */
.lx-checkin-modal__dialog::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.lx-checkin-modal__dialog::-webkit-scrollbar-track {
    margin: 10px 0;
    background: rgba(15, 20, 28, 0.55);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.lx-checkin-modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(142, 180, 212, 0.75), rgba(99, 130, 165, 0.55));
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.lx-checkin-modal__dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(168, 200, 228, 0.95), rgba(120, 155, 190, 0.75));
    background-clip: padding-box;
}
.lx-checkin-modal__dialog::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #8eb4d4, #6a8faf);
    background-clip: padding-box;
}
.lx-checkin-modal__dialog::-webkit-scrollbar-corner {
    background: transparent;
}

.lx-checkin-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #c5cad3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.lx-checkin-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.lx-checkin-modal__title {
    margin: 0 0 16px;
    padding-right: 36px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

/* 签到弹窗加载态 */
.lx-checkin-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 220px;
    padding: 28px 12px 20px;
    color: #94a3b8;
    font-size: 13.5px;
}
.lx-checkin-loading[hidden] {
    display: none !important;
}
.lx-checkin-loading__spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(142, 180, 212, 0.18);
    border-top-color: #8eb4d4;
    border-right-color: rgba(142, 180, 212, 0.55);
    animation: lx-checkin-spin 0.75s linear infinite;
    box-shadow: 0 0 18px rgba(142, 180, 212, 0.18);
}
.lx-checkin-loading__text {
    letter-spacing: 0.04em;
}
@keyframes lx-checkin-spin {
    to { transform: rotate(360deg); }
}
.lx-checkin-modal__content {
    position: relative;
}
.lx-checkin-modal__content[hidden] {
    display: none !important;
}
.lx-checkin-modal__content.is-dimmed {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}
.lx-checkin-modal.is-fetching .lx-checkin-modal__content.is-dimmed::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(26, 30, 38, 0.35);
    border-radius: 10px;
}
/* 切换月份：加载卡片浮在内容中央 */
.lx-checkin-modal.is-fetching:has(.lx-checkin-modal__content.is-dimmed) .lx-checkin-loading {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    z-index: 3;
    min-height: 0;
    padding: 16px 20px;
    background: rgba(26, 30, 38, 0.92);
    border: 1px solid #343c48;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.lx-checkin-submit[hidden] {
    display: none !important;
}
.lx-checkin-modal__nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lx-checkin-modal__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.lx-checkin-modal__stats div {
    padding: 12px 14px;
    border-radius: 10px;
    background: #282f3a;
    border: 1px solid #343c48;
}

.lx-checkin-modal__stats span {
    display: block;
    margin-bottom: 4px;
    color: #8a939f;
    font-size: 12px;
    line-height: 1.3;
}

.lx-checkin-modal__stats strong {
    color: #8eb4d4;
    font-size: 18px;
    line-height: 1.25;
}

.lx-checkin-modal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lx-checkin-modal__nav strong {
    font-size: 14px;
}

.lx-checkin-modal__nav button {
    width: 32px;
    height: 32px;
    border: 1px solid #343c48;
    border-radius: 8px;
    background: #282f3a;
    color: #e2e6ed;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.lx-checkin-calendar {
    margin-bottom: 14px;
    width: 100%;
    min-height: 220px;
}

.lx-checkin-calendar__weekdays,
.lx-checkin-calendar__grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 6px;
    width: 100%;
}

.lx-checkin-calendar__weekdays {
    margin-bottom: 6px;
    color: #8a939f;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}

.lx-checkin-calendar__weekdays > span {
    display: block;
    min-height: 18px;
}

.lx-checkin-calendar__grid {
    min-height: 180px;
}

.lx-checkin-day {
    box-sizing: border-box;
    height: 34px;
    min-height: 34px;
    width: 100%;
    aspect-ratio: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #282f3a;
    border: 1px solid #343c48;
    color: #b4bac6;
    font-size: 13px;
    line-height: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

.lx-checkin-day--empty {
    background: transparent;
    border-color: transparent;
}

.lx-checkin-day.is-checked {
    background: rgba(74, 144, 200, 0.22);
    border-color: #4a90c8;
    color: #8eb4d4;
    font-weight: 600;
}

.lx-checkin-day.is-today {
    box-shadow: inset 0 0 0 1px #72aee6;
}

.lx-checkin-rules {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2e3540;
    overflow: hidden;
}

.lx-checkin-rules__title {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.lx-checkin-rules__list {
    margin: 0;
    padding-left: 18px;
    color: #8a939f;
    font-size: 12px;
    line-height: 1.65;
}

.lx-checkin-rules__list li {
    margin: 0;
}

.lx-checkin-rules__empty {
    margin: 0;
    color: #8a939f;
    font-size: 12px;
}

.lx-checkin-message {
    min-height: 0;
    margin: 0 0 10px;
    color: #8eb4d4;
    font-size: 13px;
    line-height: 1.4;
}

.lx-checkin-message:empty {
    display: none;
    margin: 0;
}

.lx-checkin-submit {
    width: 100%;
    padding: 11px 16px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.lx-checkin-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* 签到弹窗内赞助区 */
.lx-checkin-modal .lx-sponsor-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #3a4452;
}

.lx-checkin-modal .lx-sponsor-box__title {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.3;
}

.lx-checkin-modal .lx-sponsor-box__desc {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #9aa3af;
}

.lx-checkin-modal .lx-sponsor-box__row {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.lx-checkin-modal .lx-sponsor-code {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    font-size: 13px;
    height: 40px;
    box-sizing: border-box;
}

.lx-checkin-modal .lx-sponsor-redeem {
    flex-shrink: 0;
    padding: 9px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
    height: 40px;
    box-sizing: border-box;
}

.lx-checkin-modal .lx-sponsor-msg {
    margin: 8px 0 0;
    min-height: 0;
    font-size: 12px;
    line-height: 1.35;
}

.lx-checkin-modal .lx-sponsor-msg:empty {
    display: none;
}

.lx-checkin-modal .lx-sponsor-want {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
}

/* 矮屏：略收紧，仍保持可读、不滚动 */
@media (max-height: 720px) {
    .lx-checkin-modal {
        padding: 12px;
    }

    .lx-checkin-modal__dialog {
        width: min(420px, calc(100vw - 24px));
        padding: 18px 18px 16px;
    }

    .lx-checkin-modal__title {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .lx-checkin-modal__stats {
        gap: 10px;
        margin-bottom: 12px;
    }

    .lx-checkin-modal__stats div {
        padding: 10px 12px;
    }

    .lx-checkin-day {
        height: 28px;
        min-height: 28px;
        font-size: 12px;
    }

    .lx-checkin-calendar__weekdays,
    .lx-checkin-calendar__grid {
        gap: 5px;
    }

    .lx-checkin-rules {
        margin-bottom: 10px;
        padding: 10px 12px;
    }

    .lx-checkin-modal .lx-sponsor-box {
        margin-top: 12px;
        padding-top: 12px;
    }
}
/* 顶栏用户信息：积分胶囊 + 面板增强 */
.lx-header-user__points-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1e26;
    background: linear-gradient(100deg, #ff5f2d, #ff8a60);
    white-space: nowrap;
    line-height: 1.4;
}

.lx-header-user__panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.lx-header-user__avatar--lg {
    width: 40px;
    height: 40px;
    font-size: 15px;
}

.lx-header-user__panel-name {
    color: #f0f3f8;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.lx-header-user__stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    margin: 0 0 10px;
    border-radius: 8px;
    background: #1a1e26;
    border: 1px solid #343c48;
    font-size: 12px;
    color: #8a939f;
}

.lx-header-user__stat-row strong,
.lx-header-user__points {
    color: #ffb08a;
    font-size: 14px;
    font-weight: 700;
}

/* SKILL / AI工具箱 / 客户端页顶栏：导航疏朗 + 用户信息 */
body.lx-skill-page .main-header .home-menu-other,
body.lx-ai-toolbox-page .main-header .home-menu-other,
body.lx-client-auth-page .main-header .home-menu-other {
    flex-basis: 74% !important;
    width: 74% !important;
    min-width: 0;
}

body.lx-skill-page .main-header .menu-header-box,
body.lx-ai-toolbox-page .main-header .menu-header-box,
body.lx-client-auth-page .main-header .menu-header-box {
    width: 100% !important;
    max-width: none !important;
}

body.lx-skill-page .main-header .lx-header-nav-row,
body.lx-ai-toolbox-page .main-header .lx-header-nav-row,
body.lx-client-auth-page .main-header .lx-header-nav-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding-right: 210px;
    box-sizing: border-box;
}

body.lx-skill-page .main-header .lx-header-nav-row > .menu-header-box,
body.lx-ai-toolbox-page .main-header .lx-header-nav-row > .menu-header-box,
body.lx-client-auth-page .main-header .lx-header-nav-row > .menu-header-box {
    flex: 0 1 auto;
    width: auto !important;
    max-width: 100% !important;
}

body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation__container,
body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation__container,
body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation__container {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 6px 20px !important;
    row-gap: 4px !important;
}

body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation-item__content {
    padding: 8px 14px !important;
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-size: 15px !important;
}

body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation-item,
body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation-item,
body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation-item {
    margin: 0 !important;
}

body.lx-skill-page .main-header .lx-header-user,
body.lx-ai-toolbox-page .main-header .lx-header-user,
body.lx-client-auth-page .main-header .lx-header-user {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex: 0 0 auto;
    margin-left: 0;
    padding-left: 16px;
    border-left: 1px solid #3a4250;
    z-index: 30;
}

/* 客户端页导航全局（无 lx-header-nav-row 时也适用） */
body.lx-skill-page .main-header .wp-block-navigation,
body.lx-ai-toolbox-page .main-header .wp-block-navigation,
body.lx-client-auth-page .main-header .wp-block-navigation {
    font-size: 15px !important;
}

body.lx-skill-page .main-header .wp-block-navigation__container,
body.lx-ai-toolbox-page .main-header .wp-block-navigation__container,
body.lx-client-auth-page .main-header .wp-block-navigation__container {
    gap: 6px 18px !important;
}

body.lx-skill-page .main-header .wp-block-navigation-item__content,
body.lx-ai-toolbox-page .main-header .wp-block-navigation-item__content,
body.lx-client-auth-page .main-header .wp-block-navigation-item__content {
    padding: 8px 12px !important;
}

@media (max-width: 1024px) {
    body.lx-skill-page .main-header .lx-header-nav-row,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row,
    body.lx-client-auth-page .main-header .lx-header-nav-row {
        padding-right: 170px;
    }
    body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation__container,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation__container,
    body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation__container {
        gap: 4px 12px !important;
    }
    body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
    body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation-item__content {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    .lx-header-user__points-pill {
        display: none;
    }
}

@media (max-width: 768px) {
    body.lx-skill-page .main-header .lx-header-nav-row,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row,
    body.lx-client-auth-page .main-header .lx-header-nav-row {
        justify-content: flex-start;
        padding-right: 110px;
        min-height: 44px;
    }
    body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation__container,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation__container,
    body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation__container {
        gap: 2px 8px !important;
        justify-content: flex-start !important;
    }
    body.lx-skill-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
    body.lx-ai-toolbox-page .main-header .lx-header-nav-row .wp-block-navigation-item__content,
    body.lx-client-auth-page .main-header .lx-header-nav-row .wp-block-navigation-item__content {
        padding: 6px 8px !important;
        font-size: 13px !important;
    }
    .lx-header-user__name {
        max-width: 56px;
    }
}

/* ========== ���ںŷ�˿��¼ ========== */
.lx-wx-login {
    margin: 0;
}

.lx-wx-login__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.lx-wx-login__step {
    flex: 1 1 30%;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.25);
    color: #c8e6c9;
    font-size: 12px;
    line-height: 1.35;
}

.lx-wx-login__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.lx-wx-login__qr {
    text-align: center;
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 12px;
    background: #161b22;
    border: 1px solid #2f3640;
}

.lx-wx-login__qr img {
    display: block;
    margin: 0 auto 10px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    box-sizing: border-box;
}

.lx-wx-login__qr p {
    margin: 0;
    color: #b0b8c4;
    font-size: 13px;
}

.lx-wx-login__qr--empty {
    color: #b0b8c4;
}

.lx-wx-login__hint {
    margin-top: 8px !important;
    font-size: 12px !important;
    color: #7a8490 !important;
}

.lx-wx-login__form #lx-wechat-code {
    letter-spacing: 0.35em;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.lx-wx-login__form #lx-wechat-login-btn:disabled,
.lx-wx-login__form #lx-wechat-login-btn.is-loading {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.25);
    box-shadow: none;
}

.lx-wx-login__tip {
    margin: 12px 0 0;
    color: #8a939f;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.lx-wx-login__legacy {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px dashed #343c48;
    color: #9aa3af;
}

.lx-wx-login__legacy summary {
    cursor: pointer;
    color: #9ec5e8;
    font-size: 13px;
    user-select: none;
}

.lx-wx-login__legacy summary:hover {
    color: #c5def5;
}

/* ========== 顶栏：AI工具箱 / API服务 引诱动效 + 当前页 + 全局用户信息 ========== */

/* 去掉工具箱/API 项上多余描边方框感，改用光晕 */
.wp-block-navigation-item.lx-nav-lure,
.wp-block-navigation-item.lx-ai-toolbox-nav,
.wp-block-navigation-item.lx-api-service-nav {
  list-style: none !important;
  margin: 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  position: relative;
}

.lx-nav-lure__link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  text-decoration: none !important;
  font-weight: 650 !important;
  letter-spacing: 0.02em;
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.lx-nav-lure__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

.lx-nav-lure__label {
  position: relative;
  z-index: 1;
}

/* AI工具箱：橙蓝呼吸光（静态但不呆板） */
.lx-ai-toolbox-nav .lx-nav-lure__link {
  color: #ffb08a !important;
}
.lx-ai-toolbox-nav .lx-nav-lure__glow {
  background:
    radial-gradient(120% 80% at 20% 50%, rgba(255, 95, 45, 0.28), transparent 55%),
    radial-gradient(100% 90% at 90% 40%, rgba(74, 144, 200, 0.18), transparent 50%);
  animation: lx-lure-breathe-tb 3.6s ease-in-out infinite;
}
.lx-ai-toolbox-nav .lx-nav-lure__link::after {
  content: " \;
 position: absolute;
 left: 12%;
 right: 12%;
 bottom: 3px;
 height: 2px;
 border-radius: 2px;
 background: linear-gradient(90deg, transparent, rgba(255,95,45,.75), rgba(74,144,200,.55), transparent);
 opacity: 0.55;
 animation: lx-lure-shimmer 2.8s ease-in-out infinite;
 z-index: 1;
}
.lx-ai-toolbox-nav:hover .lx-nav-lure__link,
.lx-ai-toolbox-nav .lx-nav-lure__link:hover {
 color: #ffe0d2 !important;
 transform: translateY(-1px);
 text-shadow: 0 0 12px rgba(255, 95, 45, 0.45);
}

/* API服务：青紫电弧脉冲 */
.lx-api-service-nav .lx-nav-lure__link {
 color: #7dd3fc !important;
}
.lx-api-service-nav .lx-nav-lure__glow {
 background:
 radial-gradient(110% 90% at 15% 40%, rgba(56, 189, 248, 0.26), transparent 55%),
 radial-gradient(100% 100% at 85% 60%, rgba(129, 140, 248, 0.22), transparent 52%);
 animation: lx-lure-breathe-api 3.2s ease-in-out infinite;
}
.lx-api-service-nav .lx-nav-lure__link::before {
 content: \\;
 position: absolute;
 inset: 1px;
 border-radius: inherit;
 border: 1px solid transparent;
 background:
 linear-gradient(rgba(15,23,42,0), rgba(15,23,42,0)) padding-box,
 linear-gradient(120deg, rgba(56,189,248,.15), rgba(129,140,248,.55), rgba(56,189,248,.15)) border-box;
 opacity: 0.65;
 animation: lx-lure-spin-border 5s linear infinite;
 z-index: 0;
 pointer-events: none;
}
.lx-api-service-nav:hover .lx-nav-lure__link,
.lx-api-service-nav .lx-nav-lure__link:hover {
 color: #e0f2fe !important;
 transform: translateY(-1px);
 text-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

/* 当前页：更强高亮，去掉方框 */
.lx-ai-toolbox-nav.is-current .lx-nav-lure__link,
body.lx-ai-toolbox-page .lx-ai-toolbox-nav .lx-nav-lure__link {
 color: #fff !important;
 background: linear-gradient(135deg, rgba(255,95,45,.22), rgba(74,144,200,.12)) !important;
 box-shadow: 0 0 0 1px rgba(255,95,45,.25), 0 6px 22px rgba(255,95,45,.18) !important;
 text-shadow: 0 0 16px rgba(255,95,45,.55);
}
.lx-ai-toolbox-nav.is-current .lx-nav-lure__link::after,
body.lx-ai-toolbox-page .lx-ai-toolbox-nav .lx-nav-lure__link::after {
 opacity: 1;
 height: 2px;
 bottom: 2px;
 animation: lx-lure-shimmer-active 1.6s ease-in-out infinite;
}

.lx-api-service-nav.is-current .lx-nav-lure__link,
body.lx-api-service-page .lx-api-service-nav .lx-nav-lure__link {
 color: #fff !important;
 background: linear-gradient(135deg, rgba(56,189,248,.2), rgba(99,102,241,.18)) !important;
 box-shadow: 0 0 0 1px rgba(56,189,248,.35), 0 6px 24px rgba(56,189,248,.2) !important;
 text-shadow: 0 0 16px rgba(56,189,248,.55);
}
.lx-api-service-nav.is-current .lx-nav-lure__link::before,
body.lx-api-service-page .lx-api-service-nav .lx-nav-lure__link::before {
 opacity: 1;
 animation-duration: 2.4s;
}

@keyframes lx-lure-breathe-tb {
 0%, 100% { opacity: 0.55; transform: scale(1); }
 50% { opacity: 1; transform: scale(1.04); }
}
@keyframes lx-lure-breathe-api {
 0%, 100% { opacity: 0.5; filter: hue-rotate(0deg); }
 50% { opacity: 1; filter: hue-rotate(12deg); }
}
@keyframes lx-lure-shimmer {
 0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
 50% { opacity: 0.9; transform: scaleX(1); }
}
@keyframes lx-lure-shimmer-active {
 0%, 100% { opacity: 0.7; filter: brightness(1); }
 50% { opacity: 1; filter: brightness(1.35); }
}
@keyframes lx-lure-spin-border {
 0% { filter: hue-rotate(0deg); opacity: 0.55; }
 50% { opacity: 0.95; }
 100% { filter: hue-rotate(360deg); opacity: 0.55; }
}

/* 工具箱页顶栏更通透；API 页顶栏偏科技青 */
body.lx-api-service-page .main-header {
 position: relative;
 z-index: 20 !important;
 background: rgba(6, 12, 24, 0.48) !important;
 backdrop-filter: blur(16px) saturate(1.25);
 -webkit-backdrop-filter: blur(16px) saturate(1.25);
 border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}
html.lx-api-service-html,
body.lx-api-service-page {
 background-color: #060c18 !important;
 min-height: 100%;
}
body.lx-api-service-page,
body.lx-api-service-page .wp-site-blocks,
body.lx-api-service-page .wp-block-group {
 background-color: transparent !important;
 background-image: none !important;
}
body.lx-api-service-page .wp-site-blocks { position: relative; z-index: 1; }
body.lx-api-service-page .lx-client-page,
body.lx-api-service-page .wp-block-post-content {
 background: transparent !important;
 max-width: none;
 margin: 0;
 padding: 0;
}

/* API 页背景特效（与工具箱星云不同：网格扫描） */
.lx-api-fx {
 position: fixed;
 inset: 0;
 z-index: 0;
 pointer-events: none;
 overflow: hidden;
}
.lx-api-fx__base {
 position: absolute;
 inset: 0;
 background:
 radial-gradient(900px 420px at 15% -10%, rgba(56,189,248,.16), transparent 60%),
 radial-gradient(700px 360px at 90% 10%, rgba(99,102,241,.14), transparent 55%),
 linear-gradient(180deg, #060c18 0%, #0a1222 50%, #070b14 100%);
}
.lx-api-fx__grid {
 position: absolute;
 inset: -20%;
 background-image:
 linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px),
 linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px);
 background-size: 48px 48px;
 transform: perspective(600px) rotateX(58deg) translateY(-12%);
 transform-origin: center top;
 animation: lx-api-grid-drift 18s linear infinite;
 opacity: 0.55;
}
.lx-api-fx__scan {
 position: absolute;
 left: 0; right: 0;
 height: 28%;
 background: linear-gradient(180deg, transparent, rgba(56,189,248,.08), transparent);
 animation: lx-api-scan 7s ease-in-out infinite;
}
.lx-api-fx__orb {
 position: absolute;
 border-radius: 50%;
 filter: blur(40px);
 opacity: 0.45;
}
.lx-api-fx__orb--a {
 width: 280px; height: 280px;
 left: 8%; top: 18%;
 background: rgba(56,189,248,.35);
 animation: lx-api-orb 9s ease-in-out infinite;
}
.lx-api-fx__orb--b {
 width: 220px; height: 220px;
 right: 10%; bottom: 16%;
 background: rgba(129,140,248,.32);
 animation: lx-api-orb 11s ease-in-out infinite reverse;
}
.lx-api-fx__lines i {
 position: absolute;
 height: 1px;
 left: -10%;
 width: 120%;
 background: linear-gradient(90deg, transparent, rgba(56,189,248,.35), transparent);
 opacity: 0.35;
 animation: lx-api-line 6s linear infinite;
}
.lx-api-fx__lines i:nth-child(1) { top: 28%; animation-delay: 0s; }
.lx-api-fx__lines i:nth-child(2) { top: 52%; animation-delay: 2s; opacity: 0.25; }
.lx-api-fx__lines i:nth-child(3) { top: 74%; animation-delay: 3.5s; opacity: 0.2; }
.lx-api-fx__vignette {
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%);
}
@keyframes lx-api-grid-drift {
 0% { background-position: 0 0, 0 0; }
 100% { background-position: 0 48px, 48px 0; }
}
@keyframes lx-api-scan {
 0% { top: -20%; opacity: 0; }
 20% { opacity: 1; }
 80% { opacity: 0.6; }
 100% { top: 90%; opacity: 0; }
}
@keyframes lx-api-orb {
 0%, 100% { transform: translate(0,0) scale(1); }
 50% { transform: translate(18px, -22px) scale(1.08); }
}
@keyframes lx-api-line {
 0% { transform: translateX(-8%); opacity: 0; }
 30% { opacity: 0.4; }
 100% { transform: translateX(8%); opacity: 0; }
}

/* 除首页外：顶栏用户信息统一布局（复用 header-nav-row） */
body.lx-has-header-user .main-header .menu-header-box {
 width: 100% !important;
 max-width: none !important;
}
body.lx-has-header-user .main-header .lx-header-nav-row {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 min-height: 48px;
 padding-right: 210px;
 box-sizing: border-box;
}
body.lx-has-header-user .main-header .lx-header-nav-row > .menu-header-box {
 flex: 0 1 auto;
 width: auto !important;
 max-width: 100% !important;
}
body.lx-has-header-user .main-header .lx-header-nav-row .wp-block-navigation__container {
 justify-content: center !important;
 flex-wrap: wrap;
 gap: 6px 16px !important;
}
body.lx-has-header-user .main-header .lx-header-nav-row .wp-block-navigation-item__content {
 padding: 8px 12px !important;
 white-space: nowrap;
 font-size: 15px !important;
}
body.lx-has-header-user .main-header .lx-header-user {
 position: absolute;
 right: 0;
 top: 50%;
 transform: translateY(-50%);
 flex: 0 0 auto;
 margin-left: 0;
 padding-left: 16px;
 border-left: 1px solid #3a4250;
 z-index: 30;
}
body.lx-has-header-user.lx-api-service-page .main-header .lx-header-user {
 border-left-color: rgba(56,189,248,.25);
}
body.lx-has-header-user.lx-ai-toolbox-page .main-header .lx-header-user {
 border-left-color: rgba(255,95,45,.28);
}

@media (max-width: 1024px) {
 body.lx-has-header-user .main-header .lx-header-nav-row { padding-right: 170px; }
}
@media (max-width: 768px) {
 body.lx-has-header-user .main-header .lx-header-nav-row {
 justify-content: flex-start;
 padding-right: 110px;
 }
 body.lx-has-header-user .main-header .lx-header-nav-row .wp-block-navigation__container {
 justify-content: flex-start !important;
 }
 .lx-nav-lure__link { padding: 6px 10px !important; font-size: 13px !important; }
}
