/*
上市公司产业链css
20250820 08:53 复制于系统最新版本
*/



.astkchinacontent{}

.cppaths{margin-bottom: 6px}
/********1、上市公司产业链首页*****/





/** ##.0.表格 **/

/* 表格容器 */
.astockchain-table-content {
    width: 100%;
    overflow-x: auto;
}

/* 表格样式 */
.astockchain-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}
.astockchain-table table{width: 100%}

.astockchain-table th, .astockchain-table td{
    padding: 4px 8px;
    text-align: center;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    white-space: nowrap;
    color: rgba(var(--cdp-main-rgb),1);
}

.astockchain-table thead {
    background: var(--tag-gray-background);
    color: var(--tag-gray-text-color);
}

.astockchain-table thead th {
    font-weight: bold;
    white-space: nowrap;
}
.fixtop-tooler span{margin: 0 4px;}
.fixtop-tooler .on{ color: #ff4d4f;}

/* 第一列固定 */

.astockchain-table tbody tr td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 50px;
    background: var(--bgmain2-color);
}
.astokfixed1-header {
    position: sticky;
    left: 0;
    background: var(--tag-gray-background);
    color: var(--tag-gray-text-color);
    z-index: 3;
}

/* 第二列固定 */
.astokfixed2-column {
    position: sticky;
    left: 58px;
    z-index: 2;
    background: var(--bgmain2-color);
    border: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    min-width: 120px;
}
.astokfixed2-header {
    position: sticky;
    left: 58px;
    background: var(--tag-gray-background);
    border: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    z-index: 3;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

/* 最后一列固定 */
.astokfixedlast-column {
    position: sticky;
    right: -1px;

    background: var(--bgmain2-color);
    z-index: 2;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    min-width: 120px;
}
.astokfixedlast-header {
    position: sticky;
    right: -1px;

    background: var(--tag-gray-background);
    border: 1px solid rgba(var(--cdp-main-rgb), 0.1);
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}



.tabstock {
    height: 100%;
    display: inline-flex;
    align-items: center;
    line-height: normal;
}
.stock-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.12);
}
.stock-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.stock-code {
    height: 24px;
    line-height: 24px;
    margin: 0 8px;
    font-size: 14px;
    padding: 0px 6px;
    width: 70px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stock-name {
    line-height: 20px;
    font-size: 14px;
   width: 120px;
    text-align: left;
}




/*1.推荐产业链*/
.astksell-list { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 10px 15px;
}
.astksell-item {
    background:  rgba(var(--cdp-main-rgb), 0.05);
    padding: 10px 15px;
        transition: all 0.3s ease;
    border-radius: 6px;
}
.astksell-item:hover {
} 

.asitem-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
} 
.asitem-header .title1 {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: rgba(var(--cdp-main-rgb), 0.85); 
}

.asitem-header button {
 margin-left: 4px;
}



.asitem-header .subtitle a {
  font-size: 12px; 
    color: rgba(var(--cdp-base-rgb), 0.55);
  text-decoration: none;
}

.astk-subtitle a:hover {
  color: #0066cc;
}

.asitem-node {
    margin-top: 10px;
    background: var(--bgmain2-color);
    border-radius: 4px;
}

.asitem-node-header {
  display: flex;
  justify-content: space-between;
      align-items: center;
  font-size: 14px;
    padding: 4px 10px 0 0;
}
.asitem-node-header .title2{ 
  font-size: 13px;
    margin-left: 10px;
      color: rgba(var(--cdp-main-rgb), 0.75);
} 
.asitem-node-stock {  
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px; 
} 
.stkitem {
  display: flex;
  justify-content: space-between;align-items: center;
    padding: 4px 10px;
  font-size: 14px;
}

.astk-stock-name {
    font-size: 13px;
    color: rgba(var(--cdp-main-rgb), 0.75);
}
.astk-change {
  font-weight: bold;
  font-size: 12px;color: rgba(var(--cdp-main-rgb), 0.75);
}
.astk-change .aslabel{
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .astksell-item {
    width: 100%;
  }
}


/*2.最新产业链*/ 
.astklast-list {  
    padding: 15px;
}

/* b 各模版子标题 */
.mktwo-title{display: flex; justify-content: left; align-items: center; padding: 12px 15px; border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.05);}
.mktwo-title .lfinfo{flex:1;  padding-left: 0px;display: flex;  justify-content: left; align-items: center; }
.mktwo-title .lfinfo .name{font-size: 18px; font-weight: bold;  color: rgba(var(--cdp-main-rgb), 1);   }
.mktwo-title .lfinfo .tips{font-weight: 400; margin-left: 4px; margin-right: 6px; font-size: 13px; color: rgba(var(--cdp-main-rgb), 0.7); margin-top: 2px;  line-height: 24px;}
.mktwo-title .rgset{ display: flex; justify-content: right; align-items: center; }
.mktwo-title .rgset .layui-form-item{margin-bottom: 0;}
.mktwo-title .rgset .layui-form-item{ margin-bottom: 0;}
.mktwo-title .rgset .layui-form-radio{margin: 0 10px 0 0; padding-right: 0;}
.mktwo-title .rgset .layui-form-radio>i{margin-right: 4px; font-size: 18px;}
.mktwo-title .rgset .titoperate .cdptips{ background: #f1f3f4; height: 30px; width: 30px; margin-left: 10px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; -o-border-radius: 4px; }
.mktwo-title .rgset .titoperate .cdptips .ti{font-size: 16px;}


/********2、上市公司产业链 列表页*****/

/* a.分类搜索 */ 
.stkcate-search{
    background: #fff;
    padding: 0px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    margin-bottom: 10px;
}

/* 搜索区 input / select 主题色 */
.stkcate-search .layui-form .layui-input:focus,
.stkcate-search .layui-input:focus,
.stkcate-search .layui-form-selected .layui-input,
#mainContent .stkcate-search .layui-form .layui-input:focus,
#mainContent .stkcate-search .layui-input:focus,
#mainContent .stkcate-search .layui-form-selected .layui-input {
    border-color: #4e46b4 !important;
    box-shadow: 0 0 0 3px rgba(78, 70, 180, 0.08) !important;
}

.stkcate-search .layui-form-select dl dd.layui-this,
#mainContent .stkcate-search .layui-form-select dl dd.layui-this {
    background-color: #4e46b4 !important;
    color: #fff !important;
}

.stkcate-search .layui-form-select dl dd:hover,
#mainContent .stkcate-search .layui-form-select dl dd:hover {
    background-color: rgba(78, 70, 180, 0.1) !important;
    color: #4e46b4 !important;
}

.stkcate-search .layui-form-selected .layui-edge,
#mainContent .stkcate-search .layui-form-selected .layui-edge {
    border-top-color: #4e46b4 !important;
}


/* a.分类导航 */ 
.stkcate-nav { 
    margin: 15px 0 25px;
} 
.stkcate-nav  a {
    display: inline-block;
    background: var(--cxui-btn-type-background);
    color: var(--cxui-btn-type-text-color);
    border: 1px solid var(--cxui-btn-type-line-color);
    text-align: center;
    font-size: 14px;
    padding:8px 16px;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
} 
.stkcate-nav a.active  {
    background-color: var(--cxui-btn-background);
    color: var(--cxui-btn-text-color);
    white-space: nowrap;
}
    .stkcate-nav a:hover  {
    opacity: 0.68;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}





/* b.产业链列表区域 */
.astkall-list{
    padding: 20px;
}

.cat-list-nav{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;  
} 
.astcat-list-item {
    border-radius: 8px;
    background: var(--cdp-whole-bg);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.astcat-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
} 
  
.astlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:15px;
}
 
.ast-title .name{
    font-size: 16px;
    font-weight: 600;
    color:rgba(var(--cdp-main-rgb), 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
} 
.ast-title .name button{
    margin-left: 4px;
}
.ast-title .tags a {
    display: inline-block;
    background: var(--cxui-btn-type-background);
    color: rgba(var(--cdp-base-rgb), 0.65);
    border: 1px solid var(--cxui-btn-type-line-color);
    text-align: center;
    font-size: 12px;
    padding:2px 4px;
    margin-top: 4px;
    margin-right: 6px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}   
.ast-change{
    display: flex;
    align-items: center;
}

.ast-change .aslabel {
    font-size: 14px;
    font-weight: 300;
    color:rgba(var(--cdp-main-rgb), 0.85); 
    margin-right: 8px;
}

.ast-change .asvalue {
    font-size: 16px;
    font-weight: 500;
} 
  .astlist-footer {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    background: rgba(var(--cdp-base-rgb), 0.05);
    border-top: 1px solid rgba(var(--cdp-base-rgb), 0.03);
  }
  
  .cat-card-stat {
    font-size: 12px;

  }
  
  .cat-stat span {
    margin-right: 12px;
    color:rgba(var(--cdp-main-rgb), 0.85);
  }
  
  .cat-stat span:last-child {
    margin-right: 0;
  } 
  .cat-stat em {
   font-style: normal;
   font-weight: bold;
   margin: 0 2px;
    color:rgba(var(--cdp-main-rgb), 0.85);
  }

.stkcate-pages{
    margin-top: 20px;
}


/********上市公司产业链 详情页*****/





/*

非必要
一些标签效果

.gptag-container{display:flex;flex-wrap:wrap;gap:8px}
.gptag{padding:4px 12px;font-size:12px;border-radius:15px;cursor:pointer;transition:background-color .3s}
.gptag-primary{background-color:rgba(30,159,255,.1);color:#1e9fff}
.gptag-primary:hover{background-color:rgba(30,159,255,.2)}
.gptag-secondary{background-color:rgba(0,150,136,.1);color:#009688}
.gptag-secondary:hover{background-color:rgba(0,150,136,.2)}
.gptag-purple{background-color:rgba(103,58,183,.1);color:#673ab7}
.gptag-purple:hover{background-color:rgba(103,58,183,.2)}
.gptag-amber{background-color:rgba(255,152,0,.1);color:#ff9800}
.gptag-amber:hover{background-color:rgba(255,152,0,.2)}
.gptag-emerald{background-color:rgba(76,175,80,.1);color:#4caf50}
.gptag-emerald:hover{background-color:rgba(76,175,80,.2)}
.gptag-blue{background-color:rgba(33,150,243,.1);color:#2196f3}
.gptag-blue:hover{background-color:rgba(33,150,243,.2)}
.gptag-red{background-color:rgba(244,67,54,.1);color:#f44336}
.gptag-red:hover{background-color:rgba(244,67,54,.2)}
.gptag-indigo{background-color:rgba(63,81,181,.1);color:#3f51b5}
.gptag-indigo:hover{background-color:rgba(63,81,181,.2)}
.gptag-cyan{background-color:rgba(0,188,212,.1);color:#00bcd4}
.gptag-cyan:hover{background-color:rgba(0,188,212,.2)}


:root {
    --up-color: #f44336;
    --down-color: #4caf50;
    --neutral-color: #9e9e9e;
    --primary-color: #2196F3;
    --secondary-color: #607d8b;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #777777;
    --border-color: #eeeeee;
    --section-bg: #f8f9fa;
}
*/



/* 
a.详情页的必要效果
*/


/* 隐藏滚动条 
.scrollbar-hide{scrollbar-width:none;-ms-overflow-style:none}
.scrollbar-hide::-webkit-scrollbar{display:none}
*/

/* 滚动条自定义 */
.scrollbar-hide::-webkit-scrollbar{width:6px;height:6px}
.scrollbar-hide::-webkit-scrollbar-track{border-radius:3px;box-shadow:inset 0 0 rgba(240,240,240,.5);background-color:var(--scrollStyle)}
.scrollbar-hide::-webkit-scrollbar-thumb{border-radius:3px;box-shadow:inset 0 0 rgba(240,240,240,.5);background-color:#adb4c6}


/* 容器样式 */
.side-container{ overflow:hidden;height:100vh;display:flex;flex-direction:column}
.main-container{  overflow:hidden;height:100vh;display:flex;flex-direction:column}

/* 头部固定区域 */
.fixedtoper{position:sticky;top:60px;z-index:9;padding:15px 0}

/* 滚动内容区域 */
.scroll-content{overflow-y:auto;flex:1;}

/* 广告位 */
.ad-placeholder{height:60px;background-color:#f0f0f0;border-radius:2px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.ad-icon{font-size:36px;color:#ccc;margin-bottom:8px}
.ad-text{font-size:14px;color:#999}

/* 底部提示 */
.bottom-hint{height:40px;background:var(--tag-gray-background);border-radius:2px;display:flex;align-items:center;justify-content:center;
gba(var(--cdp-main-rgb), 0.7);}
.bottom-hint p{color: rgba(var(--cdp-main-rgb), 0.7);}

 





















/*****右侧主要内容区域******/
    

.left-toper{ background: rgba(var(--cdp-blue-sky-rgb), 0.15); }
.right-toper{  background: rgba(var(--cdp-main-anti-rgb), 1);
    padding: 15px 20px 5px 20px;
}

.detmain-toper{
    background: rgba(var(--cdp-main-anti-rgb), 1);
    padding: 15px 10px 5px 20px;
}



/* 1.顶部样式 */
.chiantoper{
}
.chianinfos{
    display: flex;
    align-items: center;
}
/* 1.1.顶部-左侧区域 */
.chianinfos .chabout{
    display: flex; 
    align-items: flex-end;
}
.chianinfos .chabout .chname .butswitch{
    cursor: pointer;
    display: flex; 
    justify-content: left; 
    align-items: center;
    background: none; 
    border: none; 
    position: relative;
}
.chianinfos .chabout .chname .butswitch span{
    font-size: 28px; 
    font-weight: bold; 
    color: rgba(var(--cdp-main-rgb), 0.99);
}
.chianinfos .chabout .chname .butswitch i{
    font-size: 16px;
    margin-left: 4px;  
    color: rgba(var(--cdp-main-rgb), 0.99);
}
.chianinfos .chabout .chname .butswitch:hover{
    background: rgba(var(--cdp-base-rgb), 0.06);
}
.chianinfos .chabout .chname .butswitch .other {
    position: absolute;
    top: -6px;
    right: -40px;
    background: rgb(245, 78, 78);
    color: rgb(255, 255, 255);
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 6px 0 6px 0;
    white-space: nowrap;
    /*animation: bounce 1.2s ease-in-out infinite;*/
    /*-webkit-animation: bounce 1.2s ease-in-out infinite;*/
    -webkit-border-radius: 6px 0 6px 0;
    -moz-border-radius: 6px 0 6px 0;
    -ms-border-radius: 6px 0 6px 0;
    -o-border-radius: 6px 0 6px 0;
}
@keyframes bounce {
    0%, 100% {
        transform: translateX(50%) translateY(0);
    }
    50% {
        transform: translateX(50%) translateY(-6px); 
        -webkit-transform: translateX(50%) translateY(-6px);
        -moz-transform: translateX(50%) translateY(-6px);
        -ms-transform: translateX(50%) translateY(-6px);
        -o-transform: translateX(50%) translateY(-6px);
    }
}
 
.chianinfos .chabout .text2{
    font-size: 15px;
    margin-left: 10px; 
    margin-bottom: 6px;    
    color: rgba(var(--cdp-main-rgb), 0.86);
}
.chianinfos .chabout .text2 .digit{
    margin-left: 4px;
}


/* 1.2.顶部-中间导航 */
.chainnav{
    margin-left: 20px;
    flex: 1;
}
.chainnav .csitem{
    display: inline-block;
    background: var(--btgp-normal-bg);
    color: var(--text-08-color);
    border: 1px solid var(--text-01-color);
    margin-right: 12px;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 15px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.chainnav .csitem:hover {
    opacity: .8;
    filter: alpha(opacity=80);
    border: 1px solid var(--btgp-active-bg);
    color:var(--btgp-active-bg);
}
.chainnav .active{

    background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}
.chainnav .active:hover{
    background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}

/* 1.3.顶部-右侧区域 */
.chianinfos .chtime{
    color: rgba(var(--cdp-main-rgb), 0.66);
    font-size: 12px;
    display: flex;
}
.chianinfos .chtime .chtoolbut{
    margin-right: 10px;
}
.chianinfos .chtime .chtoolbut button{
    margin-left: 10px;
}
.chianinfos .chtool{  margin-top: 2px;  flex: 1;}
.chianinfos .chtool button{margin-left: 14px;}
.chianinfo{
    font-size: 15px;
    margin-top: 6px;
    color: rgba(var(--cdp-main-rgb), 0.66);

}
/* 2. 推荐理由 */

.chaindes{
    background-color: var(--tag-gray-background);
    padding: 6px 12px;
    margin-top: 10px;
    border-radius: 6px;
}
.chaindes .tnavs{
    color:  var(--tag-gray-text-color);
}



/* 2.工具操作区域 */
/* 2.1.工具结构 */
.chiancontrols {
    position: relative;
    margin-top: 8px;
    padding-bottom: 6px;
    padding-top: 10px;
}
.chiancontrols .lfchline{
    width: 2px;
    height: 58px;
    position: absolute;
    background-color: var(--china-line);
    bottom: -5px;
    left: 8px;
}
.chiancontrols .rgchtool{
    margin-left: 30px;
    display: flex;
}
.howfilter{
    flex: 1;
    display: flex;
    gap: 20px;
}
.hownews{
    position: absolute;
    right: 0;
    top: 8px;
}

/* 2.2.按钮样式 */
.chafilte-toggle {
    display: flex;
    border: 1px solid rgba(var(--cdp-base-rgb), 0.14);
    border-radius: 4px;
}
.chafil-btn {
    flex: 1;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    border: none;
    background: none;
    color: var(--tag-gray-text-color);
    border-right: 1px solid rgba(var(--cdp-base-rgb), 0.14);
    cursor: pointer;
    font-size: 12px;
    min-width: 60px;
    transition: background-color 0.3s;
}
.chafil-btn:last-child {
    border-right: none;
}
.chafil-btn.active {
    color: rgba(var(--cdp-base-rgb), 0.91);
    font-weight: bold;
    border: 1px solid rgba(var(--cdp-base-rgb), 0.71);
    border-radius: 4px;
}
.chafil-btn:hover:not(.active) {
    color: rgba(var(--cdp-base-rgb), 0.81);
    font-weight: bold;
    border: 1px solid rgba(var(--cdp-base-rgb), 0.61);
    border-radius: 4px;
}

.view-filter{
    display: flex;
    gap: 10px;
}
.view-filter .layui-input{
    height: 28px;
    line-height: 28px;
    font-size: 12px;
}

.view-filter .cxui-btn{
    height: 27px;
    line-height: 27px;
    font-size: 12px;
}




.chiancontrols .view-navs{ flex: 1; display: flex; align-items: flex-end; }
.view-navs{margin-left: 20px}
.view-navs .csitem{
    display: inline-block;
    background: var(--btgp-normal-bg);
    color: var(--text-08-color);
    border: 1px solid var(--text-01-color);
    margin-right: 12px; 
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 15px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.view-navs .csitem:hover {
    opacity: .8;
    filter: alpha(opacity=80); 
    border: 1px solid var(--btgp-active-bg);
	color:var(--btgp-active-bg);
}
.view-navs .active{
    background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}
.view-navs .active:hover{
	background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}









.view-toggle {
    display: flex;
    border: 1px solid rgba(var(--cdp-base-rgb), 0.14);
    border-radius: 4px;
}

.view-btn {
    flex: 1;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    border: none;
    background: none;
    color: var(--tag-gray-text-color);
    border-right: 1px solid rgba(var(--cdp-base-rgb), 0.14);
    cursor: pointer;
    font-size: 12px;
    min-width: 60px;
    transition: background-color 0.3s;
}
.view-btn:hover {
    opacity: .8;
    filter: alpha(opacity=80);
    border: 1px solid var(--btgp-active-bg);
    color:var(--btgp-active-bg);
}
.view-btn.active {
    background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}

.view-btn.active:hover{
    background: var(--btgp-active-bg);
    color: var(--whiter-color);
    border: 1px solid var(--text-02-color);
}

 









/* 股票列表的基本框架 background-color: var(--section-bg);*/

.org-chart {
    overflow-x: auto;
    padding: 0 20px;
}

/* 根节点样式 */
.rootnode-template {
    min-width: 160px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.12); 
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* 管理层样式 */
.manager-template { 
    min-width: 210px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.12); 
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

}
/* 一般节点样式 */ 
.default-template {
    min-width: 210px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.12); 
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);   
}

/* 股票卡片样式 */  
.stock-template {
    width: 280px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(var(--cdp-main-rgb), 0.12); 
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.rootnode-template:hover,
.manager-template:hover,
.default-template:hover,
.stock-template:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} 

.comcont-node{
    padding: 10px 15px;
    text-align: left;
}
.comcont-node .title{    
    display: flex;
}
.comcont-node .title .dname{    
    color: rgba(var(--cdp-main-rgb), 0.99); 
    font-size: 15px;
    font-weight: 600; 
}
.comcont-node .title .dchange{     
    font-size: 10px;
    margin-left: 4px;
    color: rgba(var(--cdp-main-rgb), 0.6)!important;
}
.comcont-node .title .dchange em{
    font-style: normal;
    font-size: 15px;
    font-weight: bold;
}





.comcont-node .more{display: flex; margin-top: 6px;}
.comcont-node .info{
    color: rgba(var(--cdp-main-rgb), 0.6);
    font-size: 12px; 
    display: flex;
}
.comcont-node .info .info-btn {
    background: var(--cxui-btn-type-background);
    color: rgba(var(--cdp-main-rgb), 0.6); 
    border: 1px solid var(--cxui-btn-type-line-color); 
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px; 
    margin-right: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}    
.comcont-node .info .info-btn:hover { 
    transform: translateY(-1px);
}

.comcont-node .info em{
    font-style: normal;
} 

 

/* 1.股票card头部 */
.stkcard-header {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.08);
    position: relative;
} 
.astk-logo {
    width: 46px;
    height: 46px;
    padding: 4px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    background: rgba(var(--cdp-main-anti-rgb), 0.18);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} 
.astk-info {
    flex: 1;
} 
.astk-name {
    display: flex;
    align-items: center; 
}
.astk-name .name{ 
    color: rgba(var(--cdp-main-rgb), 0.99); 
    font-size: 15px;
    font-weight: 600;
}
.astk-name .local{ 
    color: rgba(var(--cdp-main-rgb), 0.6);
    flex: 1;
    text-align: right;
    font-size: 14px; 
}
.astk-name .local .ti{
    margin-right: 4px;
}
.astk-name .flag{ 
    margin-left: 4px;
 } 
.astk-name .flag img{ 
    height: 14px; 
    border-radius: 2px; 
} 
.astk-name .code{ 
    margin-left: 4px;
    line-height: 17px;
    height: 17px;
    display: inline-block;
    color: rgba(var(--cdp-main-rgb), 0.8);
    font-size: 13px; 
}  
.astk-news{
    position: absolute;
    right: 0;
    top: 0;
    background-image: linear-gradient(270deg,#ff6966,#f33e3e);
    border-radius: 2px; 
    font-size: 11px;
    padding: 2px 4px;
    color: #fff;
    cursor: pointer;
}
.astk-news em{
    font-style: normal;
}
.astk-news:hover{
    background-image: linear-gradient(270deg,#ff7775,#ff5a5a);
}


.astk-price{
    display: flex;
    align-items: center;
    justify-content: left; 
    margin-top: 2px;
}
.astk-price .current-price{
    font-size: 16px;
    font-weight: 700; 
    margin-right: 6px;
} 
.astk-price .change-amount {
    margin-right: 6px; 
    font-weight: 600;
    font-size: 14px;
} 
.astk-price .change-percent {
    font-weight: 600;
    font-size: 14px;
}
.astk-price .change-tips{ 
    font-size: 10px;
    margin-left: 4px;
    color: rgba(var(--cdp-main-rgb), 0.6)!important;
}

/* 3.股票card扩展数据 */
.stkcard-body{
    padding: 5px 8px; 
}   
.astk-more{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.metric { 
    display: flex;
    line-height: 20px;
}

.mt-label {
    font-size: 12px;
    font-weight: 500;
    width: 70px;
    color: rgba(var(--cdp-main-rgb), 0.6);
} 
.mt-value {
    flex: 1;
    font-weight: 600;
    text-align: right;
    color: rgba(var(--cdp-main-rgb), 0.8);
} 

/* 4.股票card底部内容*/
.stkcard-footer {
    display: flex;
    align-items: center;
    padding: 5px 8px;
}
.astime{ 
    width: 96px;
}
.update-time {
    font-size: 12px;
    color: rgba(var(--cdp-main-rgb), 0.6); 
} 
.aslink{
    flex: 1;  
    display: flex; 
    justify-content: left; 
    align-items: center;
    margin-top: 4px;
} 
.valuation-btn {
    background: var(--cxui-btn-type-background);
    color: rgba(var(--cdp-main-rgb), 0.6); 
    border: 1px solid var(--cxui-btn-type-line-color);
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px; 
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}    
.valuation-btn:hover { 
    transform: translateY(-1px);
}







/* 产业链：下载图片范围 */
.content-to-capture {
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
} 

/* 下载图片的模版 */ 
#previewContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

.preview-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

#previewImage {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.size-info {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    display: none;
    animation: fadeInOut 2.5s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.fallback-copy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.fallback-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 
 
/* 视图切换样式 */
.hide-all .stkcards-container {
    display: none;
}
.hide-all .sectionC-header .astktoggle{
    display: none;
}
.simple-view .metric:not(.price-section) {
    display: none;
}

.simple-view .stkcard-numbs{
    display: none;
}

.simple-view .stkcard-body { 
    display: none;
}


/* 响应式调整 */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .view-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }
} 







.astkpopnews{
    padding: 15px 20px;
}

.astoper .layui-breadcrumb a{
    font-size: 20px;
    font-weight: bold;
}
.astoper .data{
    margin-top: 6px;
}



/* 下面内容为最初版本的样式，准备去掉 */


/* 股票节点布局 */
.node-card{
    background: var(--bgmain2-color);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.node-card .LevelItem {
  padding-left: 10px;
} 
.node-card .LevelItem .LevelItem {
  padding-left: 20px;
} 
.node-card .LevelItem .LevelItem .LevelItem {
  padding-left: 20px;
} 
.node-card .LevelItem .LevelItem .LevelItem .LevelItem {
  padding-left: 20px;
}




/* 产业链：一级 */
.sectionA-header {
    padding: 8px 12px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #e5e3ff;
    border-radius: 2px;
}  
.dark-theme .sectionA-header{ 
    background: #534d9e;
}
.sectionA-header .sectionComtitle .text1{  
    font-size: 18px;  
}

.astksection {  
    overflow: hidden;
    padding: 10px 0;
    margin-right: 10px;
}   
.node-bodylist{
    padding: 0px;
}

.seBnodeitem{ 
    margin-bottom: 10px;
    border-radius: 6px; 
}  
.sectionB-header {
    background: rgba(var(--cdp-base-rgb), 0.0);
    padding:3px 15px 3px 25px;  
}    
.sectionB-header .sectionComtitle .text1{  
    font-size: 16px;  
}

/* 产业链：三级节点 */
.seCnodeitem{
    border: 1px solid rgba(var(--cdp-base-rgb), 0.0); 
}
.sectionC-header{
    background: rgba(var(--cdp-base-rgb), 0.0);
    padding: 3px 15px 3px 46px; 
}
.sectionC-header .sectionComtitle .text1{  
    font-size: 16px;  
}

/* 产业链：公共标题 */
.sectionComtitle{ 
    display: flex; 
    height: 20px; 
    line-height: 20px; 
    position: relative; 
    font-size: 16px;  
    padding-left: 20px; 
}
.sectionComtitle .text1{ 
    color: rgba(var(--cdp-main-rgb), 0.8); 
    font-weight: bold;
}
.sectionComtitle .text2{ 
    font-size: 13px;
    margin-left: 10px; 
    margin-top: 2px;
    color: rgba(var(--cdp-main-rgb), 0.7);
}
.sectionComtitle .text2 .digit{  
    margin-left: 4px;
}
.sectionComtitle .astktoggle{
    position: absolute;
    left: 0;
    cursor: pointer;
    background: none;
    border: none;
}
.sectionComtitle .astktoggle i{
    color: rgba(var(--cdp-main-rgb), 0.9);
}
.sectionComtitle .astktoggle:hover{
    opacity: 0.88;
}
.sectionComtitle .astktoggle .ti{
    font-size: 20px;
}





/* 首页模块调整*/

.search-title .funtitle {
    font-size: 34px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
    color: rgba(var(--cdp-main-rgb), 0.9);
}


        .astksearch {
            display: flex;
            gap:15px;
        }
        
        .astklf-panel {
            flex: 1;
            background: var(--bgmain2-color);
            border-radius: 6px;
            padding: 15px;
        }
        .astklf-panel .search-reminder{ width: 100%!important;}

        .astkrg-panel {
            flex: 1;
            background: var(--bgmain2-color);
            border-radius: 6px;
            padding: 0 20px; 
        } 
        .search-box {
            display: flex;
            margin-bottom: 20px;
        }
        
        .search-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px 0 0 4px;
            font-size: 16px;
            outline: none;
        } 
        .search-button {
            padding: 12px 20px;
            background-color: #4285f4;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 16px;
        }
        
        .search-button:hover {
            background-color: #3367d6;
        }
        
        .section-title {
            font-size: 16px;  
            margin-top: 8px;
            color: rgba(var(--cdp-main-rgb), 0.9);
        }
        

.hot-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    overflow: hidden;
    max-height: calc(12px + 10px); /* 假设一行高度为1em，加上gap */
}
        .hot-tag {
            background: var(--tag-gray-background);
            color: var(--tag-gray-text-color);
            height: 20px;
            line-height: 20px;
            padding: 0 12px;
            border-radius: 15px;
            font-size: 12px;
            cursor: pointer;
        }
        
        .hot-tag:hover {
            opacity: 0.88;
        }
        

        .industry-container {
            margin-top: 10px; 
        }
        
        .industry-item {
            display: flex;
            align-items: center;
            padding: 6px 8px;
            border-bottom: 1px dashed  rgba(var(--cdp-main-rgb), 0.1);
            position: relative;
            cursor: pointer;
        }
        .industry-item:hover{
         background: rgba(var(--cdp-main-rgb), 0.12);
        border-radius: 4px}
        .industry-item:last-child{
            border-bottom: none;
        }
        
        .industry-name {
            font-weight: bold; 
            font-size: 15px;
        }
        
        .industry-numbs{
            display: flex;
            gap: 10px;
            font-size: 12px;
            color: #666;
            margin-left: 10px;
        }
        
        .industry-meta {
            display: flex;
            gap: 10px;
            font-size: 12px;
            color: #666;
            position: absolute;
            right: 0;
        }
        
        .industry-time {
            color: #999;
            line-height: 28px;
        }
        
        .industry-status {
            padding: 0px 6px;
            border-radius: 3px;
            font-size: 11px;
            height: 22px;
            line-height: 22px;
            margin-top: 3px;
        }
        
        .status-free {
            background-color: #e6ffed;
            color: #389e0d;
        }
        
        .status-paid {
            background-color: #fff1f0;
            color: #cf1322;
        }
        


        .latest-container {
            height: 404px;
            overflow: hidden;
            position: relative;
        }
        
        .latest-list {
            position: absolute;
            width: 100%;
        }
        
        .latest-list-inner {
            animation: scroll 20s linear infinite;
        }




 .latest-item {
     margin: 10px 0;
     padding: 6px 12px;
     border: 1px solid rgba(var(--cdp-main-rgb), 0.06);
     border-radius: 4px;
     background: rgba(var(--cdp-main-rgb), 0.04);
 }

.latest-item .title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}



.latest-item .latest-title {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    color: rgba(var(--cdp-main-rgb), 0.9);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    line-height: 1.4;
}



.latest-item .latest-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}



.latest-item .latest-content {
    font-size: 14px;
    color: #666;
}



.latest-item .industry-link,
.latest-item .stock-link {
    color: #06c;
    text-decoration: none;
}
.latest-item .industry-link:hover,
.latest-item .stock-link:hover {
    text-decoration: underline;
}



.latest-item .content-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.latest-item .content-line a{
    margin-right: 6px;
}

        @keyframes scroll {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-50%);
            }
        }




/* 股票列表--基本结构 */
.stkcards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
} 

.levelcomtit{ padding: 7px 0;}
.astktable .layui-table tr:hover{ background: rgba(var(--cdp-main-rgb), 0.12); }


/* 股票表格呈现 */
.astktable{ padding: 10px 10px 10px 0;}
.astktable .layui-table{margin: 0;}

    .layui-table-cell {
      text-align: center;
      height: auto;
      padding: 5px 8px;
    }
    .highlight {
      color: #1E9FFF;
      font-weight: bold;
    }
    .layui-table thead tr:first-child th {
      font-weight: bold;
    }
    .layui-table[lay-size="sm"] th, .layui-table[lay-size="sm"] td {
      padding: 5px 8px;
    }



.skttstock{}
.skttstock .skttcode{
    display: inline-block;
    line-height: 20px;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}
.skttstock a.skttcode{color: var(--cdp-base);}
.skttstock span.skttcode{
    background-color: var(--bgmain-search-color);
    color: rgba(var(--cdp-main-rgb), 0.9);}

.skttstock .skttname{
    margin-left: 6px;
    width: 80px;
    display: inline-block;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}

.nodatatips{ color: rgba(var(--cdp-main-rgb), 0.8); padding: 6px 0 10px; margin-left: 20px}

/* 新闻滚动 */
.stkindutable{}

.gztabtoper{margin: 0 auto;text-align: center;}
.gztabtoper .name{line-height: 20px;}
.gztabtoper .unit{font-size: 12px; line-height: 16px; font-weight: 300; text-align: left}
.stkindutable .layui-table-cell {
    /* height: 42px; */
    /* line-height: 42px; */
    display: flex;
    align-items: center;
    font-size: 15px;
}

/* 新闻滚动 */

.topSubNav {
    width: 100%;
    max-width: 500px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
    background-color: var(--tag-gray-background);
    margin-left: auto;
    border-radius: 4px;
}

.topSubNav .tit {
    float: left;
    margin-left: 6px;
    margin-right: 10px;
    color: rgba(var(--cdp-main-rgb), 0.7);
}

.scrollnews {
    float: left;
    width: calc(100% - 90px);
    height: 30px;
    overflow: hidden;
    position: relative;
}

.scrollnews ul {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: top 0.5s ease-in-out;
}

.scrollnews li {
    display: flex;
}

.scrollnews li a {
    width: 366px;
    color: rgba(var(--cdp-main-rgb), 0.9);
    display: inline-block;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.scrollnews li a:hover {
    color: #f60;
    text-decoration: underline;
}

.scrollnews li span {
    color: rgba(var(--cdp-main-rgb), 0.7);
    margin-left: 10px;
    font-size: 12px;
    margin-top: 0px;
}




/******4·图标提示文字内容*****/
.cell-tip-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 2px;
}
.cell-tip-wrapper i{
    color: rgba(var(--cdp-main-rgb), 0.7);
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    transition: transform 0.2s;
}
.cell-tip-wrapper:hover .cell-tip-icon {
    transform: scale(1.1);
}
.cell-tip-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    margin-left: 8px;
    background: rgba(0,0,0,0.85);
    color: white;
    text-align: justify;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 400px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    white-space: normal;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cell-tip-wrapper:hover .cell-tip-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.cell-tip-text-bottom {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,0.85);
    color: white;
    text-align: justify;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
    max-width: 100px;
    width: max-content;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    white-space: normal;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cell-tip-wrapper:hover .cell-tip-text-bottom {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.fund-link { color: #1565c0; text-decoration: none;  }

.btnimport {
    padding: 4px 12px;
    background-color: var(--cxui-btn-white-background);
    color: var(--cxui-btn-white-text-color);
    border: 1px solid var(--cxui-btn-white-line-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.btnimport:hover {
    opacity: 0.9;
    background-color: #edecf7;
    border: 1px solid #4e46b4;
    color: #4e46b4;
}

/***** 页脚贴底 / 分页器 / 日期组件（参考 pubfund.css，astockchian 引用页） *****/

/* 页脚贴底：cdp-body 下含 page-footer-wrap 时生效 */
#mainContent.cdp-body,
.cdp-body:has(> .page-footer-wrap) {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: stretch;
    min-width: 0;
}
#mainContent.cdp-body > .winewarp,
.cdp-body:has(> .page-footer-wrap) > .winewarp {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}
#mainContent.cdp-body > .winewarp .pubfundbody,
.cdp-body:has(> .page-footer-wrap) > .winewarp .pubfundbody {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
#mainContent.cdp-body > .layout-warp,
.cdp-body:has(> .page-footer-wrap) > .layout-warp {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
#mainContent.cdp-body > .layout-warp .layout-pages,
.cdp-body:has(> .page-footer-wrap) > .layout-warp .layout-pages {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
#mainContent.cdp-body > .page-footer-wrap,
.cdp-body:has(> .page-footer-wrap) > .page-footer-wrap {
    flex-shrink: 0;
    margin-top: auto;
    clear: both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}
#mainContent.cdp-body > .page-footer-wrap .cdp-footer,
.cdp-body:has(> .page-footer-wrap) > .page-footer-wrap .cdp-footer {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 分页器当前页码主题色 */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #4e46b4 !important;
}

.layui-table-page .layui-laypage-limits select,
.layui-table-page select {
    height: 26px !important;
    min-height: 26px !important;
    line-height: 26px !important;
    padding: 0 4px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
}

.card-result .layui-table-page,
.cxuiTable .layui-table-page,
.stklist .layui-table-page,
.stkindutable .layui-table-page {
    padding: 12px 16px;
    height: auto !important;
    overflow: visible;
    white-space: normal;
    box-sizing: border-box;
    background: #fff;
}

/* Layui 日期组件主题色 */
html body .layui-laydate .layui-this,
html body .layui-laydate .layui-this > div {
    background-color: #4e46b4 !important;
    color: #fff !important;
}

html body .layui-laydate-footer span:hover,
html body .layui-laydate-footer span[lay-type=date] {
    color: #4e46b4 !important;
}

html body .layui-laydate-header i:hover,
html body .layui-laydate-header span:hover {
    color: #4e46b4 !important;
}

html body .layui-laydate-content td > div:hover,
html body .layui-laydate-list li:hover,
html body .layui-laydate-shortcut > li:hover {
    background-color: rgba(78, 70, 180, 0.12) !important;
    color: #4e46b4 !important;
}

html body .layui-laydate-content td.laydate-disabled > div:hover,
html body .layui-laydate .laydate-disabled:hover {
    background-color: transparent !important;
    color: #d2d2d2 !important;
}

html body .layui-laydate-content td.laydate-selected > div,
html body .layui-laydate-linkage .layui-laydate-content td.laydate-selected > div,
html body .layui-laydate-linkage .laydate-selected:hover > div {
    background-color: rgba(78, 70, 180, 0.18) !important;
    color: #4e46b4 !important;
}