/*
Theme Name: Red Horizon
Description: Less is more.
Author: Jisongbin Rebuild
Version: 1.9.9
Template: newvfx
*/

/*
html {
  filter: grayscale(100%);
}
*/

/*!
 * CSS 样式表说明：
 * 本文件为自动生成，包含主题基础样式、按钮样式、字体设置、链接颜色等。
 */
/* AI图表菜单 */
.newvfx-ai:before{content:"✦"!important;font-family:Arial,sans-serif!important;font-size:16px!important;display:inline!important;width:auto!important;margin:0!important;padding:0!important;position:relative!important;left:0!important;background:linear-gradient(135deg,#6366f1,#06b6d4,#8b5cf6)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;}
.newvfx-ai a{margin-left:-3px!important;position:relative!important;top:-2px!important;}

/* Chat 对话图表菜单项 */
.newvfx-chat:before{content:"🗨"!important;font-family:Arial,sans-serif!important;font-size:12px!important;display:inline!important;width:auto!important;margin:0!important;padding:0!important;position:relative!important;left:0!important;background:linear-gradient(135deg,#6366f1,#06b6d4,#8b5cf6)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;}
.newvfx-chat a{margin-left:-2px!important;position:relative!important;top:-2px!important;}

.fa-eye,
.fa-eye::before,
.fa-comment-o,
.fa-comment-o::before{
    color:#ff2b2b !important;
}
/*! ------------------------------
   1. 按钮类样式
   ------------------------------ */

/* 块级按钮链接：用于 Gutenberg 的按钮区块 */
.wp-block-button__link {
    color: #fff;                     /* 白色文字 */
    background-color: #32373c;       /* 深灰色背景 */
    border-radius: 9999px;           /* 超大圆角实现胶囊形状 */
    box-shadow: none;                /* 移除阴影 */
    text-decoration: none;           /* 无下划线 */
    padding: calc(.667em + 2px) calc(1.333em + 2px); /* 自适应内边距 */
    font-size: 1.125em;              /* 字号：18px（基于16px基准） */
}

/* 文件区块中的下载按钮 */
.wp-block-file__button {
    background: #32373c;             /* 同样使用深灰色背景 */
    color: #fff;                     /* 白色文字 */
    text-decoration: none;           /* 无下划线 */
}

/* ============================================================
   NewVFX · Header Wallet & Account Controls
   ============================================================ */

/* 钱包胶囊 */
.nvfx-wallet-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 30px;
    box-sizing: border-box;
    margin: 0 4px;
    padding: 0 4px 0 10px !important;
    border: 1px solid #e5e5ea !important;
    border-radius: 8px !important;
    background: #f7f7f8 !important;
    color: #1d1d1f !important;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease;
}

.nvfx-wallet-chip:hover {
    background: #f0f0f2 !important;
    border-color: #d2d2d7 !important;
    color: #1d1d1f !important;
    transform: none !important;
    box-shadow: none !important;
}

.nvfx-wallet-chip .wallet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #68686d;
}

.nvfx-wallet-chip .wallet-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.nvfx-wallet-chip .wallet-balance {
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.1px;
    font-variant-numeric: tabular-nums;
}

.nvfx-wallet-chip .wallet-unit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin-left: 1px;
    padding: 0 9px;
    border-radius: 6px;
    background: #e96969;
    color: #fff !important;
    font-size: 11px;
    font-weight: 500;
    transition: background .18s ease, transform .18s ease;
}

.nvfx-wallet-chip:hover .wallet-unit {
    background: #ff5a2a;
    transform: translateY(-1px);
}

/* 移动端专用文字标签（桌面端隐藏） */
.nvfx-wallet-chip .wallet-mobile-label {
    display: none;
}

/* 桌面端退出按钮 */
.nvfx-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #86868b !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease;
}

.nvfx-logout-link .logout-text {
    font-size: 10.5px;
    font-weight: 400;
}

.nvfx-logout-icon {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.nvfx-logout-link:hover {
    background: rgba(255, 59, 48, .08);
    color: #ff3b30 !important;
}

/* 移动端账户按钮 */
.nvfx-mobile-profile-link,
.nvfx-mobile-logout-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 5px 0 !important;
    padding: 10px 14px !important;
    border: 1px solid #e5e5ea !important;
    border-radius: 8px !important;
    background: #f7f7f8 !important;
    color: #333 !important;
    font-size: 13px;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.nvfx-mobile-profile-link svg,
.nvfx-mobile-logout-link svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.nvfx-mobile-logout-link {
    border-color: #ffddd3 !important;
    background: #fff4f0 !important;
    color: #ff5f33 !important;
}

.nvfx-mobile-profile-link:hover {
    background: #ededf0 !important;
}

.nvfx-mobile-logout-link:hover {
    background: #ffe9e2 !important;
}

/* 移动端导航图标 */
#mobile-nav-button svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nvfx-logout-link .logout-text,
    .nvfx-wallet-chip .wallet-unit {
        display: none;
    }

    /* 移动端钱包入口：居中紧凑胶囊 + 明确文字（原为整条空白仅图标，看不出用途） */
    #mobile-bp-buttons .nvfx-wallet-chip {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: fit-content;
        min-height: 0;
        margin: 8px auto;
        padding: 10px 24px !important;
        font-size: 14px;
    }
    #mobile-bp-buttons .nvfx-wallet-chip .wallet-mobile-label {
        display: inline-flex;
        align-items: center;
        font-weight: 600;
    }
}

/* 深色模式以外的基础样式不在此处重复定义 */

/* 尊重系统减少动态效果的偏好 */
@media (prefers-reduced-motion: reduce) {
    .nvfx-wallet-chip,
    .nvfx-wallet-chip .wallet-unit,
    .nvfx-logout-link,
    .nvfx-mobile-profile-link,
    .nvfx-mobile-logout-link {
        transition: none;
    }
}
/*! ------------------------------
   2. 全局字体与文本样式
   ------------------------------ */

/* 统一设置以下元素的字体族 */
body,
input,
textarea,
select,
#sidebar .menu li .menu-subtitle {
    font-family: "-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif";
    /* 使用现代中英文字体栈，优先系统字体 */
}

/* 设置基础字号为 14px */
body,
input,
textarea,
select,
#sidebar .menu li .menu-subtitle {
    font-size: 14px;
}

/* 设置默认文字颜色为深灰色 */
body,
input,
textarea,
select,
#sidebar .menu li .menu-subtitle {
    color: #383838;
}



/*! ------------------------------
   3. 链接颜色
   ------------------------------ */

/* 主要链接颜色：WordPress 蓝 */
a,
.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
.ui-tabs .ui-tabs-nav li.ui-state-processing a,
.ui-tabs .ui-tabs-nav li.ui-state-hover a {
    color: #1e73be; /* 标准蓝色，用于链接和交互状态 */
}

/*! ------------------------------
   4. 标题字体设置
   ------------------------------ */

/* 所有标题使用与正文相同的现代字体栈 */
h1, h2, h3, h4, h5, h6,
.widget .widgettitle,
.widget .widget-title,
.widget .wp-block-search__label {
    font-family: "-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif";
}

/* 标题字号定义 */
h1 { font-size: 19px; } /* 主标题 */
h2 { font-size: 17px; } /* 二级标题 */
h3 { font-size: 16px; } /* 三级标题 */

/*! ------------------------------
   5. 表单按钮与通用按钮样式
   ------------------------------ */

/* 默认按钮样式：深灰背景 */
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button,
.gp-theme #buddypress .comment-reply-link,
.gp-theme #buddypress a.button,
.gp-theme #buddypress button,
.gp-theme #buddypress div.generic-button a,
.gp-theme #buddypress input[type=button],
.gp-theme #buddypress input[type=reset],
.gp-theme #buddypress input[type=submit],
.gp-theme #buddypress ul.button-nav li a,
#gp-profile-desktop-button,
#gp-profile-mobile-button {
    background-color: #333333; /* 深灰色 */
    border-color: #333333;
}

/* 悬停状态：变为纯黑 */
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover,
.gp-theme #buddypress .comment-reply-link:hover,
.gp-theme #buddypress a.button:hover,
.gp-theme #buddypress button:hover,
.gp-theme #buddypress div.generic-button a:hover,
.gp-theme #buddypress input[type=button]:hover,
.gp-theme #buddypress input[type=reset]:hover,
.gp-theme #buddypress input[type=submit]:hover,
.gp-theme #buddypress ul.button-nav li a:hover,
a.bp-title-button:hover,
#gp-profile-desktop-button:hover,
#gp-profile-mobile-button:hover {
    background-color: #000; /* 黑色背景 */
    border-color: #000000;
    color: #e9e8e8;
}
.bp-button:hover, .bp-button a:hover {
color: #e9e8e8;
}
/*! ------------------------------
   6. 特殊功能按钮（红色主题）
   ------------------------------ */

/* 红色按钮：用于登录、移动导航等 */
.login-button,
.gp-theme .widget.buddypress div.item-options a,
.gp-theme #buddypress div.activity-meta a.button,
.gp-theme #buddypress .activity .acomment-options a,
#mobile-nav-button {
    background-color: #e96969; /* 红色背景 */
    border-color: #e96969;
}

/* 红色按钮悬停状态 */
.login-button:hover,
#mobile-nav-button:hover,
.gp-theme .widget.buddypress div.item-options a.selected,
.gp-theme .widget.buddypress div.item-options a:hover,
.gp-theme #buddypress div.activity-meta a.button:hover,
.gp-theme #buddypress .activity .acomment-options a:hover,
#mobile-nav-button:hover {
    background-color: #e85a5a; /* 稍深的红色 */
    border-color: #e85a5a;
    color: white;
}


/* ============================================================================ */
/* ================================ 按钮样式 ================================ */
/* ============================================================================ */

/* ================================
   全局按钮颜色控制（集中区域）
   所有按钮颜色相关样式统一放在此处，按原始出现顺序保留
   不合并、不删减、不优化，仅集中排列
================================ */

/* 登录后按钮上显示通知条数的颜色 */
.gp-notification-counter {
    background: #e96969;
}

/* 登录注册按钮颜色 */
.login-button {
    background-color: #e96969 !important;
}

.login-button:hover {
    background-color: #679710 !important;
}

.signup-button {
    background-color: #333 !important;
}

.signup-button:hover {
    background-color: #2a8cae !important;
}

/* 搜索按钮（WordPress + bbPress 搜索框） */
#searchform input[type='submit'],
form.search-form input[type='submit'],
#bbp_search + input[type='submit'] {
    background-color: #e96969 !important;
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

#searchform input[type='submit']:hover,
form.search-form input[type='submit']:hover,
#bbp_search + input[type='submit']:hover {
    background-color: #db5b5d !important;
    color: #fff !important;
}

/* 评论表单按钮 */
#commentform input[type='submit'] {
    background-color: #e96969 !important;
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

#commentform input[type='submit']:hover {
    background-color: #db5b5d !important;
    color: #fff !important;
}

/* bbPress 回复提交按钮 */
#bbp_reply_submit {
    background-color: #e96969 !important;
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

#bbp_reply_submit:hover {
    background-color: #db5b5d !important;
    color: #fff !important;
}


/* 设置菜单图标颜色 */
#menu-bbs li.fa::before {
    color: #333; /* 调整为你想要的颜色 */
}

/* ============================================================================ */
/* =============================== 头部与导航 ================================ */
/* ============================================================================ */

/* 头部样式 */
#header {
    background: #ffffff !important;
    margin-bottom: 15px; /* 电脑端保留与内容区的间距（父主题原值）；手机端归零见下方媒体查询 */
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    position: relative; /* 作为参照系 */
    z-index: 1000; /* 确保整个 header 在顶层 */
}

/* 手机端导航与内容贴紧（电脑端保留 15px 间距）；须位于上方基础规则之后才能覆盖 */
@media (max-width: 768px) {
    #header { margin-bottom: 0; }
}

#header_main, #header {
    box-shadow: 0 2px 5px #cccccc59;
}

/* 导航全屏居中 */
.gp-scrolling.gp-fixed-header #header {
    position: fixed;
    width: 100%;
    left: 0;
    transform: none;
}

.gp-scrolling.gp-fixed-header #header > #page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* 主导航菜单 */
#nav .menu {
    float: left;
    margin: 2px 0 0 0;
    list-style-type: none;
    list-style-position: outside;
}

/* 菜单项基础样式 */
.menu li {
    position: relative;
    overflow: visible !important;
}

.menu li a {
    color: #6c6c6c !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    display: inline-block !important;
    padding: 7px 14px !important;
    position: relative;
    z-index: 2;
    background: transparent !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Font Awesome 图标样式 */
.menu li.fa:before {
    margin-right: -7px;
    display: inline-block;
    transform-origin: left center;
    transition: transform 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1;
    color: currentColor;
}

/* 菜单悬停效果：文字与图标放大 */
.menu li:hover:before {
    transform: scale(1.1);
    color: #77af12 !important;
}

.menu li:hover > a {
    transform: scale(1.1) !important;
    color: #77af12 !important;
    background: transparent !important;
}

/* 子菜单样式 */
#nav .menu .sub-menu {
    background: transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: auto;
    min-width: 150px;
    max-width: 200px;
}

#header .sub-menu {
    position: absolute;
    z-index: 2000;
}

/* 手机端导航按钮 */
#mobile-nav-button {
    background-color: #e96969 !important;
}

#mobile-nav .menu li a {
    display: block;
    color: #555;
}

#mobile-nav .menu li > a:hover {
    color: #fff;
    background: #e96969;
}


/* ============================================================================ */
/* ============================== 内容区域与布局 ============================== */
/* ============================================================================ */

/* 主内容区域背景 */
#content, #container {
    background-color: #fff !important;
}

/* 内容容器阴影 */
.padder, #container #content {
    padding: 10px;
    box-shadow: 0 2px 5px #c1bfbf59;
}

/* 文章内容区域设置（仅在大屏单文章页） */
@media only screen and (min-width: 992px) {
    body.single-post .entry-content img,
    body.single-post .post-content img,
    body.single-post .wp-image-32701,
    body.single-post .alignnone,
    body.single-post .wp-image {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

    body.single-post .wp-block-image,
    body.single-post .wp-block-image figure,
    body.single-post .wp-block-image a {
        text-align: center;
        display: block;
        width: 100%;
    }

    body.single-post #container #content,
    body.single-post .padder {
        position: relative;
        padding-top: 14px;
        padding-bottom: 14px;
        padding-left: 25px;
        padding-right: 25px;
    }

    body.single-post #commentform input[type="submit"] {
        z-index: 10;
        position: relative;
    }
}

/* 首页博客区域 */
.page-template-homepage-php .gp-blog-wrapper {
    padding: 5px !important;
}

/* 作者信息 */
.author-info .author-desc {
    line-height: 26px;
    letter-spacing: 0.7px;
    font-size: 13px;
}

/* 文章内容 */
#post-content {
    letter-spacing: 0.6px;
}

.wp-block-image .aligncenter > figcaption,
.wp-block-image .alignleft > figcaption,
.wp-block-image .alignright > figcaption {
    display: block;
    text-align: center;
    caption-side: unset;
    margin-top: 0.5em;
}

/* 段落默认样式 */
p {
    line-height: 26px;
    margin-bottom: 12px;
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;
}

/* 引用块样式 */
blockquote {
    background: #f9f9f9 !important;
    border-left: 4px solid #4CAF50 !important; /* 绿色边框，更醒目 */
    margin: 1em 10px !important;
    padding: 0.8em 15px !important;
    border-radius: 5px; /* 圆角 */
    font-style: normal; /* 正常字体，不斜体 */
    color: #333; /* 字体颜色 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 轻微阴影 */
}
blockquote code {
    background: #eee;
    padding: 2px 4px;
    border-radius: 3px;
}

/* 代码块样式 */
code {
    color: #000;
    background: #eaeaea;
    border: 0px solid #F0F0ED !important;
    padding: 5px 25px;
    margin: 5px 0 20px 0;
    font-family: "Courier New";
    clear: both;
    display: block;
    font-size: 12px;
    line-height: 21px;
}

pre {
    display: block;
    color: #000;
    background: #eaeaea;
    border: 1px solid #f0f0ed;
    padding: 5px 25px;
    margin: 5px 0 20px 0;
    font-family: "Courier New";
    overflow: auto;
    font-size: 12px;
    line-height: 21px;
}

/* 表格行高 */
td {
    line-height: 26px;
}

/* 斜体文本 */
em {
    font-style: italic;
}

/* 文章内容页面显示作者 日期的间距 */
.gp-post-meta {
    color: #33363C;
    line-height: 1;
    margin: 20px 10px 0 10px;
    font-size: 12px!important;
    font-weight: 400!important;
}

/* 各类作者 日期 评论替代图标 */
.gp-blog-wrapper section {
    margin-bottom: 0px!important;
    padding: 10px;
}

/* 页面标题样式 */
.page-title {
    margin-bottom: 5px;
}


/* ============================================================================ */
/* ================================ 字体与链接 ================================ */
/* ============================================================================ */

/* 链接悬停颜色 */
h4 {
    font-size: 15px;
}

@media (min-width: 800px) {
    .post-text h2 {
        font-size: 18px;
    }
}

#comments h3 {
    line-height: 1;
    font-size: 15px;
    margin-bottom: 20px;
}

#comments #reply-title {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
}


/* ============================================================================ */
/* ============================== 侧边栏与小工具 ============================= */
/* ============================================================================ */

/* 小工具通用样式 */
.widget {
    position: relative;
    width: 100%;
    overflow: hidden;
    clear: both;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 3px;
}

/* 小工具标题内边距 */
.widget .widgettitle,
.widget .widget-title,
.widget .wp-block-search__label {
    padding: 5px 10px 8px 10px;
    margin: 0 0 10px 0;
}

/* 控制小工具内边距（紧凑） */
.widget {
    padding: 10px;
}

/* 侧边栏字体颜色 */
.sidebar {
    color: #616161;
}


/* ============================================================================ */
/* ================================ 表单与输入 ================================ */
/* ============================================================================ */

/* 登录注册表单输入框 */
.gp-login-register-form input[type="text"],
.gp-login-register-form input[type="password"],
.gp-login-register-form input[type="email"],
.gp-login-register-form input[type='submit'] {
    width: 100%;
    height: 30px;
}

/* 手机端输入框高度 */
@media screen and (max-width: 800px) {
    .gp-login-register-form input[type="text"],
    .gp-login-register-form input[type="password"],
    .gp-login-register-form input[type="email"],
    .gp-login-register-form input[type='submit'] {
        height: 45px !important;
    }
}

/* 搜索栏宽度 */
.gp-search-submit {
    width: 30%;
}

.gp-search-bar {
    width: 68%;
}


/* ============================================================================ */
/* ================================ 媒体与播放器 ============================= */
/* ============================================================================ */

/* FV 播放器冲突解决 */
.flowplayer .fp-play .fp-playbtn,
.flowplayer .fp-pause .fp-playbtn,
.flowplayer .fp-waiting .fp-playbtn {
    display: none !important;
}


/* ============================================================================ */
/* ================================ 图片与对齐 ================================ */
/* ============================================================================ */

/* 图片居中 */
.align-center,
.aligncenter {
    margin: 5px auto;
    clear: none !important;
}

/* 分割线清除 */
hr {
    clear: none !important;
}

/* 轮播图图片圆角 */
.flexslider .slides img {
    border-radius: 2px;
}


/* ============================================================================
   📌 WordPress 通用响应式样式
   ============================================================================ */

/* 平板及以上 */
@media screen and (min-width: 800px) {
    .insert-post-ads {
        display: none !important;
    }
}

/* 手机端 */
@media screen and (max-width: 800px) {
    blockquote p {
        margin: 10px;
    }

    .widget {
        display: none;
    }

    #content-wrapper {
        margin-bottom: 0px;
    }

    .page-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
}

/* 超小屏 */
@media screen and (max-width: 500px) {
    .post-thumbnail.single-thumbnail,
    .post-thumbnail.single-thumbnail img {
        display: none;
    }

    .gp-responsive #page-wrapper {
        padding: 0 0px;
    }

    .padder,
    #container #content {
        padding: 10px;
    }
}

/* 关闭导航上的通知状态 */
@media only screen and (max-width: 1023px) {
  .gp-responsive.gp-profile-all #gp-profile-mobile-button,
  .gp-responsive.gp-profile-mobile #gp-profile-mobile-button {
    display: none;
  }
}
/* ============================================================================ */
/* ================================ 其他组件 ================================ */
/* ============================================================================ */

/* 回到顶部按钮 */
#gp-to-top {
    background: #f5f4f5 !important;
    color: #5C6161 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 3px #d2cfcf59 !important;
}

/* 日历今日高亮 */
#wp-calendar #today {
    font-size: 1.1em;
    background-color: #e2e2e2;
    color: #000;
    border-radius: 100%;
    text-align: center;
    display: inline-block;
}

#wp-calendar #today a {
    color: inherit;
    text-decoration: none;
}

#wp-calendar #today a:hover {
    background-color: #f44336;
    color: #fff;
    border-radius: 50%;
    padding: 0.25em;
}

/* 隐藏特定菜单项 */
#blogs-personal-li {
    display: none;
}

/* 评论表单工具栏 */
#qt_comment_toolbar {
    display: none;
}

/* 字体图标路径（可能拼写错误） */
ht


/* ============================================================================ */
/* ================================ 插件样式 ================================ */
/* ============================================================================ */

/* =============================
   newvfx-pay 下载模块（高权重覆盖版）
   ============================= */

/* 下载按钮 */
body .newvfx-pay .newvfx-pay-down {
    font-size: 15px;
}

/* 登录提示 */
body .newvfx-pay .erphp-login-must {
    background: #e96969;
    padding: 2px 7px;
    font-size: 15px;
}

/* 复制按钮 */
body .newvfx-pay .newvfx-pay-copy {
    color: #fff;
}

/* VIP 提示 */
body .newvfx-pay .newvfx-pay-vip {
    background: #e96969;
}

/* 下载容器 */
body .newvfx-pay {
    overflow: hidden;
    border: 1px solid #ccc!important;
}

/* 下载弹窗标题 */
body #newvfx-pay-download .title {
    font-size: 15px;
    color: #fff;
}

/* 隐藏内容提示 */
body .hidden-content {
    margin-top: 10px;
    color: #ffc107;
}

/* 下载弹窗整体 */
body #newvfx-pay-download {
    font-family: 'Microsoft Yahei', 'Sans-serif';
    font-size: 24px;
}

/* layer 弹窗标题 */
body .layui-layer-title {
    display: none;
}

/* layer 弹窗背景 */
body .layui-layer {
    border-radius: 20px;
    background-color: hsl(0deg 0% 22% / 58%);
}

/* 关闭按钮 */
.layui-layer-setwin .layui-layer-close {
    display: none !important;   /* 去掉原来的背景图 */
}

/* myCRED 排名图标 */
div.mycred-my-rank img {
    height: 14px;
    width: 14px;
}

.fp-playlist-vertical-wrapper {
    margin-bottom: 0px;
}

/* mwai AI 插件样式 */
.mwai-statistics-usage .mwai-statistics-bar-container {
    background: #ececec!important;
    height: 21px!important;
}

.mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-user {
    color: black!important;
}

.mwai-input {
    background-color: #e9e9e9;
}

/* 小工具中论坛/主题/回复项间距 */
.gp-theme .widget_display_forums li,
.gp-theme .widget_display_topics li,
.gp-theme .widget_display_replies li {
    margin-top: 10px!important;
}

/* 图片标题 */
.caption {
    background: #3131317d;
}


/* ============================================================================ */
/* ============================ 重复或覆盖规则（保留） ========================= */
/* ============================================================================ */

/* 以下为重复或被覆盖的规则，按原始顺序保留 */
#buddypress .element,
#bbpress .element {
    height: auto !important;
}



.avatar {
    border-radius: 100%;
}

/* 用户头像样式 */
#respond .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}


/* 版权区域背景 */
#copyright {
    background: white;
    color: #343434;
}
/*内容区域距离版权区域的间距 */
#content-wrapper {
margin-bottom: 14px;
}

/* 评论修复按钮响应区域 */
#commentform textarea {
    display: block;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================================ */
/* ============================== 文档系统 =============================== */
/* ============================================================================ */

.grid-docs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 1em;
}

.grid-docs .docs-category-group {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.grid-docs .docs-category-group:hover {
    transform: translateY(-2px);
}

.grid-docs .docs-category-group h4 {
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.4em;
}

.grid-docs ul {
    list-style: disc;
    margin: 0.5em 0 0 1.2em;
    padding: 0;
}

.grid-docs li {
    margin: 0.3em 0;
}

.grid-docs a {
    text-decoration: none;
    color: #0066cc;
}

.grid-docs a:hover {
    text-decoration: underline;
}


/* ============================== 单页面page文章宽度限制 =============================== */
/* 默认移动端：不应用任何特殊样式 */

.pc-only-container {
    margin: 0 auto;
    padding: 21px 21px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 单页面仅当屏幕宽度 ≥ 768px（电脑/平板横屏）时生效 */
@media (min-width: 768px) {
  .pc-only-container {
    margin: 0 auto;
    padding: 35px 90px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
}




/* ============================================================================ */
/* ============================== 全局容器溢出防护 =============================== */
/* ============================================================================ */
/*	•	Safari 自动放大问题仅在字体 <16px 时触发，所以这样就解决了*/
/* 1️⃣ 输入框优化，防止 Safari 自动放大 */
/* ============================================================================ */
@media (max-width: 768px) {
    /* 统一主题下的输入控件 */
    .gp-theme input,
    .gp-theme textarea,
    .gp-theme select {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* 按钮类单独处理 *//* 移动端兜底按钮优化 */
    button,
    input[type="button"],
    input[type="submit"] {
        font-size: 16px;
        line-height: 1.2;
        padding: 6px 12px;
        border-radius: 6px;
        border: none;
        background-color: #e96969;
        color: #fff;
        cursor: pointer;
        transform: scale(0.83);
        transform-origin: center;
    }

    /* 全局兜底（避免漏网之鱼） */
    input,
    textarea,
    select {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }

}


/* ============================================================
   移动端横向滚动与媒体元素适配优化
   1. 禁止页面在移动端产生横向滚动条（常见于小屏幕 + 元素溢出时）
   2. 保证图片、视频、iframe 在容器内自适应宽度，不会撑破布局
   ============================================================ */
html, body {
    overflow-x: hidden;
}

img,
iframe,
video {
    max-width: 100%;
}

/* ============================================================
   统一头部样式（原 header.php 内联手搓 CSS 收编于此，统一管理）
   断点：html.nvfx-bp-mobile 由 JS 按「壳设计」tab 的 nvfx_shell_bp 切换
   （@media 无法读 CSS 变量；主题与 nvfx-app-kit 共用此类）
   设计令牌：--nvfx-* 由 newvfx-dark-mode.php 从「壳设计」tab 输出到 :root
   ============================================================ */

/* 电脑端：隐藏原版专属元素；桌面端菜单横排全显示，不需要任何汉堡按钮 */
.nvfx-original-hamburger,
.nvfx-original-logout-top,
.nvfx-original-logout-mobile,
.nvfx-upgrade-hamburger { display: none !important; }

/* 电脑端：昵称黑块内头像圆形化，通知计数器保持原生 */
#gp-profile-desktop-button .nvfx-header-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    object-fit: cover; display: block;
}
#gp-profile-desktop-button {
    background: transparent !important; border: 0 !important; padding: 0 !important;
}
#gp-profile-desktop-button .nvfx-avatar-link {
    display: inline-flex; align-items: center; line-height: 0; padding: 0 8px;
}
/* 余额是隐私：header 钱包胶囊不常驻展示金额，仅保留入口 */
.nvfx-wallet-chip .wallet-balance { display: none !important; }

/* 统一 Logo：默认只显示桌面版，手机版在下方断点块中显示（数据源 newvfx-dark-mode.php） */
.nvfx-logo-mobile { display: none; }

/* 手机裸露菜单 + 紧凑操作区：桌面隐藏（后台「手机菜单」填写后手机端启用） */
.nvfx-mobile-bar,
.nvfx-mobile-actions { display: none; }

/* ===== 手机端（html.nvfx-bp-mobile，默认 <=768px，可在「壳设计」改） ===== */
html.nvfx-bp-mobile #bp-buttons { display: none !important; }
html.nvfx-bp-mobile .nvfx-upgrade-hamburger,
html.nvfx-bp-mobile .nvfx-mobile-profile-link,
html.nvfx-bp-mobile .nvfx-mobile-logout-link { display: none !important; }
html.nvfx-bp-mobile .nvfx-original-hamburger { display: inline-block !important; }

/* 手机端顶部导航瘦身 */
html.nvfx-bp-mobile #header { padding-bottom: 5px !important; }
html.nvfx-bp-mobile #header #logo { margin: 0 !important; }
html.nvfx-bp-mobile #header #logo img { height: 18px !important; width: auto !important; }
html.nvfx-bp-mobile #header #logo .nvfx-logo-desktop { display: none !important; }
html.nvfx-bp-mobile #header #logo .nvfx-logo-mobile { display: block !important; }
html.nvfx-bp-mobile #mobile-nav-button {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    box-sizing: border-box !important; width: 32px !important; height: 26px !important;
    line-height: 1 !important; font-size: 14px !important; border-radius: 6px !important;
    margin: 0 !important; padding: 0 !important; text-align: center !important; vertical-align: middle !important;
}
html.nvfx-bp-mobile #mobile-nav-button i,
html.nvfx-bp-mobile #mobile-nav-button i.fa {
    font-family: "FontAwesome" !important; font-style: normal !important; font-weight: normal !important;
    font-size: 14px !important; line-height: 1 !important; width: 14px !important; height: 14px !important;
    display: block !important; margin: 0 !important; padding: 0 !important; text-align: center !important;
    -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important;
}
html.nvfx-bp-mobile .nvfx-theme-toggle {
    width: 24px !important; height: 24px !important;
    margin: 0 0 0 4px !important; border-radius: 6px !important;
}
html.nvfx-bp-mobile .nvfx-theme-toggle svg { width: 12px !important; height: 12px !important; }

/* ===== 壳风格裸露手机菜单（单行：logo左固定 | 菜单横滑 | 明暗+头像右固定） ===== */
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar .nvfx-original-hamburger,
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar #mobile-nav,
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar #nav { display: none !important; }
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar { padding: 0 !important; }
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar > #page-wrapper {
    display: flex !important; align-items: center; gap: var(--nvfx-mgap, 6px);
    width: 100%; padding: 8px var(--nvfx-mrow, 10px) !important;
}
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar #logo { flex: 0 0 auto; float: none; margin: 0; }
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar .nvfx-mobile-actions {
    flex: 0 0 auto; float: none; display: inline-flex !important; align-items: center; gap: 6px;
    font-family: var(--nvfx-font, inherit);
}
html.nvfx-bp-mobile .nvfx-m-act {
    display: inline-flex; align-items: center; justify-content: center;
    height: 28px; min-width: 28px; padding: 0 8px; border-radius: 999px;
    font-size: var(--nvfx-fs, 13px); line-height: 1; text-decoration: none;
    background: rgba(0,0,0,.06); color: #333;
}
html.nvfx-bp-mobile .nvfx-m-act img { width: 28px; height: 28px; border-radius: 50%; display: block; }
html.nvfx-bp-mobile .nvfx-m-profile { padding: 0; background: none; }
html.nvfx-bp-mobile .nvfx-m-act svg { width: 15px; height: 15px; }
html.nvfx-bp-mobile .nvfx-mobile-actions .nvfx-theme-toggle {
    transform: none !important; width: 28px !important; height: 28px !important; margin: 0 !important;
}
html.nvfx-bp-mobile #header.nvfx-has-mobile-bar .nvfx-mobile-bar {
    display: flex !important; flex: 1 1 auto; min-width: 0;
    float: none; width: auto; clear: none; gap: var(--nvfx-mgap, 6px);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 0; margin: 0; scrollbar-width: none;
    font-family: var(--nvfx-font, inherit);
}
html.nvfx-bp-mobile .nvfx-mobile-bar::-webkit-scrollbar { display: none; }
html.nvfx-bp-mobile .nvfx-mobile-bar-link {
    flex: 0 0 auto; padding: 8px var(--nvfx-mpad, 12px); border-radius: 999px;
    font-size: var(--nvfx-menu-fs, 14px); line-height: 1; white-space: nowrap;
    text-decoration: none; color: #333; background: rgba(0,0,0,.06);
}
html.nvfx-bp-mobile .nvfx-mobile-bar-link.is-active { background: var(--nvfx-accent, #e96969); color: #fff; }
html.nvfx-bp-mobile[data-theme="dark"] .nvfx-m-act,
html.nvfx-bp-mobile[data-theme="dark"] .nvfx-mobile-bar-link { background: rgba(255,255,255,.10); color: #e8e8e8; }
html.nvfx-bp-mobile[data-theme="dark"] .nvfx-m-profile { background: none; }
html.nvfx-bp-mobile[data-theme="dark"] .nvfx-mobile-bar-link.is-active { background: var(--nvfx-accent, #e96969); color: #fff; }

/* 统一 Safari/Chrome 原生下拉箭头（去除双箭头） */
html.nvfx-bp-mobile select {
    appearance: none !important; -webkit-appearance: none !important;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center !important;
    background-size: 12px !important; padding-right: 26px !important;
}
/* ============================================================================
   prettyPhoto 灯箱样式统一（2026-11-25 自 nvfx-live/assets/nvfx-live.css 复制）
   桌面：根除画廊拼接线/翻页热区竖线；手机：微信式全屏看图+点任意处关闭
   ============================================================================ */
/* ============================================================
 * 1. 精准隐藏 prettyPhoto 悬停或画廊组件产生的中间竖线
 * ============================================================ */

/* 2. 彻底剥离 .pp_gallery 内部所有子元素的隐式边框与背景拼接线 */
.pp_pic_holder.pp_default .pp_gallery div,
.pp_pic_holder.pp_default .pp_gallery ul,
.pp_pic_holder.pp_default .pp_gallery li,
.pp_pic_holder.pp_default .pp_gallery a {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
}
/* ============================================================
 * 直接物理隐藏 prettyPhoto 左右半边点击翻页热区，彻底根除竖线
 * ============================================================ */
.pp_pic_holder.pp_default .pp_hoverContainer a.pp_previous,
.pp_pic_holder.pp_default .pp_hoverContainer a.pp_next {
    display: none !important;
}
/* ══════════ 移动端 prettyPhoto 灯箱：微信式全屏看图 + 顶部信息卡 ══════════
 * 选择器关键：真实聊天页 /app/ 的 body class 是 `nvfx-shell-body llm-chat-active-page gp-mobile`，
 *       没有 gp-responsive！gp-mobile 由主题 custom.js:34 在视口≤767px 时加（桌面=gp-desktop）。
 *       故全部用 `body.gp-mobile .pp_*` (0,2,1) 才能命中真机；断点对齐 767px 与 gp-mobile 一致。
 *       （早先误用 body.gp-responsive 前缀，/app/ 无此 class → 移动端样式全失效，退回默认小窗+两个描述。）
 * 层级：聊天 UI z-index 高达 999999，prettyPhoto 默认 holder/overlay 仅 10001/10000 会被盖住
 *       → 背景透出(看起来像第二个描述) + 边缘点击被聊天栏拦截(仅中心可关)。故 overlay/holder 提到 1000000/1000001。
 * 背景：overlay opacity:1 + 纯黑 → 展开后完全看不到底层聊天内容（消除"第二个描述"）。
 * 关闭：pp_close 铺满全屏透明点击层(pointer-events:auto)，holder 已盖过聊天 UI → 点任意处即关。
 * 信息卡：pp_description 由 render.js changepicturecallback 注入，贴顶、手机宽、横向 flex-wrap。
 * 仅手机端生效，电脑版完全不受影响。 */
@media (max-width: 767px) {
  /* 纯黑不透明遮罩，盖过聊天 UI，杜绝背景透出 */
  body.gp-mobile .pp_overlay {
    position: fixed !important; inset: 0 !important;
    width: 100vw !important; height: 100vh !important;
    opacity: 1 !important; background: #000 !important; z-index: 1000000 !important;
  }
  body.gp-mobile .pp_pic_holder {
    position: fixed !important; inset: 0 !important;
    width: 100vw !important; height: 100vh !important;
    left: 0 !important; top: 0 !important; margin: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
    background: transparent !important; overflow: hidden !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
    z-index: 1000001 !important;
  }
  body.gp-mobile .pp_content {
    width: 100vw !important; height: 100vh !important;
    background: transparent !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
  }
  body.gp-mobile .pp_fade {
    position: relative !important; width: 100% !important; height: 100% !important;
    padding: 0 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
  }
  body.gp-mobile .pp_content_container, body.gp-mobile .pp_left, body.gp-mobile .pp_right,
  body.gp-mobile .pp_middle, body.gp-mobile .pp_top, body.gp-mobile .pp_bottom,
  body.gp-mobile .pp_topLeft, body.gp-mobile .pp_topRight,
  body.gp-mobile .pp_bottomLeft, body.gp-mobile .pp_bottomRight {
    width: 100% !important; height: 100% !important;
    padding: 0 !important; margin: 0 !important; background: transparent !important;
  }
  body.gp-mobile .pp_top, body.gp-mobile .pp_bottom, body.gp-mobile .ppt { display: none !important; }
  body.gp-mobile #pp_full_res {
    width: 100% !important; height: 100% !important; line-height: normal !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
  }
  body.gp-mobile #pp_full_res img {
    display: block !important; margin: 0 auto !important;
    max-width: 100vw !important; max-height: 100vh !important;
    width: auto !important; height: auto !important; object-fit: contain !important;
  }
  /* 图片 hover 导航层会拦截图片上的点击 → 屏蔽，让点击落到关闭层 */
  body.gp-mobile .pp_hoverContainer { display: none !important; pointer-events: none !important; }

  /* 顶部信息卡容器：绝对定位贴顶、脱离文档流（图片才能整屏居中）；不拦截点击 */
  body.gp-mobile .pp_details {
    position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important; margin: 0 !important; z-index: 20001 !important; pointer-events: none !important;
    opacity: 1; /* 主题无注入JS，信息卡默认可见 */
  }
  /* 信息卡本体：默认隐藏，由 JS 回调按当前图注入并显示；宽度=手机宽，顶部渐隐 scrim */
  body.gp-mobile .pp_description {
    display: block; margin: 0 !important; padding: 10px 12px 14px !important;
    color: #fff !important; font-size: 13px !important; line-height: 1.5 !important;
    width: 100% !important; box-sizing: border-box !important;
    background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 65%, transparent 100%) !important;
  }
  body.gp-mobile .nvl-pp-prompt {
    font-size: 13px !important; line-height: 1.5 !important; color: #fff !important;
    word-break: break-word !important; overflow-wrap: anywhere !important;
  }
  body.gp-mobile .nvl-pp-meta { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin-top: 8px !important; }
  body.gp-mobile .nvl-pp-chip {
    display: inline-flex !important; align-items: center !important; gap: 4px !important;
    padding: 3px 10px !important; border-radius: 999px !important;
    background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.1) !important;
    font-size: 11px !important; line-height: 1.4 !important; color: #e8eef5 !important; white-space: nowrap !important;
  }

  /* 微信式关闭：无可见按钮，点按任意处即关。pp_close 铺满全屏透明层，须 pointer-events:auto
     （pp_details 为 none 会继承，故此处显式恢复），复用原生关闭绑定。holder 已盖过聊天 UI。 */
  body.gp-mobile .pp_close {
    position: fixed !important; inset: 0 !important;
    width: 100vw !important; height: 100vh !important; margin: 0 !important;
    background: none !important; opacity: 0 !important; pointer-events: auto !important;
    text-indent: -10000px !important; z-index: 20000 !important; cursor: pointer !important; touch-action: manipulation !important;
  }
  body.gp-mobile .pp_expand, body.gp-mobile .pp_contract { display: none !important; }
  /* 多图导航置于关闭层之上且可点击；单图时 prettyPhoto 原生隐藏 pp_nav */
  body.gp-mobile .pp_nav { position: relative !important; z-index: 20002 !important; pointer-events: auto !important; }
}
