/* ==========================================================================
   手机版会员区统一皮肤 —— 对齐参考站 m.* 与本站手机首页
   所有会员/代理/充值/提现页都走 Template/Mobile/Public_header.php 这一个头，
   所以在这里改一次，全部页面同时生效。
   参考站实测取值（视口 526px，换算到 390px 手机约 ×0.74）：
     顶部    linear-gradient(to top,#dc3b3f,#dc3b40)，白字 21 → 17px，高 54 → 44px
     底部导航 #22292c，选中 #e54042，共 5 项
     页面底色 #efeef4
   ========================================================================== */

/* ---- 顶部：原来是深蓝(#1b3a6b 系)，改成参考站的红 ---- */
.am-header.nav_bg,
header.am-header{
  background:linear-gradient(to top,#dc3b3f,#dc3b40) !important;
  border:0 !important;box-shadow:none !important;
  height:calc(44px + env(safe-area-inset-top)) !important;
  padding-top:env(safe-area-inset-top) !important;
}
.am-header .am-header-title,
.am-header h1{
  font-size:17px !important;font-weight:400 !important;color:#fff !important;
  height:44px !important;line-height:44px !important;margin:0 !important;
}
.am-header a,.am-header i,.am-header .am-header-right a,.am-header .am-header-left a{
  color:#fff !important;font-size:14px !important;
}
.am-header .am-header-nav{height:44px;line-height:44px}

/* ---- 底部导航：浅色 4 项 → 深炭 5 项，和手机首页一致 ---- */
.am-navbar.bottom_navbar{
  background:#22292c !important;border-top:0 !important;
  padding-bottom:env(safe-area-inset-bottom);
}
/* 白底其实画在内层的 <ul> 上（实测 .am-navbar-nav = rgb(255,255,255)），要一起清掉 */
.am-navbar.bottom_navbar .am-navbar-nav{background:transparent !important;border:0 !important}
.am-navbar.bottom_navbar .am-navbar-nav>li{background:transparent !important}
.am-navbar.bottom_navbar .am-navbar-nav>li>a,
.bottom_navbar_list{
  color:#98a1a7 !important;background:none !important;
}
.am-navbar.bottom_navbar .am-navbar-label{
  color:inherit !important;font-size:12px !important;
}
.am-navbar.bottom_navbar .iconfont{color:inherit !important;font-size:21px !important}
.am-navbar.bottom_navbar li.mnav-on>a,
.am-navbar.bottom_navbar li.mnav-on .am-navbar-label{color:#e54042 !important}
/* 5 等分（amazeui 原来按 4 等分排） */
.am-navbar.bottom_navbar .am-avg-sm-4>li{width:20% !important}

/* ---- 页面底色 ---- */
body{background:#efeef4}

/* ---- 会员中心：对齐参考站 /userCenter/userCenterMenu ---- */
.my_header_content .mc-vip{
  display:inline-block;margin-left:8px;padding:0 7px;border-radius:9px;
  background:linear-gradient(180deg,#ffd76a,#f0a91f);color:#7a4a00;
  font-size:11px;font-weight:700;line-height:18px;vertical-align:1px;
}
.mc-eye{margin-left:6px;font-size:14px;color:#9aa0ab !important;text-decoration:none}
.mc-eye.off{opacity:.45}

.mc-list li>a,.mc-list li>span{display:flex;align-items:center;height:54px;padding:0 14px}
.mc-list .square_bg{
  width:26px;height:26px;border-radius:7px;color:#fff;flex:none;
  display:inline-flex;align-items:center;justify-content:center;font-size:15px;margin-right:12px;
}
.mc-list li span{font-size:15px;color:#333}
.mc-list .icon-arrowright{margin-left:auto;color:#c8c8d0;font-size:15px}

/* 购彩助手：开关 */
.mc-switch>span{width:100%}
.mc-sw{
  margin-left:auto;width:42px;height:24px;border-radius:12px;background:#d7d7de;
  position:relative;transition:background .18s;flex:none;
}
.mc-sw::after{
  content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .18s;
}
.mc-sw.on{background:#e04a4a}
.mc-sw.on::after{transform:translateX(18px)}

/* 行高压到参考站的 54px（老主题 my_set_list 默认更高） */
.my_set_list.mc-list li{height:54px !important;line-height:54px !important;margin:0 !important;border-bottom:1px solid #efeef4}
.my_set_list.mc-list li>a,.my_set_list.mc-list li>span{height:54px !important;line-height:54px !important;padding:0 14px !important}

/* ---- 统一返回键（JS 注入的 .mback-inject）---- */
.am-header .mback-inject{display:flex;align-items:center;height:44px}
.am-header .mback-inject a{
  display:flex;align-items:center;gap:2px;height:44px;padding:0 10px 0 12px;
  color:#fff !important;font-size:15px;line-height:44px;
}
.am-header .mback-inject .icon-arrow-left{font-size:17px}
.am-header .mback-inject .mback-txt{font-size:15px}

/* ---- 底部导航对齐：5 等分、图标在上文字在下、整齐居中 ---- */
.am-navbar.bottom_navbar{height:calc(56px + env(safe-area-inset-bottom))}
.am-navbar.bottom_navbar .am-navbar-nav{height:56px;display:flex}
.am-navbar.bottom_navbar .am-navbar-nav>li{
  width:20% !important;flex:1 1 20%;min-width:0;height:56px;
}
.am-navbar.bottom_navbar .am-navbar-nav>li>a,
.am-navbar.bottom_navbar .bottom_navbar_list{
  display:flex !important;flex-direction:column;align-items:center;justify-content:center;
  height:56px;padding:0 !important;gap:2px;overflow:hidden;
}
.am-navbar.bottom_navbar .iconfont{
  font-size:22px !important;line-height:1;height:24px;display:flex;align-items:center;
}
.am-navbar.bottom_navbar .am-navbar-label{
  font-size:11px !important;line-height:1.1;white-space:nowrap;
  max-width:100%;overflow:hidden;text-overflow:clip;margin:0;
}

/* ---- 个人资料页：两 tab 分段头 + 字段列表（对齐对比站）---- */
.am-header .winners_tab{
  display:flex;justify-content:center;align-items:center;height:44px;width:auto;
}
.am-header .winners_tab em{
  display:inline-flex;align-items:center;justify-content:center;
  height:30px;min-width:88px;padding:0 16px;font-size:15px;font-style:normal;
  color:#fff;background:rgba(255,255,255,.16);cursor:pointer;
}
.am-header .winners_tab em:first-child{border-radius:5px 0 0 5px}
.am-header .winners_tab em:last-child{border-radius:0 5px 5px 0}
.am-header .winners_tab em.active{background:#fff;color:#e4393c;font-weight:600}

.mc-profile{background:#fff}
.mc-profile li{
  display:flex;align-items:center;height:52px;padding:0 14px;margin:0;
  border-bottom:1px solid #efeef4;
}
.mc-profile li>span:first-child{font-size:15px;color:#333;flex:none}
.mc-profile .personalInfo_text,.mc-profile .personalInfo_input,.mc-profile .mc-sex,
.mc-profile .personalInfo_header{margin-left:auto}
.mc-profile .personalInfo_text{font-size:15px;color:#333;float:none !important}
.mc-profile .mc-holder{color:#c6c6cc}
.mc-profile .personalInfo_header{width:34px;height:34px;border-radius:50%;object-fit:cover}
.mc-profile .icon-arrowright{margin-left:8px;color:#c8c8d0;font-size:15px;flex:none}
.mc-profile .mc-sex select{border:0;background:transparent;font-size:15px;color:#333;text-align:right;direction:rtl}
.mc-profile .mc-date{border:0;background:transparent;font-size:15px;color:#333;text-align:right;width:130px}

/* 个人资料：邀请码行 */
.mc-profile .mc-invite{display:flex;align-items:center;gap:8px;color:#e4393c;font-weight:600}
.mc-profile .mc-copy{padding:2px 10px;font-size:12px;color:#fff;background:#e4393c;border:0;border-radius:11px;line-height:1.7;font-weight:400}
