* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

ul, ol, li, span, p, form, h1, h2, h3, h4, h5, h6, dl, dt, dd {margin:0;padding:0;border:0;z-index:inherit;}
ul, ol, li {list-style:none;}
img, a img {border:0;margin:0;padding:0;}
html, body {font:12px/1.5 -apple-system-font,'Helvetica Neue',sans-serif;min-height:100%;}
body, ul, ol, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset, .pr, .pc {margin:0;padding:0;}
a img {border:none;}
a {-webkit-tap-highlight-color:rgba(0,0,0,0);}
a:link, a:visited, a:hover {text-decoration:none;}
a.grey:link, a.grey:visited, a.grey:hover {text-decoration:none;}
a.link:link, a.link:visited, a.link:hover {text-decoration:none;}
a.blue:link, a.blue:visited, a.blue:hover {text-decoration:none;}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 
               "PingFang SC", "Hiragino Sans GB", 
               "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
	-webkit-tap-highlight-color: transparent; 
	
}

:lang(zh-Hans) {
  font-family: "PingFang SC", "Hiragino Sans GB", 
               "Microsoft YaHei", sans-serif;
}

:lang(en) {
  font-family: -apple-system, BlinkMacSystemFont, 
               "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
  /* 抗锯齿渲染 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* 移动端字号基准 */
  font-size: 12px;
  line-height: 1.47;
  letter-spacing: -0.02em;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 10px;
    margin-bottom: 0px;
}

.user-info {
    display: flex;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f0f0f0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
	color:#555;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
	margin-top:5px;
}

.user-id {
    font-size: 14px;
    color: #888;
}

.notification {
    position: relative;
}

.notification-icon {
    font-size: 24px;
    color: #333;
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ff4d4f;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

 /* VIP卡片 */
.vip-card {
  background: url('../images/viphg.png?t=123') no-repeat center center;
  background-size: 100% 100%; /* 修改为100% 100%确保图片完全覆盖并拉伸适应 */
  border-radius: 10px;
  color: white;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  /* 调整高度以更好地匹配图片比例 */
  height: 100px; /* 增加高度 */
}

/* 减轻遮罩透明度，让背景图更清晰 */
.vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vip-badge {
	margin-top:25px;
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.vip-badge i {
    margin-right: 5px;
    color: #ffe066;
}

.vip-details {
    font-size: 13px;
	color: #f2f2f2;
}

.vip-views, .vip-expiry {
    margin-bottom: 5px;
	margin-left:15px;
}

.vip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: rotate(45deg);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.diamond i {
    transform: rotate(-45deg);
    color: white;
}

/* 用户资产样式 */
.user-assets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.asset-card {
	border:1px solid #f9f9f9;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 18px;
    color: white;
}

/* 资产区域样式 */
.assets-section {
	/*
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	*/
	margin-bottom: 10px;
}

.assets-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.money-icon {
    background-color: #ff85a2;
}

.points-icon {
    background-color: #ff85a2;
}

.member-icon {
    background-color: #ff85a2;
}

.asset-info {
    text-align: center;
}

.asset-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 0px;
}

.asset-value {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b6b;
}

/* 推广横幅样式 */
.promo-banner {
    border-radius: 12px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.2);
    overflow: hidden;
    position: relative;
}

.promo-content {
    z-index: 1;
}

.promo-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.promo-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-desc {
    font-size: 14px;
    opacity: 0.9;
}

.promo-image {
    z-index: 1;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 功能区域样式 */
.functions-section {
    background-color: white;
    border-radius: 12px;
    padding: 10px;
	padding-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
	margin-left:5px;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.function-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: #ffaa5b;
    transition: transform 0.3s ease;
}

.function-item:hover .function-icon {
    transform: scale(1.1);
}

.function-name {
    font-size: 14px;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .functions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .function-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .function-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .user-assets {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .asset-card {
        padding: 10px;
    }
    
    .asset-title {
        font-size: 12px;
    }
    
    .asset-value {
        font-size: 14px;
    }
    
    .promo-title {
        font-size: 18px;
    }
    
    .promo-subtitle {
        font-size: 16px;
    }
    
    .functions-grid {
        gap: 10px;
    }
    
    .function-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .function-name {
        font-size: 12px;
    }
}


.mkty-bottom-menu{position: fixed;height:50px; bottom:0px; left:0;width: 100%;background-color: #fcfcfc;border-top:1px solid #f0f0f0;overflow: hidden;z-index: 9;-webkit-transition:bottom 0.4s;}
.mkty-bottom-menu ul{padding: 0 2px;color:#888;font-size: 16px;}
.mkty-bottom-menu .btmm-item{float: left;width: 20%;}
.mkty-bottom-menu .btmm-item .mktybm-pmt{position: relative;}
.mkty-bottom-menu .btmm-item .mktybm-pmt-dot{position: absolute;top:3px;right:-1px;width: 8px;height: 8px; background-color: #f30;border-radius: 5px;}
.mkty-bottom-menu .btmm-item a{display: block;padding-top: 6px;padding-bottom: 5px;}
.mkty-bottom-menu .btmm-item .btmm-icon{display: block; font-size: 21px;text-align: center;line-height: 25px;color:#6d6d6d;}
.mkty-bottom-menu .btmm-item .btmm-txt{display: block;font-size: 12px;text-align: center;line-height: 12px;color:#6d6d6d;}
.mkty-bottom-menu .btmm-item.active .btmm-icon{color:#f264ce;}
.mkty-bottom-menu .btmm-item.active .btmm-icon.btmm-big .mktyiconfont{color:#fff;display:inline-block;line-height: 38px;font-size: 30px; width: 80%;border-radius: 20px;background-color: #53b0f2;}
.mkty-bottom-menu .btmm-item.active .btmm-txt{color:#f264ce;}
.active::after {
    content: '';
    width: 100%;
    background: none;
}

.mkty-bottom-menu .btmm-item .btmm-icon {
    display: block;
    text-align: center;
    line-height: 25px;
    color: #bababa;
}
.mkty-bottom-menu .btmm-item a {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}

@font-face {
  font-family: 'iconfont';
  src: url('../fontx/iconfont.woff2?t=1733650319584') format('woff2'),
       url('../fontx/iconfont.woff?t=1733650319584') format('woff'),
       url('../fontx/iconfont.ttf?t=1733650319584') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

