:root {
    --bg-color: #AD9473;
    --bg-color2: #ededed;
    --bg-color-dark: #D71789;
    --bg-btn: #AF9C78;
    --bg-tip: #FF4343;
    --bg-input: #FBF9F6;
    --color-text: #241717;
    --color-text-opacity:  rgba(36, 23, 23, 0.5);
    --color-btn: #EFD6B0;

    font-size: 10px; 
}
* {margin: 0;padding: 0;box-sizing: border-box;}
html {font-size: 10px; /* 1rem = 10px  pxÃ¦ÂÂ¢Ã§Â®â€”Ã¦Ë†ÂremÃ©Å“â‚¬Ã©â„¢Â¤Ã¤Â»Â¥10*/}
body {  height: 100vh; overflow-y: scroll;overflow-x: hidden;background: url('../img/bgimg.png') no-repeat center center fixed;background-size: cover;}
 /* 清空默认样式 */
a, a:visited, a:active, a:link, a:hover {
    text-decoration: none; /* 清除下划线 */
    color: inherit; /* 继承父元素颜色 */
    border: none; /* 去掉边框 */
}
input, button, select, textarea {
    outline: none; /* 去掉默认边框 */
    border: none; /* 去掉边框 */
    border-radius: 2px; /* 圆角 */
    background: transparent;
}
input:hover, button:hover, select:hover, textarea:hover {border: none;}
input:focus, button:focus, select:focus, textarea:focus {border: none;}
ul, ol, li {list-style: none;}
h1, h2, h3, h4, h5, h6 {font-size: inherit;font-weight: inherit;}
@font-face {
    font-family: 'LKaiTi';
    src: url('../font/FangZhengKaiTiJianTi-1.ttf');
	font-display: swap; /* 在字体下载过程中使用后备字体 */
}
@font-face {
    font-family: 'LHeiTi';
    src: url('../font/FangZhengHeiTiJianTi-1.ttf');
	font-display: swap; /* 在字体下载过程中使用后备字体 */
}
.font-kai {font-family: 'LKaiTi', '楷体', '楷体_GB2312', SimKai, STKaiti, KaiTi_GB2312, sans-serif;}
.font-hei {font-family: 'LHeiTi', '黑体', SimHei, STHeiti, Heiti_GB2312, sans-serif;}

.pd {padding-left: 1.5rem;padding-right: 1.5rem;}
.mb {margin-bottom: 1.5rem;}
.mt {margin-top: 1.5rem;}
.mr-1 {margin-right: 1rem;}
.ml-1 {margin-left: 1rem;}
.mt-1 {margin-top: 1rem;}
.mb-1 {margin-bottom: 1rem;}
.pb-1 {padding-bottom: 1rem;}
.pt-1 {padding-top: 1rem;}
.pl-1 {padding-left: 1rem;}
.pr-1 {padding-right: 1rem;}
.pt-05 {padding-top: 0.5rem;}
.pb-05 {padding-bottom: 0.5rem;}
.pl-05 {padding-left: 0.5rem;}
.pr-05 {padding-right: 0.5rem;}
.mr-05 {margin-right: 0.5rem;}
.ml-05 {margin-left: 0.5rem;}
.mt-05 {margin-top: 0.5rem;}
.mb-05 {margin-bottom: 0.5rem;}
.container {font-size: 1.5rem;}

.bg-content {background-color: #AF9C78;}
.bg-title {background-color: #AD9473;}
.bg-bg {background-color: #EDD8BB;}
.text-font {color: #241717;}
.text-white {color: #ffffff;}
.text-black {color: #000000;}

.flex {display: flex;}
.flex-wrap {flex-wrap: wrap;}
.flex-column {flex-direction: column;}
.flex-row {flex-direction: row;}
.flex-1 {flex: 1;}
.flex-2 {flex: 2;}
.flex-center {display: flex;align-items: center;justify-content: center;}
.justify-between {justify-content: space-between;}
.justify-center {justify-content: center;}
.justify-start {justify-content: flex-start;}
.justify-end {justify-content: flex-end;}
.align-start {align-items: flex-start !important;}
.align-end {align-items: flex-end;}
.align-center {align-items: center;}
.items-center {align-items: center;}
.text-center {text-align: center;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-justify {text-align: justify;}
.text-nowrap {white-space: nowrap;}
.text-uppercase {text-transform: uppercase;}
.text-lowercase {text-transform: lowercase;}
.text-capitalize {text-transform: capitalize;}
.text-bold {font-weight: bold;}
.text-italic {font-style: italic;}
.text-underline {text-decoration: underline;}
.text-line-through {text-decoration: line-through;}
.text-overline {text-decoration: overline;}
.text-small {font-size: 0.8rem;}
.fs12 {font-size: 1.2rem;}
.fs14 {font-size: 1.4rem;}
.fs15 {font-size: 1.5rem;}
.fs16 {font-size: 1.6rem;}
.fs18 {font-size: 1.8rem;}
.fs20 {font-size: 2rem;}
.fs22 {font-size: 2.2rem;}
.fs24 {font-size: 2.4rem;}
.fs26 {font-size: 2.6rem;}
.fs28 {font-size: 2.8rem;}
.fs30 {font-size: 3rem;}
.fs32 {font-size: 3.2rem;}
.fs34 {font-size: 3.4rem;}
.fs36 {font-size: 3.6rem;}
.fs38 {font-size: 3.8rem;}
.fs40 {font-size: 4rem;}
.fs42 {font-size: 4.2rem;}
.fs44 {font-size: 4.4rem;}
.width30 {width: 30rem;}

/* ***********************************************
** Ã¦ÂÂÃ§Â¤ÂºÃ¦Â¡â€ 
**************************************************/
.tip {
    /* height: 1.8rem; */
    line-height: 1.8rem;
    color: #ffffff;
    font-size: 1.2rem;
    display: inline-block;
    padding-right: 4px;
    border-bottom-right-radius: 8px;
    background-color: #CF5848;
}
.tip::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin: auto 4px;
    background: url('../img/tips.png') no-repeat center center;
    background-size: cover;
}
 /***********************
* radio 自定义样式
*********************** */
.tabs-group {
    background: #FBF9F5;
    border: 1px solid rgb(173 148 115 / 50%);
    border-radius: 6px;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    font-size: 1.5rem;
}
.tabs-group .tabs-item {
    height: 3.6rem;
    line-height: 3.6rem;
    border-radius: 4px;
    color: #AD9473;
    padding: 0 16px;
}
.tabs-group .tabs-item.active {background-color: #AD9473;color: #FBF9F5;}

 /* ***********************************************
** 表单自定义样式
**************************************************/
.box-form {padding: 2rem 3rem;}
.box-item {
    display: flex;
    margin-bottom: 1rem;
    justify-content: space-between;
    height: 4.7rem;
    align-items: center;
    position: relative;
    box-sizing: content-box;
}
.box-item .label {
    width: 10rem;
    height: 100%;
    margin-right: 2px;
    background-color: #FBF9F6;
    color: #241717;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    padding: 0 1rem;
    border-radius: 2px;
    opacity: 0.5;
}
.box-form input {
    flex: 1;
    height: 4.7rem;
    line-height: 4.7rem;
    font-size: 1.5rem; 
    text-align: center;
    border-radius: 2px;
    border: 1px solid #B4A281;
    background: #FBF9F6;
    padding: 0 1rem;
}
.box-form .triangle::after {
    content: "";
    display: inline-block;
    background: url('../img/triangle.png') no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    width: 1.7rem;
    height: 0.8rem;
    right: 1.9rem;
    top: 1.9rem;
}

 /* ***********************************************
** 按钮自定义样式
**************************************************/
.btn-box {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to bottom, rgba(251, 249, 245, 0), rgba(251, 249, 245, 1));
}
.btn {
  width: 100%;
  height: 4.7rem;
  line-height: 4.7rem;
  font-size: 1.5rem;
  text-align: center;
  background: #463D43;
  color: #D3A97B;
  border-radius: 2px;
  border: none;
}
button{border-color: rgb(229, 231, 235);border-style: solid;}

/********************************************
* nav步骤信息
*********************************************/ 
.nav-tip {
    height: 6.3rem;
    font-size: 1.2rem;
    display: flex;
    color: #EDD8BB;
    justify-content: space-between;
    align-items: center;
    padding: 0 4.5rem;
    background-color: #CF5848;
}
.nav-tip .nav-tip-item {display: flex;flex-direction: column;justify-content: center;align-items: center;}
.nav-tip .nav-tip-item .img1 {width: 1.4rem;height: 1.6rem;}
.nav-tip .nav-tip-item .img2,.nav-tip .nav-tip-item .img3 {width: 1.6rem;height: 1.6rem;}
.nav-tip .nav-tip-item .imgyjt {width: 2.15rem;height: 0.6rem;}
.opacityhalf {opacity: 0.5;}

 /* ***********************************************
* Tab栏目
**************************************************/
.tabs{display: flex;align-items: center;}
.tabs .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto; /* 子元素不自动缩放 */
    padding: 0.6rem 1.2rem;
    border-radius: 6px 6px 0 0;
    background-color: var(--bg-input);
    color: var(--color-text);
    margin-right: 2px;
    opacity: 0.5;
    font-size: 1.5rem;
}
.tabs .item>img {width: 1.6rem;height: 1.6rem;margin-right: 2px;}
.tabs .item.active{opacity: 1;}
.tabs-content {padding: 1rem;min-height: 24rem;background-color: var(--bg-input);border: 1px solid #E7E0D4;word-wrap: break-word;}

/********************************************
* navTab栏目
*********************************************/ 
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.6rem;
    font-size: 1.5rem;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0; /* 距离顶部的距离 */
    z-index: 3;
}
.nav .nav-item {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #AD9473;
    color: #EFD6B0;
    /* opacity: 0.8; */
}
.nav .nav-item.active {background-color: #463D43;color: #D3A97B;}

 /* ***********************************************
* 边框
**************************************************/
.border {border: 1px solid #E7E0D4;}
.border-top {border-top: 1px solid #E7E0D4;}
.border-bottom {border-bottom: 1px solid #E7E0D4;}
.border-left {border-left: 1px solid #E7E0D4;}
.border-right {border-right: 1px solid #E7E0D4;}
.border-radius,.border-radius-2  {border-radius: 2px;}
.border-radius-top {border-top-left-radius: 2px;border-top-right-radius: 2px;}
.border-radius-bottom {border-bottom-left-radius: 2px;border-bottom-right-radius: 2px;}
.border-radius-left {border-top-left-radius: 2px;border-bottom-left-radius: 2px;}
.border-radius-right {border-top-right-radius: 2px;border-bottom-right-radius: 2px;}

 /***********************
* 回到顶部
*********************** */
.totop {position: fixed;bottom: 15rem;right: 1.5rem;width: 4.1rem;height: 4.1rem;z-index: 999;display: none;}

 /* ***********************************************
* 遮罩
**************************************************/
.fixed-box {position: fixed;top: 0;bottom: 0;left: 0;right: 0;background: rgba(0, 0, 0, 0.5);z-index: 2;display: flex;justify-content: center;align-items: center;}
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}
.mask .mask-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}
/* toast */
.toast {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #fff;
    padding: 1rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    z-index: 999;
}
/* *********************
* loading 遮罩禁止点击
*********************** */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.loading .loading-inner {
    position: absolute;
    top: 40%;
    left: calc(50% - 1.5rem);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid #E7E0D4;
    border-top-color: #AF9C78;
    /* 以圆为中心旋转动画 */
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* 隐藏垂直滚动条 */
::-webkit-scrollbar {display: none;} 
/* 创建伪元素来模拟滚动条 */
.scroll-container::-webkit-scrollbar {width: 0;height: 0;}
/* 添加滚动样式 */
.scroll-container {width: 100%;height: 300px;overflow-y: scroll;}

/* 隐藏内容 */
.auth {position: relative;}
.auth::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 20%);
    /* backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(10px); */
    z-index: 9; 
}
.auth::before {
    content: "登录查看完整内容";
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 2px;
    background: var(--bg-btn);
    color: var(--color-btn);
    z-index: 10; 
}

/***********************
* radio 自定义样式
*********************** */
.radio-group {
    border: 1px solid #AD9473;
    border-radius: 4px;
    color: #AD9473;
    padding: 1px;
    margin-left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FBF9F5;
    height: 4rem;
    font-size: 1.5rem;
}
.radio-group input[type="radio"] {display: none;}
.radio-group label.radio {width: 5rem;height: 100%;display: flex;justify-content: center;align-items: center;border-radius: 6px;}
.radio-group input[type="radio"]:checked + label.radio {background-color: #AD9473;color: #fff;}

/* 底部导航 */
.footer{position: fixed;bottom: 0;left:0;right: 0; height: 6rem;display: flex;align-items: center;box-shadow: 0px -1px 0px 0px #0000000D;background-color: #fff;color: #666666;font-size: 1.2rem;}
.footer .item {flex:1;display: flex;flex-direction: column; align-items: center;justify-content: center;height: 6rem;cursor: pointer;}
.footer .item.active {color: #E73227;}
.footer img{height: 2.3rem;}

.fixed-bottom {position: fixed;bottom: 3rem;left: 3rem;right: 3rem;width: auto;}
.fixed-goBack {
    position: fixed;
    right: 3rem;
    bottom: 10rem;
    width: 5rem;
    height: 5rem;
    background: #ffffff;
    border-radius: 8px;
    background-image: url('../img/ai/back.png');
    background-repeat: no-repeat;
    background-size: 3rem auto;
    background-position: center;
    box-shadow: 0px 0px 10px 0px #999999;
}
.no-data {text-align: center;color: #333333;font-size: 1.2rem;margin: 20vh auto;}
.no-data img{width: 2.5rem;margin-bottom: 0.6rem;}
.ellipsis1 {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.ellipsis2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.ellipsis3 {display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
  
.jin{color:#EF9003}
.mu{color:#00A91B}
.shui{color:#378BF3}
.huo{color:#D20806}
.tu{color:#8B6C04}
.yin{color: #463D43;}
.yang{color: #AD9473}
.color-ji {color: #CF5848;}
.small {font-size: 1rem;}

.qian::before,.qian::after {background-color: #E2160F;}
.dui::before,.dui::after {background-color: #C9C7CA;}
.li::before,.li::after {background-color: #990CA6;}
.zhen::before,.zhen::after {background-color: #218511;}
.xun::before,.xun::after {background-color: #23DD0D;}
.kan::before,.kan::after {background-color: #000000;}
.gen::before,.gen::after {background-color: #B0940D;}
.kun::before,.kun::after {background-color: #DDB925;}