/* ============================================================
 * ir-center-sk-v2.css
 * 先惠技术 688155 投资者关系 v2 —— 官网壳（sk1.net.cn 红黑极简）样式
 * 视觉基因（采自官网首页 + 测试页截图/HTML，2026-09-09）：
 *   主色   #E60012（SK 标红 / hover / accent 竖线）
 *   辅色   #1A1A1A / #333（标题黑）
 *   文字   #666 / #999 / #3D3D3D
 *   边框线 #e5e5e5 / #EAEAEA   背景 #FFFFFF（内容区纯白）
 *   Footer #fafafa（官网同款浅灰；版权行 = 上交所标准备案文案）
 * 涨跌色：红涨 #D90000 / 绿跌 #009900（中国习惯）
 * ============================================================ */

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 14px; color: #333; background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol, li { list-style: none; }
img { border: 0; }
.w1200 { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 全局变量：JS 通过 getComputedStyle 读取，JS 内不写任何颜色 ---------- */
:root {
    /* 涨跌色（中国习惯：红涨绿跌） */
    --up: #F5222D;
    --down: #389E0D;
    --flat: #1A1A1A;
    /* 分时行情图色板（键名与 data.js 的 chartPalette() 一一对应） */
    --chart-bg: #FFFFFF;                        /* 图表背景 */
    --chart-line: #1051B5;                      /* 分时价格线（IR2 techBlue 蓝） */
    --chart-bar: rgba(245,34,45,.45);           /* 分时量能柱 */
    --chart-axis-green: #6ca584;                /* 价格轴标签 / x 轴线（照 IR2 shMarket.js） */
    --chart-grid: #e5e5e5;                      /* 网格线、坐标轴线 */
    --chart-axis-label: #666666;                /* 坐标轴刻度文字 */
    --chart-guide: #999999;                     /* 昨收虚线参考线 */
    --chart-pointer-line: #bbbbbb;              /* 十字准星线 */
    --chart-pointer-label-bg: #999999;          /* 十字准星标签底色 */
    --chart-tooltip-bg: rgba(255,255,255,.97);
    --chart-tooltip-border: #d5d5d5;
    --chart-tooltip-text: #333333;
    --chart-tooltip-font: 11px;
    --chart-tooltip-line-height: 15px;
}

/* ---------- up / down / flat：涨跌色只走 CSS ---------- */
.up,   .up *   { color: var(--up) !important; }
.down, .down * { color: var(--down) !important; }
.flat, .flat * { color: var(--flat) !important; }

/* 顶部 Header/Logo/语言条：按用户要求已整体删除 */



/* ============================================================
 * 页首标题（红 accent 竖线 + 中文大标题）
 * ============================================================ */
.page-hero { background: #FFFFFF; padding: 26px 0 22px; }
.hero-title {
    font-size: 30px; font-weight: 700; color: #1A1A1A; letter-spacing: 3px;
    padding-left: 16px; border-left: 5px solid #E60012; line-height: 1.2;
}

/* ============================================================
 * IR 模块导航（官网导航样式：hover/active 红字 + 红下划线）
 * ============================================================ */
.ir-nav {
    position: sticky; top: 0; z-index: 150;
    background: #FFFFFF; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #EAEAEA;
}
.ir-nav-inner { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ir-nav-inner::-webkit-scrollbar { display: none; }
.ir-nav-inner { scrollbar-width: none; }
.ir-nav-item {
    position: relative; display: block; flex: 0 0 auto; padding: 13px 13px;
    font-size: 14px; color: #333; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: color .15s;
}
.ir-nav-item:hover { color: #E60012; }
.ir-nav-item.active { color: #E60012; font-weight: 600; border-bottom-color: #E60012; }

/* ============================================================
 * 内容区（纯白背景）
 * ============================================================ */
.ir-main { padding: 30px 20px 60px; }
.ir-sec { padding: 34px 0 6px; scroll-margin-top: 64px; }
.ir-sec + .ir-sec { border-top: 1px solid #F0F0F0; }

.sec-title {
    display: flex; align-items: baseline; margin-bottom: 20px;
    font-size: 22px; font-weight: 700; color: #1A1A1A; letter-spacing: 1px;
}
.sec-bar { width: 4px; height: 20px; background: #E60012; margin-right: 10px; align-self: center; }
.sec-unit { margin-left: auto; font-size: 13px; font-weight: 400; color: #999; }
.sub-title { font-size: 16px; font-weight: 700; color: #1A1A1A; margin: 18px 0 10px; padding-left: 10px; border-left: 3px solid #E60012; }
.data-tip, .interact-tip { font-size: 12px; color: #B0B0B0; margin-top: 12px; line-height: 1.7; }
.interact-tip a { color: #E60012; }
.interact-tip a:hover { text-decoration: underline; }

/* 占位符 */
.ph { color: #B9B9B9; }

/* ============================================================
 * 01 沪市行情（官方模板式：行情字段在左 / 分时图在右）
 * ============================================================ */
.quote-panel { display: flex; border: 1px solid #EAEAEA; }
.quote-left { flex: 0 0 370px; border-right: 1px solid #F0F0F0; padding: 22px 26px 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.ql-name { white-space: nowrap; }
.q-name { font-size: 26px; font-weight: 700; color: #1A1A1A; }
.q-code { font-size: 15px; color: #888; font-weight: 400; margin-left: 8px; font-family: "Times New Roman", serif; }
.ql-price { margin: 10px 0 2px; white-space: nowrap; }
.q-last { font-size: 40px; font-weight: 700; line-height: 1.1; font-family: "Times New Roman", SimSun, serif; }
.q-unit { font-size: 13px; color: #999; margin-left: 6px; }
.ql-chg { display: flex; align-items: baseline; margin-bottom: 18px; white-space: nowrap; }
.q-chg { font-weight: 700; font-size: 17px; }
.q-pct { font-size: 15px; margin-left: 12px; }
.q-kv { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 13px; border-top: 1px solid #F4F4F4; padding-top: 16px; margin-top: 2px; }
.q-kv li { display: flex; align-items: baseline; justify-content: space-between; white-space: nowrap; }
.q-kv .k { font-size: 13px; color: #999; }
.q-kv .v { font-size: 16px; color: #262626; font-weight: 600; font-family: "Times New Roman", SimSun, serif; }
.quote-chart { flex: 1; min-width: 0; padding: 16px 18px 8px 18px; display: flex; }
.kline-box { flex: 1; width: 100%; min-height: 300px; background: #FFFFFF; }
.kline-box > div { width: 100% !important; height: 100% !important; }

/* ============================================================
 * 02 公司简介
 * ============================================================ */
.profile-panel { border: 1px solid #EAEAEA; }
.profile-brief { padding: 18px 22px; background: #FFFFFF; border-bottom: 1px solid #F0F0F0; }
.profile-brief h3 { font-size: 16px; color: #1A1A1A; margin-bottom: 8px; }
.profile-brief p { font-size: 13px; line-height: 1.9; color: #666; text-align: justify; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.profile-grid .pf-item { padding: 13px 22px; border-bottom: 1px solid #F5F5F5; border-right: 1px solid #F5F5F5; display: flex; }
.profile-grid .pf-item:nth-child(3n) { border-right: none; }
.profile-grid .pf-item:last-child { border-right: none; }
.pf-k { flex: 0 0 132px; color: #999; font-size: 13px; }
.pf-v { color: #333; font-size: 13px; line-height: 1.6; }

/* ============================================================
 * 03 沪市公告 / 10 路演 / 05 股本 / 06 利润：通用表格
 * ============================================================ */
.tab-box { margin-top: 4px; }
.tab-head { display: flex; border-bottom: 1px solid #E60012; margin-bottom: 0; }
.tab-btn {
    background: none; border: 1px solid transparent; border-bottom: none;
    padding: 11px 26px; font-size: 15px; color: #666; cursor: pointer;
    font-family: inherit; letter-spacing: 1px; transition: all .15s;
}
.tab-btn:hover { color: #E60012; }
.tab-btn.active {
    color: #FFFFFF; background: #E60012; font-weight: 600;
    border-radius: 3px 3px 0 0;
}
.tab-pane { display: none; padding-top: 0; }
.tab-pane.active { display: block; }

.ir-table { width: 100%; border-collapse: collapse; background: #FFFFFF; table-layout: fixed; }
.ir-table th, .ir-table td { border-bottom: 1px solid #F0F0F0; padding: 12px 14px; text-align: left; font-size: 13.5px; }
.ir-table thead th { background: #FAFAFA; color: #555; font-weight: 600; font-size: 13px; letter-spacing: 1px; border-bottom: 1px solid #EAEAEA; }
.ir-table tbody tr:hover td { background: #FDFDFD; }
.ir-table tbody tr:last-child td { border-bottom: none; }

.ir-table .c-date { width: 110px; color: #999; font-family: "Times New Roman", SimSun, serif; }
.ir-table .c-cat { width: 90px; color: #888; }
.ir-table .c-act { width: 70px; text-align: center; }
.ir-table .c-title a { color: #1A1A1A; }
.ir-table .c-title a:hover { color: #E60012; text-decoration: underline; }
.ir-table .c-num { font-family: "Times New Roman", SimSun, serif; }
.capital-table td:first-child { width: 46%; color: #555; }
.capital-table td:last-child { font-family: "Times New Roman", SimSun, serif; font-weight: 600; color: #1A1A1A; }

.pdf-link {
    display: inline-block; padding: 3px 12px; font-size: 12px; color: #E60012;
    border: 1px solid #E60012; border-radius: 3px; line-height: 1.6;
}
.pdf-link:hover { background: #E60012; color: #FFFFFF; }

/* 路演表格：开始日期/活动类型加宽（仅本表） */
.roadshow-tbl .c-date { width: 160px; }
.roadshow-tbl .c-cat { width: 160px; }
/* 列表空状态 */
.doc-list .list-empty { justify-content: center; color: #B0B0B0; font-size: 14px; letter-spacing: 1px; padding: 26px 0; }
.doc-list .list-empty:hover { background: #FFFFFF; }

/* 分页（复刻 laypage 交互，类名全部走 CSS） */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; padding: 18px 0 4px; }
.pager a {
    display: inline-block; min-width: 30px; height: 30px; line-height: 28px; text-align: center;
    font-size: 13px; color: #666; border: 1px solid #E5E5E5; margin-left: 6px; padding: 0 6px;
    background: #FFFFFF; transition: all .12s;
}
.pager a:hover { border-color: #E60012; color: #E60012; }
.pager a.current { background: #E60012; border-color: #E60012; color: #FFFFFF; cursor: default; }
.pager a.disabled { color: #CCCCCC; cursor: not-allowed; }
.pager a.disabled:hover { border-color: #E5E5E5; color: #CCCCCC; }
.pager .pg-info { margin-right: auto; font-size: 13px; color: #999; }
.pager .pg-info em { font-style: normal; color: #E60012; }

/* ============================================================
 * 04 互动交流（一问一答卡片）
 * ============================================================ */
.interact-list { margin-top: 4px; }
.ia-item { border: 1px solid #EAEAEA; border-left: 4px solid #E60012; margin-bottom: 18px; }
.ia-q { padding: 16px 20px 12px; border-bottom: 1px dashed #EEEEEE; }
.ia-q-head { display: flex; align-items: center; margin-bottom: 8px; }
.ia-tag { display: inline-block; font-size: 12px; color: #E60012; background: rgba(230, 0, 18, .06); padding: 2px 10px; border-radius: 2px; }
.ia-meta { margin-left: 10px; font-size: 12px; color: #B5B5B5; }
.ia-q-text { font-size: 14px; color: #1A1A1A; line-height: 1.85; }
.ia-a { padding: 14px 20px 18px; background: #FFFFFF; }
.ia-a-head { margin-bottom: 8px; }
.ia-tag.reply { color: #333; background: #F4F4F4; }
.ia-a-text { font-size: 13px; color: #555; line-height: 1.9; text-align: justify; }

/* ============================================================
 * 07 公司高管（名片卡）
 * ============================================================ */
.manager-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 4px; }
.mgr-card { border: 1px solid #EAEAEA; padding: 18px 20px; transition: box-shadow .15s, border-color .15s; background: #FFFFFF; }
.mgr-card:hover { border-color: #E60012; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.mgr-name { font-size: 18px; font-weight: 700; color: #1A1A1A; }
.mgr-title { font-size: 12.5px; color: #E60012; margin: 6px 0 10px; letter-spacing: .5px; }
.mgr-bio { font-size: 12.5px; color: #777; line-height: 1.85; text-align: justify; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
 * 08 公司章程 / 11 上市公司发布（文档列表）
 * ============================================================ */
.doc-list { margin-top: 4px; }
.doc-list li {
    display: flex; align-items: center; padding: 13px 16px;
    border-bottom: 1px solid #F0F0F0; font-size: 14px; transition: background .12s;
}
.doc-list li:hover { background: #FDFDFD; }
.doc-list li:first-child { border-top: 1px solid #EAEAEA; }
.doc-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1A1A1A; }
.doc-title:hover { color: #E60012; text-decoration: underline; }
.rules-list .doc-title { color: #333; }
.rules-list .doc-title:hover { color: #E60012; text-decoration: none; }
.doc-date { flex: 0 0 96px; color: #999; font-family: "Times New Roman", SimSun, serif; font-size: 13px; text-align: right; margin-left: 16px; }
.doc-state { flex: 0 0 58px; text-align: center; margin-right: 12px; font-size: 12px; }
.doc-state .st-now { display: inline-block; color: #FFFFFF; background: #E60012; padding: 2px 8px; border-radius: 2px; font-size: 12px; }
.doc-state .st-old { display: inline-block; color: #999; background: #F4F4F4; padding: 2px 8px; border-radius: 2px; font-size: 12px; }
.pub-list li { cursor: default; }


/* ============================================================
 * mescroll.js v1.4.1 组件样式（仅本页「11 上市公司发布」使用）
 *   取自官方 mescroll.min.css（MIT，2019-2-1 wenju，http://www.mescroll.com）
 *   只搬运组件跑起来必需的规则：滚动容器 / 上拉状态行 / 空态 / PC 滚动条。
 *   刻意剔除了原文件里 html,body{height:100%} 这类会改动整页布局的全局声明，
 *   也剔除了本页用不到的（下拉刷新 / 回到顶部 / 图片懒加载）部分。
 * ============================================================ */
.mescroll { width: 100%; height: 100%; overflow-y: auto; }
.mescroll-hardware { -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mescroll-upwarp { min-height: 30px; padding: 15px 0; text-align: center; visibility: hidden; }
.mescroll-upwarp .upwarp-tip,
.mescroll-upwarp .upwarp-nodata {
    display: inline-block; font-size: 12px; color: gray; vertical-align: middle;
}
.mescroll-upwarp .upwarp-tip { margin-left: 8px; }
.mescroll-upwarp .upwarp-progress {
    display: inline-block; width: 16px; height: 16px; border-radius: 50%;
    border: 1px solid gray; border-bottom-color: transparent; vertical-align: middle;
}
.mescroll-rotate { -webkit-animation: mescrollRotate .6s linear infinite; animation: mescrollRotate .6s linear infinite; }
@-webkit-keyframes mescrollRotate { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } }
@keyframes mescrollRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.mescroll-empty { width: 100%; padding-top: 20px; text-align: center; }
.mescroll-empty .empty-tip { margin-top: 6px; font-size: 14px; color: gray; }
.mescroll-bar::-webkit-scrollbar-track { background-color: transparent; }
.mescroll-bar::-webkit-scrollbar { width: 6px; }
.mescroll-bar::-webkit-scrollbar-thumb { border-radius: 6px; background-color: #ccc; }
.mescroll-bar::-webkit-scrollbar-thumb:hover { background-color: #aaa; }

/* ============================================================
 * 11 上市公司发布（mescroll v1.4.1 上拉加载列表）
 *   接口没有分页信息 → 不用分页组件；逐条追加渲染，不用表格。
 *   mescroll 是「滚动容器」框架：#publish-scroll 是滚动区，
 *   滚到底部（距底 80px）自动请求下一批 → 所以它必须有一个受限的可视高度。
 *   官方模板（public/kcb/js/new/companyPublish.js）同样给 400px，此处保持一致；
 *   用 max-height 而非固定 height，是为了「无数据 / 条数很少」时容器能自然收窄，
 *   不会在页面上留一大块空白。
 * ============================================================ */
.pub-scroll.mescroll {
    height: auto; max-height: 400px;
    overflow-x: hidden; overflow-y: auto;
    margin-top: 4px;
}
.pub-feed .pub-item {
    display: flex; align-items: center; padding: 13px 16px;
    border-bottom: 1px solid #F0F0F0; font-size: 14px; transition: background .12s;
}
.pub-feed .pub-item:first-child { border-top: 1px solid #EAEAEA; }
.pub-feed .pub-item:hover { background: #FDFDFD; }
.pub-feed .pub-mark { flex: 0 0 6px; width: 6px; height: 6px; margin-right: 12px; background: #E60012; }
.pub-feed .pub-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1A1A1A; }
.pub-feed a.pub-title:hover { color: #E60012; text-decoration: underline; }
.pub-feed .pub-date {
    flex: 0 0 132px; margin-left: 16px; text-align: right; color: #999;
    font-family: "Times New Roman", SimSun, serif; font-size: 13px;
}
/* 空态：mescroll 的 empty 选项生成 .mescroll-empty，样式与本页统一（单行） */
.pub-feed .mescroll-empty { padding: 26px 0; }
.pub-feed .mescroll-empty .empty-tip { margin: 0; color: #B0B0B0; font-size: 14px; letter-spacing: 1px; }
/* 上拉状态行（mescroll 自动插入 #publish-scroll 末尾）：加载中… / 没有更多了 */
.pub-scroll .mescroll-upwarp .upwarp-progress {
    width: 12px; height: 12px; border: 2px solid #F4D2D2; border-top-color: #E60012;
}
.pub-scroll .mescroll-upwarp .upwarp-tip,
.pub-scroll .mescroll-upwarp .upwarp-nodata { font-size: 13px; color: #999; }

/* ============================================================
 * 09 治理结构（三会一层卡片）
 * ============================================================ */
.gov-intro { font-size: 13px; line-height: 2; color: #555; text-align: justify; background: #FFFFFF; border: 1px solid #F0F0F0; padding: 14px 18px; margin-bottom: 18px; }
.gov-intro em { font-style: normal; color: #E60012; font-weight: 600; }
.gov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gov-card { border: 1px solid #EAEAEA; border-top: 3px solid #E60012; padding: 18px 20px; background: #FFFFFF; }
.gov-name { font-size: 17px; font-weight: 700; color: #1A1A1A; display: flex; align-items: baseline; }
.gov-duty { font-size: 12.5px; color: #888; line-height: 1.8; margin: 8px 0 12px; text-align: justify; }
.gov-members { border-top: 1px dashed #ECECEC; padding-top: 12px; }
.gov-members .gm-label { font-size: 12px; color: #B0B0B0; margin-bottom: 8px; }
.gov-chip {
    display: inline-flex; align-items: center; margin: 0 8px 8px 0; padding: 4px 12px;
    border: 1px solid #EDEDED; font-size: 13px; color: #333; background: #FBFBFB;
}
.gov-chip span { color: #333; font-size: 13px; }
.gov-chip .ph { color: #B9B9B9; font-size: 12px; }

/* ============================================================
 * 12 联系方式（严格 4 字段）
 * ============================================================ */
.contact-list { border: 1px solid #EAEAEA; margin-top: 4px; }
.contact-item { display: flex; align-items: flex-start; }
.contact-item + .contact-item { border-top: 1px solid #F0F0F0; }
.contact-key { flex: 0 0 160px; padding: 18px 22px; background: #FAFAFA; color: #333; font-weight: 600; font-size: 14px; letter-spacing: 2px; border-right: 1px solid #F0F0F0; }
.contact-val { flex: 1; padding: 18px 22px; font-size: 14px; color: #333; min-height: 56px; line-height: 1.7; }

/* ============================================================
 * Footer（官网同款：浅灰单列居中）
 * ============================================================ */
.site-footer { background: #FAFAFA; border-top: 1px solid #EDEDED; padding: 26px 0 22px; text-align: center; }
.foot-copy { font-size: 13px; color: #888; line-height: 1.9; }
.foot-links { margin-left: 8px; }
.foot-links a { color: #888; }
.foot-links a:hover { color: #E60012; }
.foot-sup { font-size: 12px; color: #B5B5B5; margin-top: 6px; letter-spacing: .5px; }

/* 返回顶部 */
.gotop {
    position: fixed; right: 28px; bottom: 42px; z-index: 300;
    width: 42px; height: 42px; line-height: 40px; text-align: center;
    font-size: 20px; color: #FFFFFF; background: #E60012; border-radius: 4px;
    opacity: 0; visibility: hidden; transition: all .2s; box-shadow: 0 3px 10px rgba(230, 0, 18, .3);
}
.gotop.show { opacity: 1; visibility: visible; }
.gotop:hover { background: #C50010; }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 1100px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid .pf-item:nth-child(3n) { border-right: 1px solid #F5F5F5; }
    .profile-grid .pf-item:nth-child(2n) { border-right: none; }
    .manager-grid, .gov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ir-nav-item { padding: 10px 11px; font-size: 13px; }
    .ir-main { padding-top: 18px; }
    .sec-title { font-size: 19px; }
    .profile-grid, .manager-grid, .gov-grid { grid-template-columns: 1fr; }
    .quote-panel { flex-direction: column; }
    .quote-left { flex: auto; width: 100%; border-right: none; border-bottom: 1px solid #F0F0F0; }
    .kline-box { min-height: 0; height: 340px; }
    .doc-list li { flex-wrap: wrap; }
    .doc-title { white-space: normal; }
    .doc-date { flex: auto; text-align: left; margin-left: 0; margin-top: 4px; }
    .contact-key { flex-basis: 96px; padding: 14px 12px; }
    .contact-val { padding: 14px 14px; }
    .pager { justify-content: center; }
    .pager .pg-info { flex-basis: 100%; margin-right: 0; text-align: center; margin-bottom: 8px; }
}
