/* ============================================
   Tickle — 橄榄绿极简主题
   参考 kurtwei.com 留白美学 + 橄榄绿品牌色
   ============================================ */

:root {
    /* 品牌色阶 */
    --primary: #5A7247;        /* 深橄榄绿 - 主色/按钮/标题 */
    --primary-dark: #465A37;   /* 更深 - hover/active */
    --secondary: #6BB26B;      /* 自然绿 - 强调/链接 */
    --accent: #C9D6A8;         /* 浅橄榄绿 - 标签/高亮背景 */
    --accent-light: #EDF2E3;   /* 极浅绿 - 区块背景 */
    --gold: #D4A843;           /* 金色点缀 - 装饰线/标签 */

    /* 中性色阶 */
    --bg: #F7F5F0;             /* 米白背景 */
    --bg-warm: #FAF9F6;        /* 暖白 */
    --card: #FFFFFF;           /* 卡片白 */
    --text: #2D3A25;           /* 深绿黑 - 主文字 */
    --text-secondary: #6B7260; /* 灰绿 - 次文字 */
    --text-muted: #9CA390;     /* 浅灰绿 - 辅助文字 */
    --border: #E5E2D8;         /* 米灰边框 */
    --border-light: #EFEDE6;   /* 更浅边框 */

    /* 尺寸 */
    --nav-height: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --max-width: 1200px;

    /* 字体：西文 Inter，中文按系统自动选择 */
    --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--nav-height);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary-dark);
}

/* ============================================
   顶部冻结导航
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.nav-logo {
    font-family: Copperplate;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--font-sans);
}
.nav-link:hover {
    color: var(--primary);
    background: var(--accent-light);
}
.nav-link.active {
    color: var(--primary);
    background: var(--accent-light);
    border-color: var(--accent);
    font-weight: 600;
}

/* 移动端菜单按钮 */
.nav-menu-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}
.nav-menu-label {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 移动端下拉菜单 */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
}
.nav-mobile-menu.open {
    display: flex;
}
.nav-mobile-menu .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
}

/* ============================================
   主内容区
   ============================================ */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 32px 80px;
    min-height: calc(100vh - var(--nav-height));
}

.page-section {
    display: none;
    animation: fadeIn 0.4s ease;
}
.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 页面标题区 */
.page-header {
    margin-bottom: 40px;
}
.page-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.page-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 720px;
}
.page-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px 0 0;
    border-radius: 2px;
}

/* ============================================
   卡片通用
   ============================================ */
.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 28px;
    transition: all 0.3s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(90, 114, 71, 0.08);
    transform: translateY(-2px);
}

/* ============================================
   产品介绍（左右两栏）
   ============================================ */
.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.intro-column {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.intro-column-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--accent-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.intro-column-title i {
    font-size: 18px;
}
.intro-block {
    margin-bottom: 22px;
}
.intro-block:last-child {
    margin-bottom: 0;
}
.intro-text {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 2;
}
.intro-text p {
    margin-bottom: 12px;
}
.intro-text p:last-child {
    margin-bottom: 0;
}
.intro-text strong {
    color: var(--text);
    font-weight: 600;
}
.intro-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

/* 五维框架表格 */
.framework-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}
.framework-table th {
    background: var(--primary);
    color: white;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12.5px;
}
.framework-table th:first-child { border-radius: 8px 0 0 0; }
.framework-table th:last-child { border-radius: 0 8px 0 0; }
.framework-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    line-height: 1.7;
    vertical-align: top;
}
.framework-table tr:nth-child(even) td {
    background: var(--bg-warm);
}
.framework-table td:first-child {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.framework-table .time-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.framework-table .time-now {
    background: var(--accent-light);
    color: var(--primary);
}
.framework-table .time-future {
    background: #E0E7FF;
    color: #3730A3;
}
.framework-table .time-veto {
    background: #FEE2E2;
    color: #991B1B;
}
.framework-table tr.risk-row td {
    background: #FEF2F2 !important;
}
.framework-table tr.risk-row td:first-child {
    color: #991B1B;
}

/* 技术栈标签 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.tech-tag {
    font-size: 11.5px;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 14px;
    font-weight: 500;
}

/* 商业地产产品介绍卡片 */
.commercial-intro {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 100%;
}
.commercial-intro-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2.1;
}
.commercial-intro-points {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.commercial-intro-point {
    background: var(--accent-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.commercial-intro-point i {
    color: var(--primary);
    font-size: 16px;
}

@media (max-width: 900px) {
    .intro-layout {
        grid-template-columns: 1fr;
    }
    .commercial-intro-points {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   REITs 红绿灯表格
   ============================================ */
.light-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--card);
    /* 纵向留出空间，避免悬停浮层感 */
    -webkit-overflow-scrolling: touch;
}
.light-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 1500px;
    font-size: 13px;
}
.light-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 12.5px;
}
.light-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
    line-height: 1.6;
}
.light-table tbody tr:hover td {
    background: var(--accent-light);
}
.light-table tbody tr:hover td.col-sticky {
    background: var(--accent);
}
/* 首列冻结：代号/名字 */
.light-table .col-sticky {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--card);
    min-width: 150px;
    box-shadow: 2px 0 6px -2px rgba(0,0,0,0.12);
}
.light-table th.col-sticky {
    z-index: 4;
    background: var(--primary-dark);
}
.lt-code {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: var(--accent-light);
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
}
.lt-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: normal;
    min-width: 130px;
}
.light-table .col-wide {
    min-width: 220px;
    white-space: normal;
}
.cell-assets {
    font-size: 12.5px;
    color: var(--text-secondary);
}
.light-table .col-light {
    text-align: center;
    min-width: 72px;
}
.cell-empty {
    color: var(--text-muted);
}

/* 信号灯圆点 */
.light-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: default;
    position: relative;
    vertical-align: middle;
}
.light-dot.green  { background: #4CAF50; box-shadow: 0 0 0 2px rgba(76,175,80,0.18); }
.light-dot.yellow { background: #F5B301; box-shadow: 0 0 0 2px rgba(245,179,1,0.2); }
.light-dot.red    { background: #E5484D; box-shadow: 0 0 0 2px rgba(229,72,77,0.18); }
.light-dot.none {
    background: transparent;
    border: 1.5px dashed var(--border);
    width: 15px; height: 15px;
}
td.col-light .light-dot { cursor: help; }

/* 悬停浮层 */
.light-tip {
    position: fixed;
    z-index: 3000;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(45,58,37,0.18);
    padding: 14px 16px;
    display: none;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.light-tip.show { display: block; }
.light-tip-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.light-tip-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 9px;
    border-radius: 10px;
}
.light-tip-tag.green  { background: rgba(76,175,80,0.14);  color: #2E7D32; }
.light-tip-tag.yellow { background: rgba(245,179,1,0.16);  color: #B27800; }
.light-tip-tag.red    { background: rgba(229,72,77,0.12);  color: #C62828; }
.light-tip-tag.none   { background: var(--bg-warm);        color: var(--text-muted); }
.light-mini {
    width: 11px; height: 11px; border-radius: 50%; display: inline-block;
}
.light-mini.green { background:#4CAF50; }
.light-mini.yellow { background:#F5B301; }
.light-mini.red { background:#E5484D; }
.light-mini.none { background:transparent; border:1.5px dashed var(--border); }
.light-tip-body { white-space: normal; word-break: break-word; }

/* 图例 */
.light-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}
.light-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.light-legend .light-dot {
    width: 13px; height: 13px;
}
.light-legend .light-dot.none { width: 11px; height: 11px; }
.light-legend-tip {
    color: var(--text-muted);
    margin-left: auto;
}

/* ============================================
   REITs 红绿灯 — V7 九列卡片式
   ============================================ */
.rc-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(45,58,37,0.04);
}
.rc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--accent-light);
    border-bottom: 1px solid var(--border-light);
}
.rc-head-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rc-badge {
    font-size: 12px; font-weight: 700; color: #fff;
    background: var(--primary);
    padding: 3px 11px; border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.rc-badge-dim { background: var(--text-muted); }
.rc-name { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* 横向滚动容器（头部不随滚动） */
.rc-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.rc-grid {
    display: grid;
    grid-template-columns: 190px 240px 230px 290px 250px 290px 290px 290px;
    min-width: 2070px;
}
.rc-col {
    border-right: 1px solid var(--border-light);
    min-width: 0;
}
.rc-col:last-child { border-right: none; }
.rc-col-title {
    position: sticky;
    top: 0;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    white-space: nowrap;
}
.rc-col-risk .rc-col-title { background: #B4453F; }
.rc-col-body { padding: 6px 0; }

/* 项目块 */
.rc-asset {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
}
.rc-asset:last-child { border-bottom: none; }
.rc-asset-name {
    font-size: 12px; font-weight: 700; color: var(--primary);
    margin-bottom: 7px; padding-bottom: 5px;
    border-bottom: 1px dashed var(--border);
}
.rc-fund .rc-asset-name { color: var(--text-secondary); }

/* 资产标签（底层资产列） */
.rc-col-assets .rc-col-body { padding: 12px 14px; }
.rc-pill {
    display: block;
    font-size: 12.5px;
    color: var(--text);
    background: var(--accent-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* 字段行 */
.rc-field {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12.5px;
    padding: 3px 0;
    line-height: 1.6;
}
.rc-fl {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 11.5px;
    min-width: 62px;
}
.rc-fv {
    color: var(--text-secondary);
    word-break: break-word;
}
.rc-na {
    color: var(--text-muted);
    font-size: 11.5px;
    font-style: italic;
}
.rc-note-dot {
    color: var(--text-secondary);
    font-size: 12.5px;
}
.rc-note-dot::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    margin-right: 7px;
    vertical-align: middle;
}

/* 窄屏：保持横向滚动，卡片更紧凑 */
@media (max-width: 768px) {
    .rc-head { padding: 12px 14px; }
    .rc-name { font-size: 13.5px; }
    .rc-grid {
        grid-template-columns: 160px 210px 200px 250px 220px 250px 250px 250px;
        min-width: 1790px;
    }
}

/* ============================================
   REITs 红绿灯 — 表格红绿灯版
   ============================================ */
.rlt-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 1080px;
    table-layout: fixed;
    font-size: 12.5px;
}
.rlt-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 12.5px;
}
/* REIT名称 表头居中 */
.rlt-table th:first-child { text-align: center; }
.rlt-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.6;
}
.rlt-table tbody tr:hover td { background: var(--accent-light); }

/* 名称列：居中，名称/代码/日期框上下排列 */
.rlt-name { min-width: 150px; text-align: center; }
.rlt-name-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rlt-name-txt {
    font-size: 13px; font-weight: 700; color: var(--text);
    line-height: 1.5;
}
.rlt-code {
    font-size: 11px; font-weight: 700; color: var(--primary);
    background: var(--accent-light);
    display: inline-block; padding: 1px 8px; border-radius: 10px;
}
/* 上市日期小框：与代码同款浅绿圆角，稍弱化 */
.rlt-date {
    font-size: 10.5px; font-weight: 600; color: var(--text-secondary);
    background: var(--accent-light);
    display: inline-block; padding: 1px 8px; border-radius: 10px;
    letter-spacing: 0.2px;
}
.rlt-date.rlt-date-na {
    color: var(--text-muted);
    background: transparent;
    border: 1px dashed var(--border);
}

/* 底层资产列：居中，多资产逐行 */
.rlt-assets { text-align: center; }

/* 底层资产列 */
.rlt-asset-pill {
    font-size: 12px; color: var(--text);
    background: var(--accent-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 5px 9px; margin-bottom: 6px; line-height: 1.4;
}

/* 价格列 */
.rlt-price-item {
    display: flex; align-items: baseline; gap: 6px;
    font-size: 12px; padding: 2px 0;
}
.rlt-pl {
    flex-shrink: 0; color: var(--text-muted); font-size: 11px;
    min-width: 92px;
}
.rlt-pv { color: var(--text-secondary); word-break: break-word; }

/* 灯单元格 */
.rlt-lightcell {
    text-align: center; vertical-align: middle;
}
.rlt-dot {
    display: inline-block;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s;
}
.rlt-dot:hover { transform: scale(1.18); }
.rlt-dot.rlt-green  { background: #4CAF50; box-shadow: 0 0 0 3px rgba(76,175,80,0.18); }
.rlt-dot.rlt-yellow { background: #F5B301; box-shadow: 0 0 0 3px rgba(245,179,1,0.2); }
.rlt-dot.rlt-red    { background: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,0.18); }
.rlt-dot.rlt-none {
    background: transparent;
    border: 1.5px dashed var(--border);
    cursor: default;
}
.rlt-dot-lg { width: 24px; height: 24px; cursor: default; flex-shrink: 0; }
.rlt-dot-lg:hover { transform: none; }

/* 灯详情弹窗 */
.rlt-modal {
    position: fixed; inset: 0;
    background: rgba(45,58,37,0.45);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 40px;
    overflow-y: auto;
}
.rlt-modal.show { display: flex; }
.rlt-modal-box {
    background: var(--card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 720px;
    box-shadow: 0 20px 60px rgba(45,58,37,0.25);
    overflow: hidden;
}
.rlt-modal-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 22px;
    background: var(--accent-light);
    border-bottom: 1px solid var(--border-light);
}
.rlt-modal-title {
    font-size: 15px; font-weight: 700; color: var(--text);
    line-height: 1.5; flex: 1;
}
.rlt-modal-close {
    border: none; background: transparent;
    color: var(--text-secondary); font-size: 16px;
    cursor: pointer; padding: 6px; border-radius: 50%;
}
.rlt-modal-close:hover { background: var(--accent); color: var(--text); }
.rlt-modal-light {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    font-size: 12.5px; color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}
.rlt-modal-source { line-height: 1.6; }
.rlt-modal-body {
    padding: 14px 22px 20px;
    max-height: 60vh; overflow-y: auto;
}

/* 弹窗详情块 */
.rlt-detail-asset {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.rlt-detail-asset:last-child { border-bottom: none; }
.rlt-detail-name {
    font-size: 12.5px; font-weight: 700; color: var(--primary);
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px dashed var(--border);
}
.rlt-detail-fund .rlt-detail-name { color: var(--text-secondary); }
.rlt-detail-field {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 12.5px; padding: 3px 0;
}
.rlt-detail-field .rlt-fl {
    flex-shrink: 0; min-width: 110px;
    color: var(--text-muted); font-size: 11.5px;
}
.rlt-detail-field .rlt-fv { color: var(--text-secondary); word-break: break-word; }
.rlt-detail-field .rlt-na { color: var(--text-muted); font-size: 11.5px; font-style: italic; }

/* ============================================
   指标解析
   ============================================ */
.analysis-wrap { display: flex; flex-direction: column; gap: 28px; }
.an-section {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: 0 2px 12px rgba(45,58,37,0.04);
}
.an-title {
    font-size: 17px; font-weight: 700; color: var(--primary);
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 2px solid var(--accent);
}
.an-explain-box { margin-bottom: 16px; }
.an-explain {
    font-size: 13px; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 8px;
}
.an-explain strong { color: var(--text); }
.an-table-wrap { overflow-x: auto; }
.an-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12.5px;
    min-width: 560px;
}
.an-table th {
    background: var(--primary);
    color: #fff; font-weight: 600;
    text-align: left; padding: 10px 12px;
    white-space: nowrap; font-size: 12px;
}
.an-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    line-height: 1.5;
}
.an-table td.an-first {
    color: var(--text); font-weight: 600;
    min-width: 200px;
}
.an-table tbody tr:hover td { background: var(--accent-light); }
.an-note {
    margin-top: 12px;
    font-size: 12px; color: var(--text-muted);
    line-height: 1.7; font-style: italic;
}

/* 窄屏 */
@media (max-width: 768px) {
    .rlt-modal { padding: 20px 12px; }
    .an-section { padding: 18px 16px; }
}

/* ============================================
   REITs 展示区（旧卡片样式，产品介绍等保留兼容）
   ============================================ */
.reits-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.reits-filter-btn {
    padding: 6px 18px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}
.reits-filter-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
}
.reits-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* REIT 卡片网格 */
.reits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.reit-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.reit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.reit-card:hover {
    box-shadow: 0 8px 32px rgba(90, 114, 71, 0.1);
    transform: translateY(-3px);
}
.reit-card:hover::before {
    opacity: 1;
}
.reit-card.selected {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(90, 114, 71, 0.12);
}
.reit-card.selected::before {
    opacity: 1;
}

.reit-code {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.reit-code.listed {
    background: var(--accent-light);
    color: var(--primary);
}
.reit-code.pending {
    background: #FEF3C7;
    color: #92400E;
}

.reit-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.reit-assets {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reit-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.reit-metric {
    font-size: 12px;
}
.reit-metric-label {
    color: var(--text-muted);
    margin-bottom: 2px;
}
.reit-metric-value {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

/* REIT 详情面板 */
.reit-detail {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 36px;
    margin-top: 8px;
    animation: slideDown 0.35s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reit-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-light);
}
.reit-detail-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}
.reit-detail-close {
    background: none;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.2s;
}
.reit-detail-close:hover {
    background: var(--accent-light);
    color: var(--primary);
    border-color: var(--accent);
}

/* 五维分析 */
.dimension-section {
    margin-bottom: 24px;
}
.dimension-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.dimension-title .dim-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}
.dimension-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding-left: 34px;
}
.dimension-content .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* 概要行 */
.reit-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.summary-item {
    background: var(--accent-light);
    border-radius: var(--radius-md);
    padding: 16px;
}
.summary-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

/* 风险区块 */
.risk-section {
    background: #FEF2F2;
    border-left: 3px solid #DC2626;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin-top: 20px;
}
.risk-title {
    font-size: 14px;
    font-weight: 700;
    color: #991B1B;
    margin-bottom: 6px;
}
.risk-content {
    font-size: 13px;
    color: #7F1D1D;
    line-height: 1.8;
}

/* ============================================
   商业地产 - 子导航
   ============================================ */
/* 子导航（商业地产/小玩意统一胶囊式） */
.sub-nav, .gadget-sub-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.sub-nav-item, .gadget-sub-nav-item {
    padding: 8px 20px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-sans);
}
.sub-nav-item:hover, .gadget-sub-nav-item:hover {
    border-color: var(--accent);
    color: var(--primary);
}
.sub-nav-item.active, .gadget-sub-nav-item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 600;
}

.sub-tab-content, .reits-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}
.sub-tab-content.active, .reits-tab-content.active {
    display: block;
}

/* ============================================
   新闻列表
   ============================================ */
.news-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.news-search {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
    position: relative;
}
.news-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--card);
    color: var(--text);
    transition: border-color 0.2s;
    font-family: var(--font-sans);
}
.news-search input:focus {
    outline: none;
    border-color: var(--primary);
}
.news-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.news-filter {
    position: relative;
}
.news-filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    transition: all 0.2s;
}
.news-filter-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
}
.news-filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    min-width: 220px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.news-filter-dropdown.show {
    display: block;
}
.news-filter-option {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
}
.news-filter-option:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 24px 28px;
    transition: all 0.25s;
}
.news-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(90, 114, 71, 0.06);
}

.news-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.news-block {
    margin-bottom: 10px;
}
.news-block-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}
.news-block-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.news-block-content.summary {
    font-weight: 500;
    color: var(--text);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 10px;
}
.news-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.news-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 500;
}
.news-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-read-more:hover {
    color: var(--primary-dark);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}
.pagination button {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}
.pagination button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   聊天/Agent 界面
   ============================================ */
.chat-container {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-height) - 200px);
    min-height: 500px;
    overflow: hidden;
}

.chat-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-warm);
}
.chat-header-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.chat-header-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.8;
}
.chat-bubble.ai {
    background: var(--accent-light);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-bubble.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-bubble .loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.chat-input-area {
    padding: 16px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-warm);
    display: flex;
    gap: 10px;
}
.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--card);
    color: var(--text);
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}
.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}
.chat-send-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
}
.chat-send-btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   关于页面
   ============================================ */
.about-hero {
    text-align: center;
    padding: 40px 0 50px;
}
.about-hero-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.about-hero-slogan {
    font-size: 18px;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 24px;
}
.about-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 22px;
    transition: all 0.2s;
}
.about-email-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.about-hero-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
}

.about-section {
    max-width: 760px;
    margin: 0 auto 40px;
}
.about-section-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
}
.about-section-content p {
    margin-bottom: 12px;
}

.about-announcement {
    background: var(--accent-light);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 20px;
}
.about-announcement-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-announcement-list {
    list-style: none;
    counter-reset: item;
}
.about-announcement-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 6px 0 6px 28px;
    position: relative;
    counter-increment: item;
}
.about-announcement-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-contact {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.about-contact-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.about-contact-email {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   反馈表单
   ============================================ */
.feedback-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    padding: 36px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--bg-warm);
    color: var(--text);
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-sans);
}
.form-submit:hover {
    background: var(--primary-dark);
}
.form-success {
    background: var(--accent-light);
    color: var(--primary);
    padding: 14px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

/* ============================================
   小玩意 - 子导航
   ============================================ */
.gadget-sub-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}
.gadget-sub-nav-item {
    padding: 8px 20px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}
.gadget-sub-nav-item:hover {
    border-color: var(--accent);
    color: var(--primary);
}
.gadget-sub-nav-item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============================================
   空状态
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}
.empty-state p {
    font-size: 14px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }
    .nav-links {
        display: none;
    }
    .nav-menu-btn {
        display: flex;
    }
    .main-content {
        padding: 24px 16px 60px;
    }
    .page-title {
        font-size: 28px;
    }
    .reits-grid {
        grid-template-columns: 1fr;
    }
    .reit-detail {
        padding: 20px;
    }
    .reit-summary-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dimension-content {
        padding-left: 0;
    }
    .chat-container {
        height: calc(100vh - var(--nav-height) - 240px);
        min-height: 400px;
    }
    .chat-messages {
        padding: 16px;
    }
    .chat-input-area {
        padding: 12px 16px;
    }
    .news-item {
        padding: 18px 20px;
    }
    .feedback-form {
        padding: 24px 20px;
    }
    .about-hero-title {
        font-size: 32px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   REITs 产品介绍补充
   ============================================ */
/* 免责声明：比正文小一号、斜体 */
.intro-disclaimer {
    font-size: 12.5px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 16px;
    line-height: 1.8;
}

/* 聊天头部演示提示：换行加粗 */
.chat-header-desc strong {
    display: block;
    margin-top: 6px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   双灯体系（dual-light，reits.js 渲染）
   方案：大圆盘居中占满格 + 左上角外缘小徽标 T/AI；
   AI 从灯为右下角小圆；主 button 撑满整格热区，AI 小圆 z-index 在上。
   ============================================ */
.rlt-lightcell {
    padding: 6px 4px;
}
.dual-light {
    position: relative;
    width: 100%;
    height: 56px;
}
/* 主 button（Tickle 主灯 / fallback AI 灯 / 空态）：撑满整格，背景透明 */
.dl-tickle,
.dl-empty {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-radius: var(--radius-sm);
}
/* 大圆盘（主灯色面，居中） */
.dl-tickle::before,
.dl-empty::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s;
}
.dl-tickle:hover::before { transform: translate(-50%, -50%) scale(1.08); }
.dl-tickle.rlt-green::before  { background: #4CAF50; box-shadow: 0 0 0 4px rgba(76,175,80,0.15); }
.dl-tickle.rlt-yellow::before { background: #F5B301; box-shadow: 0 0 0 4px rgba(245,179,1,0.18); }
.dl-tickle.rlt-red::before    { background: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,0.15); }

/* 左上角外缘徽标（T / AI）：不侵入灯面主体，pointer-events 穿透 */
.dl-badge {
    position: absolute;
    left: calc(50% - 22px);
    top: calc(50% - 22px);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
    font-family: inherit;
}

/* AI 从灯小圆：右下角外缘，白边投影，叠在大圆盘上 */
.dl-ai {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.15);
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}
.dl-ai:hover { transform: scale(1.15); }
.dl-ai.rlt-green  { background: #4CAF50; }
.dl-ai.rlt-yellow { background: #F5B301; }
.dl-ai.rlt-red    { background: #E5484D; }
.dl-ai-tag {
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    font-family: inherit;
}

/* fallback：无 Tickle 有 AI，大圆盘即 AI 色，徽标已在 HTML 里写 AI；
   加一圈浅绿虚线识别环（不盖色） */
.dl-tickle.dl-fallback::before {
    box-shadow:
        0 0 0 4px rgba(107,178,107,0.12),
        0 0 0 6px #fff,
        0 0 0 8px rgba(107,178,107,0.35) !important;
}

/* 双空：虚线大圆占位 */
.dl-empty::before {
    background: transparent;
    border: 1.5px dashed var(--border);
    box-shadow: none;
}

/* ============================================
   灯详情弹窗 — 双灯行
   ============================================ */
.rlt-modal-lights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-warm);
}
.rlt-modal-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.rlt-modal-row .rlt-dot { flex-shrink: 0; }
.rlt-modal-ai .rlt-modal-source { color: var(--text-secondary); }
.rlt-modal-tickle { font-weight: 600; color: var(--text); }
.rlt-modal-tickle .rlt-modal-source { color: var(--text); }
/* 中等灯号尺寸（AI 行用） */
.rlt-dot-md { width: 16px; height: 16px; }

/* ============================================
   指标解析 — 第二排子标签 + Tickle 解读
   ============================================ */
.an-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.an-subnav-item {
    padding: 6px 16px;
    font-size: 12.5px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.an-subnav-item:hover {
    border-color: var(--accent);
    color: var(--primary);
}
.an-subnav-item.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}
.an-tab-panel { display: none; }
.an-tab-panel.active { display: block; }

/* Tickle 解读块 */
.an-tickle {
    background: var(--accent-light);
    border-left: 3px solid var(--secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.an-tickle-label {
    font-weight: 700;
    color: var(--primary);
    margin-right: 4px;
}
.an-tickle-text { color: var(--text-secondary); }

/* 底层资产纯文本（不再用带底色 pill） */
.rlt-asset {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   关于页面补充
   ============================================ */
.about-gap { margin-top: 24px; }
.about-question {
    color: var(--text-secondary);
    font-style: italic;
}
.about-section-content strong {
    color: var(--text);
    font-weight: 700;
}
