/* ============================================================
   内容页统一样式（content.css）v4
   适用：注册 IPO / 新股上会 / 新股申购 / 企业详情等单企业内容页
   依赖 home.css + list.css 中已定义的设计 token 与组件：
   --c-card / --c-line / --c-blue / --c-blue-dark / --c-blue-soft
   --c-text / --c-text-2 / --c-text-3 / --c-chip / --c-navy / --c-amber
   --radius / --shadow
   以及 list.css 中已定义的组件：.location-bar / .data-card / .data-table
   / .status.s-* / .mkt / .table-wrap / .pagination / .hot-box / .hot-list
   / .cal-tools / .chip / .chip-row
   ============================================================ */

/* 隐藏 TV/TradingView 水印 logo */
#tv-attr-logo {
    display: none !important;
}

/* ============================================================
   ① 企业身份区（全宽通栏暗色，与首页 .hero 同款结构）
   .profile-card 是独立全宽 div（不在 section 里），
   内部用 .wrap 约束最大宽度，与首页 .hero > .wrap 同级

   内部垂直节奏（桌面端）：
     通栏 padding:  28px 0
     loc-row:       面包屑 + 搜索框（暗色版），border-bottom 分隔
     profile-top:   身份区（名称 + 徽章），border-bottom 分隔
     profile-meta:  6 格 meta，margin-bottom 20px
     cta-row:       按钮组（最后，无底部边距）
   ============================================================ */
.profile-card {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 28px 0;
    position: relative;
    overflow: hidden;
    border-left: none;
}
/* 同款光晕（与 .hero::before 完全一致） */
.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, .12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 159, 255, .18) 0%, transparent 45%);
    pointer-events: none;
}
.profile-card .wrap { position: relative; z-index: 1; }

/* ---- 第 1 块：面包屑 + 搜索框（暗色版） ---- */
.profile-card .loc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 18px;
}
/* 覆盖 list.css 中 .location-bar 的白底 + 边框 + padding，融入暗色通栏 */
.profile-card .loc-row .location-bar {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 13px;
    color: rgba(148,163,184,.7);
}
.profile-card .loc-row .location-bar a {
    color: rgba(255,255,255,.65);
    word-break: break-all;
}
.profile-card .loc-row .location-bar a:hover {
    color: #fff;
}
/* 迷你搜索框（暗色版），桌面端固定在右侧 */
.profile-card .mini-search {
    display: flex;
    flex-shrink: 0;
    width: 220px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    transition: border-color .2s;
}
.profile-card .mini-search:focus-within {
    border-color: var(--c-blue);
}
.profile-card .mini-search input {
    flex: 1;
    height: 34px;
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: 13px;
    background: transparent;
    color: #fff;
    min-width: 0;
}
.profile-card .mini-search input::placeholder {
    color: rgba(148,163,184,.5);
}
.profile-card .mini-search button {
    width: 44px;
    height: 34px;
    background: var(--c-blue);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.profile-card .mini-search button:hover {
    background: var(--c-blue-dark);
}

.profile-card .mini-search.loc-search {
    width: 220px;
    height: 34px;
}
.profile-card .mini-search.loc-search input {
    height: 34px;
}
.profile-card .mini-search.loc-search button {
    height: 34px;
    width: 44px;
}
.profile-card .loc-row .location-bar {
    min-width: 0;
}

/* ---- 第 2 块：名称区 + 徽章区 ---- */
.profile-card .profile-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 20px;
}
.profile-card .profile-name {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: .5px;
    margin: 0;
}
/* 名称内的股票代码（如「688835.SH」）：小号等宽灰字 */
.profile-card .profile-code {
    font-size: 16px;
    font-weight: 500;
    font-family: Consolas, Monaco, monospace;
    color: rgba(148,163,184,.8);
    letter-spacing: 0;
    margin-left: 8px;
}
/* 4 格 meta 布局（文章页用 4 格而非 6 格） */
.profile-card .profile-meta-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-card .profile-sub {
    font-size: 13px;
    color: rgba(148,163,184,.8);
    margin-top: 4px;
    line-height: 1.5;
}
.profile-card .profile-badges {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
/* 小徽章（.badge）：交易所/类型标签 */
.profile-card .badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: .5px;
}
.profile-card .badge.badge-ex    { background: rgba(30,159,255,.2); color: var(--c-blue); border: 1px solid rgba(30,159,255,.35); }
.profile-card .badge.badge-live  { background: rgba(21,128,61,.2); color: #15803d; border: 1px solid rgba(21,128,61,.35); }
/* 审核通过徽章（iposh_content.html 等）：琥珀色 */
.profile-card .badge.badge-pass  { background: rgba(245,158,11,.2); color: var(--c-amber, #f59e0b); border: 1px solid rgba(245,158,11,.35); }
/* 交易所标签：暗底白字 */
.profile-card .profile-badges .mkt {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600;
}
/* 大号状态徽章：15px 圆角胶囊 */
.profile-card .status-lg {
    font-size: 15px;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ---- 第 2 块：一行 6 格 meta ---- */
.profile-card .profile-meta {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 20px;
}
/* 内容页模板使用 .meta（非 .meta-item）作为格子包裹器，两者等价 */
.profile-card .meta,
.profile-card .meta-item {
    padding: 12px 14px;
    border-right: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}
.profile-card .meta:last-child,
.profile-card .meta-item:last-child { border-right: none; }
.profile-card .meta-label {
    font-size: 11px;
    color: rgba(148,163,184,.7);
    margin-bottom: 4px;
    letter-spacing: .5px;
}
.profile-card .meta-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
/* meta-value 内嵌状态徽章：小号 */
.profile-card .meta-value .status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ---- 第 3 块：CTA 按钮组（最后，无底部边距） ---- */
.profile-card .cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
    color: #fff;
}
.cta-btn:hover {
    border-color: var(--c-blue);
    color: var(--c-blue);
    background: rgba(30,159,255,.15);
}
.cta-btn.cta-primary {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
}
.cta-btn.cta-primary:hover {
    background: var(--c-blue-dark);
    color: #fff;
}
.cta-btn .cta-icon { font-size: 16px; }

/* ============================================================
   ③ 通用卡（上市进程 / 发行基本信息 / 发行概况 / 募资用途 /
      相关资讯 / 同行业企业）
   每个区域使用 .card 容器（白底圆角阴影，overflow 裁剪）
   区域标题条 .card-header：深蓝底白字（与首页 .hot-box h3 同款）
   ============================================================ */
.card {
    background: var(--c-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 18px;
}
.card .card-header {
    background: var(--c-navy);
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* 标题右侧的补充说明（如"共 30 家 · 按更新时间"） */
.card .card-header .dim {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,.6);
    margin-left: auto;
}
/* 卡片内容区 */
.card .card-body { padding: 18px; }

/* ============================================================
   ③ 上市进程（横向时间线）
   桌面端 5 列横向，超出 max-height 滚动；窄屏收为单列纵向。
   设计目标：再多时间节点也只占一个固定高度的横向滚动条，
   不撑开整页。
   ============================================================ */
.timeline {
    position: relative;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.timeline-item {
    position: relative;
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: 12px 14px;
    flex: 0 0 auto;
    min-width: 150px;
}
/* 横向连接线：从左侧圆点延伸到卡片右边缘 */
.timeline-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 18px;
    width: 14px;
    height: 2px;
    background: var(--c-line);
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-text-3);
    border: 2px solid var(--c-card);
    z-index: 1;
}
/* 最新一条（第 1 条）：蓝点 + 蓝边 + 浅蓝底 */
.timeline-item.is-latest {
    border-color: var(--c-blue);
    background: var(--c-blue-soft);
}
.timeline-item.is-latest::after {
    width: 10px; height: 10px; top: 13px;
    background: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(30,159,255,.25);
}
.timeline-item.is-latest .tl-date { color: var(--c-blue); }
.timeline-item.is-latest .tl-label { font-weight: 700; color: var(--c-text); }
.timeline-item .tl-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text-3);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.timeline-item .tl-label {
    font-size: 14px;
    color: var(--c-text-2);
    margin-top: 4px;
    line-height: 1.4;
}
.timeline-item .tl-label .status {
    margin-left: 6px;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
}

/* ============================================================
   ④ 数据字段行式定义列表（发行基本信息 / 发行概况）
   桌面端 2 列，每列内为 label 左 / value 右 的行式排列
   ============================================================ */
.info-rows {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 32px;
}
.info-col {
    display: flex;
    flex-direction: column;
}
/* 单个字段行 */
.ir-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--c-line);
}
.info-rows > .ir-item:last-child { border-bottom: none; }
.ir-label {
    flex-shrink: 0;
    width: 110px;
    font-size: 12px;
    color: var(--c-text-3);
    letter-spacing: .5px;
}
.ir-value {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.5;
    word-break: break-all;
}
.ir-value strong { font-weight: 700; }
/* 占满整行（如企业简介、商业规划、发展进程内容区） */
.ir-item.ir-full {
    grid-column: 1 / -1;
    border-bottom: none;
    padding-bottom: 0;
}
/* 嵌套状态徽章 */
.ir-value .status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}
/* 嵌套 mkt 标签 */
.ir-value .mkt {
    font-size: 12px;
    padding: 2px 9px;
    border-radius: 4px;
}

/* ============================================================
   ④-bis 数据字段网格（基本信息 / 申购信息 / 首日表现）
   桌面端 4 列 × N 行，每格：label 12px 浅灰 + value 14px 粗体
   数值等宽 monospace，涨跌色 var(--c-up) / var(--c-down)
   移动端 2 列，超窄 1 列
   ============================================================ */
.kv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.kv-cell {
    padding: 12px 14px;
    border-right: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.kv-cell:nth-child(4n) { border-right: none; }
.kv-cell:nth-last-child(-n+4) { border-bottom: none; }
.kv-cell .kv-label {
    font-size: 12px;
    color: var(--c-text-3);
    letter-spacing: .3px;
    margin-bottom: 4px;
}
.kv-cell .kv-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}
/* 未公布 / 缺失值：浅灰破折号 */
.kv-cell .kv-dash {
    color: var(--c-text-3);
    font-weight: 400;
}
/* 涨（红）/ 跌（绿） */
.kv-cell .kv-up { color: var(--c-red, #f73859); }
.kv-cell .kv-down { color: #15803d; }
/* meta-value 内的长文本截断（单行省略 + title 提示） */
.profile-card .meta-ellipsis {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ============================================================
   ⑤ 募资用途
   桌面端用 .table-wrap + .fund-table 表格（占比带进度条）；
   移动端切换为 .fund-list 纵向列表（项目名称 + 金额 + 占比条
   三行结构，不会横向溢出，不会拥挤混乱）。
   ============================================================ */

/* ---- 桌面端表格 ---- */
.fund-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.fund-table thead th {
    background: var(--c-chip);
    color: var(--c-text-2);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .5px;
}
.fund-table thead th.fund-th-amt,
.fund-table thead th.fund-th-pct { text-align: right; }
.fund-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text-2);
    vertical-align: middle;
}
.fund-table tbody tr:last-child td { border-bottom: none; }
.fund-table tbody tr:hover td { background: #fafbfd; }
/* 金额列：等宽数字右对齐，与占比列垂直居中 */
.fund-table .fund-amt {
    text-align: right;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    white-space: nowrap;
}
/* 占比列：进度条 + 数字，flex 布局保证垂直居中 */
.fund-table .fund-pct-cell {
    text-align: right;
    white-space: nowrap;
    min-width: 140px;
}
.fund-table .fund-pct-cell .pct-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.fund-table .fund-bar {
    height: 4px;
    background: var(--c-chip);
    border-radius: 2px;
    overflow: hidden;
    min-width: 60px;
    width: 80px;
}
.fund-table .fund-bar span {
    display: block;
    height: 100%;
    background: var(--c-blue);
    border-radius: 2px;
    transition: width .4s ease;
}
.fund-table .fund-pct-num {
    display: inline-block;
    min-width: 34px;
    text-align: right;
    font-size: 12px;
    color: var(--c-text-2);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}
/* 总计行：浅蓝底 + 加粗 */
.fund-table tr.fund-total td {
    font-weight: 700;
    background: var(--c-blue-soft);
}
.fund-table tr.fund-total .fund-bar span {
    background: var(--c-blue-dark);
}
.fund-table tr.fund-total .fund-amt { color: var(--c-blue-dark); }

/* ---- 移动端列表（≤768px 显示） ---- */
.fund-list {
    display: none;
}
.fund-list-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
}
.fund-list-item:last-child { border-bottom: none; }
.fund-list-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}
.fund-list-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.5;
}
.fund-list-amt {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    white-space: nowrap;
}
.fund-list-pct-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fund-list-pct {
    font-size: 12px;
    color: var(--c-text-2);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    min-width: 34px;
    text-align: right;
}

/* ---- 末尾 4 行：实际募资 / 超额募资 / 占比（弱提示） ---- */
.fl-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--c-line);
}
.fl-note-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 0 12px;
    border-right: 1px solid var(--c-line);
}
.fl-note-item:first-child { padding-left: 4px; }
.fl-note-item:last-child { border-right: none; padding-right: 4px; }
.fl-note-item .fl-name {
    font-size: 12px;
    color: var(--c-text-3);
    letter-spacing: .3px;
}
.fl-note-item .fl-amt {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text-2);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   ⑥ 相关资讯卡片（2 列卡片流）
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
/* .news-list 容器：纵向列表（模板使用 <div class="news-list"> 包裹 .news-item） */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-item {
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
}
.news-item:hover {
    border-color: var(--c-blue);
    box-shadow: 0 4px 16px rgba(30,159,255,.18);
}
.news-item .news-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item .news-title a {
    color: inherit;
    text-decoration: none;
}
.news-item .news-title a:hover {
    color: var(--c-blue);
    text-decoration: underline;
}
.news-item .news-excerpt {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item .news-meta {
    font-size: 12px;
    color: var(--c-text-3);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   ⑦ 同行业企业链接（grid 均匀排列）
   ============================================================ */
.peer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.peer-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-2);
    text-decoration: none;
    transition: all .2s;
    text-align: center;
}
.peer-grid a:hover {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
    box-shadow: 0 4px 12px rgba(30,159,255,.3);
}

/* ============================================================
   ⑧ 响应式
   ============================================================ */
@media (max-width: 768px) {
    .profile-card { padding: 20px 0; }
    .profile-card .profile-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 14px;
        margin-bottom: 16px;
    }
    .profile-card .profile-name { font-size: 22px; }
    .profile-card .profile-badges { margin-left: 0; }
    .profile-card .status-lg { font-size: 13px; padding: 4px 14px; }
    /* meta 6 列 → 3 列，统一间距 */
    .profile-card .profile-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-bottom: 16px;
    }
    .profile-card .profile-meta-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .profile-card .meta,
    .profile-card .meta-item {
        padding: 8px 10px;
        border-right: 1px solid rgba(255,255,255,.06);
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .profile-card .meta:nth-child(3n),
    .profile-card .meta-item:nth-child(3n) { border-right: none; }
    .profile-card .meta:nth-last-child(-n+3),
    .profile-card .meta-item:nth-last-child(-n+3) { border-bottom: none; }
    .profile-card .meta-value { font-size: 14px; }

    .cta-btn { padding: 7px 14px; font-size: 13px; }

    /* 定位条 + 搜索框：纵向堆叠，搜索框独立一行 */
    .profile-card .loc-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 14px;
    }
    .profile-card .loc-row .location-bar {
        flex: none;
    }
    .profile-card .mini-search {
        width: 100%;
        margin-left: 0;
    }

    .card .card-header { padding: 12px 14px; font-size: 15px; }
    .card .card-body { padding: 14px 12px; }

    /* 操作列（移动端隐藏，避免挤压） */
    .data-table .th-op { display: none; }
    .data-table td[data-label="操作"] { display: none; }

    /* 时间线：桌面单行横向滚动 → 单行横向滚动 */
    .timeline {
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 8px 2px 12px;
    }
    .timeline-item {
        min-width: 130px;
        padding: 10px 12px;
    }
    .timeline-item::after { top: 12px; }

    /* 行式定义列表 2 列 → 1 列 */
    .info-rows {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .ir-label { width: 84px; font-size: 11px; }
    .ir-value { font-size: 13px; }

    /* 数据字段网格 4 列 → 2 列 */
    .kv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kv-cell:nth-child(4n) { border-right: 1px solid var(--c-line); }
    .kv-cell:nth-child(2n) { border-right: none; }
    .kv-cell:nth-last-child(-n+2) { border-bottom: none; }

    /* 募资用途：桌面表格隐藏，移动端列表显示 */
    .table-wrap .fund-table { display: none; }
    .fund-list { display: block; }

    /* 末尾 3 行提示：3 列 → 1 列纵向 */
    .fl-note {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .fl-note-item {
        padding: 8px 0;
        border-right: none;
        border-bottom: 1px solid var(--c-line);
    }
    .fl-note-item:first-child { padding-left: 0; }
    .fl-note-item:last-child { padding-right: 0; border-bottom: none; }

    /* 资讯 2 列 → 1 列 */
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    /* 同行业 5 列 → 3 列 */
    .peer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .peer-grid a { font-size: 12px; padding: 8px 8px; }

    /* K线图移动端高度缩小 */
    #chart-container { height: 360px; }
    .chart-body { min-height: 380px; }

    /* 标签组字号缩小 */
    .tag-chip { font-size: 12px; padding: 5px 10px; }
}

/* 超窄屏（≤480px）meta 3 列 → 2 列 */
@media (max-width: 480px) {
    .profile-card .profile-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .profile-card .meta,
    .profile-card .meta-item {
        border-right: 1px solid rgba(255,255,255,.06);
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .profile-card .meta:nth-child(2n),
    .profile-card .meta-item:nth-child(2n) { border-right: none; }
    .profile-card .meta:nth-last-child(-n+2),
    .profile-card .meta-item:nth-last-child(-n+2) { border-bottom: none; }
    .peer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ============================================================
    ⑦-bis 概念板块 / 同行业股票标签组
    自动换行，窄屏减小字号
    ============================================================ */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
/* 模板使用 .tag（等价于 .tag-chip） */
.tag-chip,
.tag-group .tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--c-chip);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-2);
    text-decoration: none;
    transition: all .2s;
}
.tag-chip:hover,
.tag-group .tag:hover {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
    box-shadow: 0 3px 10px rgba(30,159,255,.25);
}
.tag-chip-active,
.tag-group .tag.tag-chip-active {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
}

/* 数据卡之后（无 cal-faq 时）到 cal-tools 的间距：
   有 cal-faq 的页面由 list.css .cal-tools + .cal-faq 处理；
   无 cal-faq 的页面由 .data-card + .cal-tools 兜底 */
.data-card + .cal-tools { margin-top: 24px; }

/* ============================================================
    ⑧ K线图容器
    白底卡片内嵌，桌面 500px / 移动 360px
    ============================================================ */
.chart-body {
    padding: 0 !important;
    position: relative;
    min-height: 520px;
}
#chart-container {
    width: 100%;
    height: 500px;
    position: relative;
}
.chart-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--c-text-3);
}
.chart-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--c-red, #f73859);
}
#crosshair-info {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,.6);
    margin-left: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#crosshair-info .price-up   { color: var(--c-red, #f73859); }
#crosshair-info .price-down { color: #15803d; }

/* ============================================================
    ⑨ 通用数据表格（游资 / ETF / 行情 / 股东）
    白底卡片内，桌面端横向表格，
    移动端（≤768px）纵向卡片模式见 list.css @media .card .data-table
    ============================================================ */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.data-table thead th {
    background: var(--c-chip);
    color: var(--c-text-2);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .5px;
    border-bottom: 2px solid var(--c-line);
}
.data-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text-2);
    vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #fafbfd; }
.data-table .td-num {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    color: var(--c-text);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.data-table .td-up   { color: var(--c-red, #f73859); }
.data-table .td-down { color: #15803d; }
.data-table .td-strong { font-weight: 700; color: var(--c-text); }
.data-table .td-empty td {
    text-align: center;
    color: var(--c-text-3);
    padding: 24px 12px;
    font-size: 14px;
}
.data-table a {
    font-weight: 600;
    text-decoration: none;
}
.data-table a:hover { text-decoration: underline; }
/* "详细"链接：加粗，视觉上区分于正文 */
.data-table a.detail-link { font-weight: 700; }

/* 领涨股票 / 代码 —— 上下两行结构 */
.data-table .lead-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.data-table .lead-cell a {
    color: var(--c-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.data-table .lead-cell a:hover { text-decoration: underline; }
.data-table .lead-cell .lead-code {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    color: var(--c-text-3);
    font-variant-numeric: tabular-nums;
}
.data-table .lead-cell .lead-code:hover {
    color: var(--c-blue);
    text-decoration: underline;
}
.data-table .lead-cell .lead-hist {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    color: var(--c-text-3);
    font-variant-numeric: tabular-nums;
}
.data-table .lead-cell .lead-hist:hover {
    color: var(--c-blue);
    text-decoration: underline;
}
/* 操作列（表格最后一列，放"历史"链接） */
.data-table .th-op {
    text-align: center;
    min-width: 64px;
}
.data-table td[data-label="操作"] {
    text-align: center;
    vertical-align: middle;
}
.data-table td[data-label="操作"] a.lead-hist {
    display: inline-block;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--c-blue);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--c-line);
    background: var(--c-chip);
    transition: all .2s;
}
.data-table td[data-label="操作"] a.lead-hist:hover {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
    box-shadow: 0 2px 6px rgba(30,159,255,.3);
}

/* kv-value 内的弱注释（如行业平均值） */
.kv-cell .kv-dim {
    font-weight: 400;
    font-size: 12px;
    color: var(--c-text-3);
}

/* ============================================================
    ⑫ 文章正文区（article_content.html 使用）
    对应原 vogue.css .article-body .markdown-body 的组件：
    .md-body 容器 + .md-table 表格 + 标题 / 引用 / 列表 / 分隔线
    ============================================================ */

/* ---- 正文容器 ---- */
.md-body {
    line-height: 1.85;
    color: var(--c-text);
    font-size: 15px;
}
.md-body > h2 {
    color: var(--c-navy);
    font-size: 20px;
    font-weight: 800;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-line);
    line-height: 1.4;
}
.md-body > h2:first-child { margin-top: 0; }
.md-body > h3 {
    color: var(--c-blue-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 22px 0 10px;
}
.md-body > p { margin: 10px 0; }
.md-body ul,
.md-body ol {
    padding-left: 22px;
    margin: 10px 0 14px;
}
.md-body li {
    margin-bottom: 6px;
    color: var(--c-text-2);
    line-height: 1.75;
}
.md-body li strong { color: var(--c-text); }
.md-body blockquote {
    border-left: 3px solid var(--c-amber);
    background: var(--c-chip);
    padding: 10px 16px;
    margin: 14px 0;
    color: var(--c-text-2);
    font-size: 14px;
    border-radius: 0 6px 6px 0;
}
.md-body blockquote strong { color: var(--c-text); }
.md-body a {
    color: var(--c-blue);
    text-decoration: none;
}
.md-body a:hover { text-decoration: underline; }

/* ---- 正文内表格（与 .data-table 同款深蓝表头） ----
   注意：`{cms:common:markdown()}` 生成的是**裸 <table>**（不带 .md- 类名），
   所以选择器同时覆盖 `.md-table`（设计稿手写）与 `.md-body table`（真实正文）。 */
.md-table,
.md-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 14px 0 18px;
    font-size: 13px;
}
.md-table thead th,
.md-body table thead th {
    background: var(--c-navy);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .5px;
    white-space: nowrap;
}
.md-table thead th:first-child,
.md-body table thead th:first-child { border-top-left-radius: 8px; }
.md-table thead th:last-child,
.md-body table thead th:last-child { border-top-right-radius: 8px; }
.md-table tbody td,
.md-body table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text-2);
    vertical-align: middle;
    line-height: 1.6;
}
.md-table tbody tr:last-child td,
.md-body table tbody tr:last-child td { border-bottom: none; }
.md-table tbody tr:hover td,
.md-body table tbody tr:hover td { background: #fafbfd; }
.md-table tbody td strong,
.md-body table tbody td strong { color: var(--c-text); }
.md-table .td-code {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--c-text-3);
}
/* PE 折价强调（红色加粗，与 .kv-up 同款） */
.md-table .pe-discount {
    color: var(--c-red, #f73859);
    font-weight: 700;
}

/* ---- 正文分隔线（markdown --- 渲染，裸 <hr>） ---- */
.md-sep,
.md-body hr {
    border: none;
    border-top: 1px dashed var(--c-line);
    margin: 26px 0;
}

/* ---- 免责声明引用块（正文末尾） ---- */
.md-body .md-disclaimer {
    border-left-color: var(--c-red, #f73859);
    background: #fef2f2;
    color: #991b1b;
}
.md-body .md-disclaimer strong { color: #7f1d1d; }

/* ---- 正文小标题 h4/h5/h6（markdown 会生成，原设计只写到 h3） ---- */
.md-body h4 {
    color: var(--c-text);
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 8px;
}
.md-body h5,
.md-body h6 {
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 700;
    margin: 16px 0 6px;
}

/* ---- 行内代码 / 代码块（markdown 生成 <pre><code>） ---- */
.md-body code {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    background: var(--c-chip);
    color: var(--c-blue-dark);
    padding: 2px 6px;
    border-radius: 4px;
}
.md-body pre {
    background: #f6f8fa;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px 0 16px;
    overflow-x: auto;      /* 长代码行横向滚动，避免撑破卡片 */
}
.md-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--c-text);
    font-size: 13px;
    line-height: 1.6;
    white-space: pre;
}

/* ---- 正文图片 / 嵌套列表 ---- */
.md-body img { max-width: 100%; height: auto; }
.md-body ul ul,
.md-body ul ol,
.md-body ol ul,
.md-body ol ol { margin: 4px 0; }

/* ---- 广告卡片：AdSense 会往 <ins> 里注入固定宽度的 iframe（可能宽于容器）→ 裁剪，避免撑破布局 ---- */
.ad-card { overflow: hidden; }

/* ---- 正文区响应式 ---- */
@media (max-width: 768px) {
    .md-body { font-size: 14px; }
    .md-body > h2 { font-size: 18px; }
    .md-body > h3 { font-size: 15px; }
    .md-table,
    .md-body table { font-size: 12px; }
    .md-table thead th,
    .md-table tbody td,
    .md-body table thead th,
    .md-body table tbody td { padding: 8px 10px; }
    /* 窄屏下正文表格可横向滚动，避免撑破卡片 */
    .md-body table { display: block; overflow-x: auto; }
    .md-body h4 { font-size: 14px; }
    .md-body pre { padding: 10px 12px; }
    .md-body code,
    .md-body pre code { font-size: 12px; }
}

/* ============================================================
    ⑪ 响应式补充（≤480px）
    ============================================================ */
@media (max-width: 480px) {
    .tag-chip { font-size: 11px; padding: 4px 8px; }
    #chart-container { height: 280px; }
    .chart-body { min-height: 300px; }
}

/* ============================================================
    ST 变更记录卡片（stfengxian_content.html 使用）
    每条记录一张卡片：顶部为名称+日期行，正文为详细原因
    ============================================================ */
.st-record-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.st-record-card {
    background: var(--c-card, #fff);
    border: 1px solid var(--c-line, #e2e8f0);
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow .2s;
}
.st-record-card:hover {
    box-shadow: 0 4px 16px rgba(40, 49, 73, .1);
}
.st-record-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--c-line, #e2e8f0);
}
.st-record-type {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text, #1e293b);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.st-record-dates {
    font-size: 12px;
    color: var(--c-text-3, #94a3b8);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}
.st-record-dates b {
    font-weight: 700;
    color: var(--c-text-2, #475569);
}
.st-record-body {
    font-size: 14px;
    line-height: 1.9;
    color: var(--c-text-2, #475569);
}