/* ==================
   1. 主题变量（唯一源头） my_index.css
   ================== */
:root {
    --primary-color: #ff6b6b;
    --follow-color: #4da6ff;

    --bg-color: #f5f6f8;
    --section-bg: #ffffff;
    --card-bg: #ffffff;

    --text-main: #333333;
    --text-sub: #888888;

    --border-color: #eeeeee;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	 --header-icon-color: #333333;   /* 亮色模式 */
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --section-bg: #2d2d2d;
    --card-bg: #2d2d2d;

    --text-main: #e0e0e0;
    --text-sub: #aaaaaa;

    --border-color: #444444;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	 --header-icon-color: #ffffff;   /* 暗黑模式 */
}

/* ==================
   2. 基础样式
   ================== */
html, body {
    height: 100vh;   /* 关键 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
    transition: all 0.3s ease; 
}
.page {
    padding: 10px; background-color: var(--bg-color);

}
* {
    box-sizing: border-box;
}

ul, li, p, form, img {
    margin: 0;
    padding: 0;
    border: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-main);
}

.FL { float: left; }
.FR { float: right; }

.clear {
    clear: both;
    height: 0;
    visibility: hidden;
}

.W100_ {
    width: 100%;
}

/* ==================
   3. 字体 & 图标
   ================== */
@font-face {
    font-family: "yyhyfont";
    src:
        url('/m/res/font/yyhyfont.woff?93') format('woff'),
        url('/m/res/font/yyhyfont.ttf?93') format('truetype');
}

.ico {
    font-family: "yyhyfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}
a .ico {color: #333333;}
/* ==================
   4. 公共模块
   ================== */
/* ==================
 
/* ==================
   5. Header / 个人中心
   ================== */
/* ==================
   Header（与原布局一致）
   ================== */
header {
	
	 position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;

    height: 20rem;
    text-align: left;
    background-color: var(--section-bg);
	 border-radius: 0rem;   /* ✅ 和 box 保持一致 */
    overflow: hidden;      /* ✅ 防止内容溢出圆角 */
}

/* 头像 */
header p {
    width: 8rem;
    height: 8rem;
    position: absolute;
    left: 2rem;
    top: 5rem;
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
    border: #fff .4rem solid;
    box-shadow: .3rem .5rem 1rem rgba(0, 0, 0, .06);
}

header p img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* 昵称区域 */
header .nickname {
    position: absolute;
    top: 5rem;        /* 与头像 top 对齐 */
    left: 12.5rem;
    height: 8rem;     /* ✅ 和头像一样高 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .nickname h3 {
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-main);
    margin: 0;
}

header .nickname h6 {
    height: 3rem;
    line-height: 3rem;
    font-size: 1.2rem;
    color: var(--text-sub);
    margin: 0;
}
/* 签到按钮 */
header a.qdbtn {
    position: absolute;
    right: 1.8rem;
    top: 5rem;
    text-align: center;
    display: inline-block;
    height: 3.2rem;
    line-height: 3.2rem;
    background: linear-gradient(to right, #4bc0d0, #21b5b6);
    color: #fff;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    padding: 0 1.4rem 0 1.5rem;
}

/* 底部数据区 */
header .myb {
    width: 90%;
    position: absolute;
    top: 12rem;
    left: 5%;
    height: 6rem; 
    text-align: center; overflow: hidden;
}

header .myb a {
    width: 50%;
    display: block;
    float: left;
    position: relative;
}

header .myb a b {
    font-size: 1.9rem;
    font-family: Arial;
    color: var(--primary-color);
}

header .myb a span {
    display: block;
    margin-top: .2rem;
    font-size: 1.3rem;
    color: var(--text-sub);
}


  /*.set（与原布局完全一致）
   ================== */
.set {
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 2.4rem;
    line-height: 2.4rem;
    z-index: 10;
}

.set a {
    display: inline-block;
    height: 2.4rem;
    line-height: 2.4rem;
    position: relative;
    margin-left: 0.5rem;
    color: var(--text-main);
}


.set a .ico {
    font-size: 2.2rem;
    color: var(--header-icon-color);
}
.set a b {
    display: block;
    position: absolute;
    width: .8rem;
    height: .8rem;
    border-radius: .4rem;
    background-color: #FF5722;
    right: .6rem;
    top: -.5rem;
}


.qdbtn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 2rem;
}

.myb {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.myb a {
    margin: 0 2rem;
    font-size: 1.4rem;
    color: var(--text-main);
}

.myb b {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* ==================
   6. Box 卡片
   ================== */
.box {
    background: var(--card-bg);
    margin: 1rem 0;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-radius: 1rem;
}

.box h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.box h2 .more {
    float: right;
    font-size: 1.2rem;
    color: var(--text-sub);
}

/* ==================
   7. 认证 / 功能入口
   ================== */
.my_cert {
    display: flex;
}

.my_cert li {
    flex: 1;
    text-align: center;
}

.my_cert li img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.5rem;
}

.my_cert h3 {
    font-size: 1.2rem; line-height: 0.5rem;
    color: var(--text-sub);
}
.box li i.ico {      /* ✅ 文字渐变 */
    background-image: linear-gradient(to right, #4bc0d0, #21b5b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.6rem;   /* ✅ 原来 2.2rem，适当放大 */
    color: var(--text-main);
}


/*areabox*/
.areabox{width:94%;position:relative;margin:0 auto;text-align:left;display:none}
.areabox .ul{position:relative;box-sizing:border-box}
.areabox .ul li{width:100%;position:absolute;left:0;top:0;z-index:5;padding:10px 0 0 0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}
.areabox .ul li a{font-size:1.3rem;display:block;text-align:center;color:#666;float:left;min-width:3.5rem;padding:0 .5rem;height:3.2rem;line-height:3.2rem;margin:.6rem;border:#eee 1px solid;border-radius:.5rem}
.areabox .ul li a:hover,.areabox .ul li a.ed{background-color:#F7564D;color:#fff;border-color:#F7564D}
.areabox .ul dl{margin:0 0 1.5rem;clear:both;overflow:hidden;position:relative}
/*
.areabox .ul dt{float:left;line-height:3rem;font-size:1.4rem;text-align:center;color:#000;padding:0 1rem;margin:0 .8rem;border-bottom:0px;margin-top:1rem}
*/

.areabox .ul dt{float:left; width:23%;line-height:3rem;font-size:1.4rem;text-align:center;color:#000;padding:0rem;margin:0rem;border-bottom:0px;margin-top:1rem; overflow:hidden;text-overflow: ellipsis;white-space: nowrap;}
.areabox .ul dt.ed{background:#fff;border:#eee 1px solid;border-bottom:0px;border-top:#F7564D 1px solid;border-bottom:#fff 1px solid;color:#F7564D;border-radius:.3rem .3rem 0 0}
.areabox .ul dl dd{width:100%;height:2.5rem;border-bottom:#eee 1px solid;position:absolute;bottom:0;left:0;z-index:-1}

.areabox .ul li a{position:relative;color:#666;background-color:#f7f7f7;height:3.6rem;line-height:3.6rem;margin:.5rem;overflow:hidden;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;border:0;padding:0 1rem}
.areabox .ul li a:hover:before,.areabox .ul li a.ed:before{position:absolute;font-family:"yyhyfont" !important;content:"\e64a";width:2rem;height:2rem;line-height:2rem;font-size:2rem;right:0;bottom:0}

/*mask*/
.mask,.mask0,.mask1,.div_left_mask,.mask_TRnav{width:100%;max-width:480px;height:100%;position:fixed;top:0;z-index:998;background-color:rgba(0,0,0,.3)}
.mask0{background-color:rgba(255,255,255,0)}
.mask1{background-color:rgba(0,0,0,0.75)}
.mask_TRnav{background-color:rgba(0,0,0,0.45)}

/*bottom2*/
.enter_mask{width:100%;max-width:480px;height:100%;position:fixed;top:0;z-index:998;background-color:#fff}
.enter_box{width:100%;height:100vh;position:fixed;max-width:480px;z-index:1;display:none;clear:both;overflow:auto;bottom:6rem;}
.enter_box .navlogo{margin-top:20vh;text-align:center}
.enter_box .navlogo img{width:6rem;display:block;margin:0 auto}
.enter_box .navlogo h2{font-size:2.4rem;color:#ccc;font-weight:normal}
.enter_box .navlist{position:fixed;bottom:6rem;max-width:480px;padding:0 2rem;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}
.enter_box a{width:25%;display:inline-block;text-align:center;float:left;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;padding:1.5rem 0}
.enter_box a i{width:4rem;height:4rem;margin:0 auto;font-size:1.8rem;line-height:4rem;border-radius:2rem;display:block;color:#fff;position:relative}
.enter_box a i b{position: absolute;top: -5px;right: -5px;min-width:0.8em;height:0.8em;padding:3px;text-align: center;line-height: 0.8em;font-size:11px;background: rgba(251,92,92,0.8);font-style: normal;color:#fff !important;border-radius:1.2em;}
.enter_box a span{width:6rem;height:1.2rem;font-size:1.4rem;display:block;margin:1rem auto 0 auto}
.enter_box a i._index{background-color:#8addb9;background-image:-webkit-linear-gradient(135deg,#FF6F6F,#ffa2a2)}
.enter_box a i._manghe{background-color:#ff7676;background-image:-webkit-linear-gradient(135deg,#ff7676,#ffbeb0)}
.enter_box a i._huxuan{background-color:#8addb9;background-image:-webkit-linear-gradient(135deg,#43c38b,#8addb9)}
.enter_box a i._trend{background-color:#FD6EBA;background-image:-webkit-linear-gradient(135deg,#FD6EBA,#ffabd8)}
.enter_box a i._tg{background-color:#0DD068;background-image:-webkit-linear-gradient(135deg,#0DD068,#77e5aa)}
.enter_box a i._dating{background-color:#EA4C89;background-image:-webkit-linear-gradient(135deg,#EA4C89,#ff8eba)}
.enter_box a i._video{background-color:#6DADFF;background-image:-webkit-linear-gradient(135deg,#6DADFF,#b0ccef)}
.enter_box a i._shop{background-color:#FF9966;background-image:-webkit-linear-gradient(135deg,#FF9966,#ffd09d)}
.enter_box a i._hb{background-color:#FF604A;background-image:-webkit-linear-gradient(135deg,#ff794a,#ffb196)}
.enter_box a i._hn{background-color:#fd5941;background-image:-webkit-linear-gradient(135deg,#fd5941,#ff9586)}
.enter_box a i._myhn{background-color:#db7798;background-image:-webkit-linear-gradient(135deg,#db7798,#f29db9)}
.enter_box a i._party{background-color:#FEB118;background-image:-webkit-linear-gradient(135deg,#FEB118,#ffca60)}
.enter_box a i._article{background-color:#00D8D9;background-image:-webkit-linear-gradient(135deg,#0ebfc0,#9eebeb)}
.enter_box a i._qun{background-color:#D88CFF;background-image:-webkit-linear-gradient(135deg,#D88CFF,#ecc6ff);font-size:22px}
.enter_box a i._msg{background-color:#4ebdf1;background-image:-webkit-linear-gradient(135deg,#4ebdf1,#8fdbff)}
.enter_box a i._vip{background-color:#D86EA3;background-image:-webkit-linear-gradient(135deg,#B28850,#d9b686)}
.enter_box a i._set{background-color:#E862F5;background-image:-webkit-linear-gradient(135deg,#978eea,#c1b8fb)}
.enter_box #enter_close {width:4.8rem;height:4rem;line-height:4rem;font-size:1.4rem;position:fixed;bottom:.8rem;left:-webkit-calc(50% - 2.4rem);background-image:-webkit-linear-gradient(-90deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.6) 100%);border-radius:2rem;color:#fff;box-shadow: 0 0 1.5rem rgb(0 0 0 / 12%);}




/*animation*/
.tips0_100_0{position:fixed;width:130px;height:110px;left:-webkit-calc(50vw - 65px);top:-webkit-calc(50vh - 55px);filter:alpha(opacity=0);-moz-opacity:0;opacity:0;display:none;background-color:#000;overflow:hidden;color:#fff;border-radius:15px;font-size:1.4rem;text-align:center;box-sizing:border-box;padding-top:10px}
.tips0_100_0 i{width:60px;height:60px;line-height:60px;font-size:55px;margin:0 auto 5px auto;display:block}
#msg_box{min-width:4rem;max-width:70vw;line-height:2.4rem;padding:1rem 2rem;position:fixed;border-radius:.5rem;background-color:rgba(0,0,0,.9);z-index:99999;/*box-shadow:1px 1px 50px rgba(0,0,0,.3);*/-webkit-user-select:none}
#msg_box .title{font-size:1.4rem;color:#fff}

.divTopDown {-webkit-animation-name:divTopDown;animation-name:divTopDown;-webkit-animation-duration:0.4s;animation-duration:0.4s;-webkit-animation-fill-mode:both;animation-fill-mode:both}

@keyframes alpha0_100{0%{opacity:0;}100% {opacity:1;}}
.alpha0_100 {animation:alpha0_100;animation-duration:.3s;-webkit-animation:alpha0_100 .3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}

@keyframes alpha0_100_1s{0%{opacity:0;}100% {opacity:1;}}
.alpha0_100_1s {animation:alpha0_100_1s;animation-duration:1s;-webkit-animation:alpha0_100_1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}

.divTopDown {-webkit-animation-name:divTopDown;animation-name:divTopDown;-webkit-animation-duration:0.4s;animation-duration:0.4s;-webkit-animation-fill-mode:both;animation-fill-mode:both}

/* ==================
   8. 响应式
   ================== */

/*
@media screen and (max-width: 320px) { html { font-size: 50%; } }
@media screen and (min-width: 360px) { html { font-size: 60%; } }
@media screen and (min-width: 375px) { html { font-size: 60%; } }
@media screen and (min-width: 414px) { html { font-size: 66.2%; } }
*/
