:root{
    --bg:#f6f3ee;
    --surface:#ffffff;
    --text:#1d2d2a;
    --sub:#5f6e6a;
    --green:#1f5c4b;
    --gold:#b78a52;
    --line:#e8e2d8;
    --shadow:0 8px 24px rgba(23, 42, 36, 0.08);
}
body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    background:var(--bg);
    color:var(--text);
}
.page{
    max-width:750px;
    margin:0 auto;
    padding-bottom:64px;
    background:linear-gradient(180deg,#edf3ef 0%,#f6f3ee 34%,#f6f3ee 100%);
}
.member-head{
    margin:0 0 15px;
    border-radius:0;
    position:relative;
    overflow:hidden;
    color:#fff;
    /* 渐变画在区块本体上，避免部分手机 WebView 对 ::before + inset 叠层不绘制 */
    background-color:#173d35;
    background-image:
        linear-gradient(160deg,rgba(8,24,20,.56),rgba(7,17,14,.74)),
        radial-gradient(circle at 80% 18%,rgba(255,219,162,.26),transparent 40%),
        linear-gradient(120deg,#295a4f,#173d35);
    background-repeat:no-repeat;
}
.member-head-inner{
    position:relative;
    z-index:1;
    padding:22px 16px 18px;
}
.edit-entry{
    position:absolute;
    right:16px;
    top:14px;
    width:30px;
    height:30px;
    border-radius:50%;
    border:1px solid rgba(255,232,198,.4);
    background:rgba(41,66,59,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff2dc;
    text-decoration:none;
}
.edit-entry .iconfont{
    font-size:16px;
    line-height:1;
}
.member-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:6px 0 0 0;
    padding-bottom:12px;
}
.avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    background-color:rgba(255,255,255,.2);
    background-image:
        url('/res/images/nophoto.png'),
        linear-gradient(135deg,#e8d5b7,#b98b52);
    background-size:cover, cover;
    background-position:center, center;
    background-repeat:no-repeat, no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 14px rgba(0,0,0,.25);
    overflow:hidden;
}
.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.member-info{
    width:calc(100% - 70px);
    padding-left:12px;
}
.member-name{
    font-size:20px;
    font-weight:700;
    color:#fff6e7;
}
.member-id{
    margin-top:4px;
    color:rgba(255,241,218,.92);
    font-size:12px;
}
.invite-row{
    margin-top:8px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    margin-left:-4px;
    margin-right:-4px;
}
.invite-row > *{
    margin:4px;
}
.invite-label{
    font-size:12px;
    color:rgba(255,241,218,.9);
}
.invite-code{
    padding:3px 8px;
    border-radius:8px;
    font-size:13px;
    color:#fff8ea;
    border:1px dashed rgba(255,232,198,.45);
    background:rgba(41,66,59,.38);
}
.copy-btn{
    height:26px;
    line-height:24px;
    padding:0 10px;
    border-radius:13px;
    border:1px solid rgba(255,232,198,.45);
    background:rgba(183,138,82,.3);
    color:#fff4df;
    font-size:12px;
}
.asset-board{
    margin-top:18px;
    display:flex;
    flex-wrap:nowrap;
    overflow-x:hidden;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.asset-board .asset-item + .asset-item{
    margin-left:10px;
}
.asset-item{
    flex:1 1 calc((100% - 20px) / 3);
    border:1px solid rgba(255,237,213,.28);
    border-radius:10px;
    padding:10px;
    background:rgba(255,255,255,.08);
    min-width:0;
}
.asset-item .k{
    font-size:12px;
    color:rgba(255,245,228,.78);
    white-space:nowrap;
}
.asset-item .v{
    margin-top:6px;
    font-size:20px;
    font-weight:700;
    color:#fff7e8;
    white-space:nowrap;
}
.asset-board::-webkit-scrollbar{
    height:4px;
}
.asset-board::-webkit-scrollbar-thumb{
    background:rgba(255,232,198,.35);
    border-radius:999px;
}
.asset-board.is-overflow{
    overflow-x:auto;
    scrollbar-width:thin;
}
.asset-board.is-overflow .asset-item{
    flex:0 0 auto;
    min-width:max(calc((100% - 20px) / 3), max-content);
}
.section{
    margin:0 14px 12px;
    background:var(--surface);
    border-radius:14px;
    box-shadow:var(--shadow);
    overflow:hidden;
}
.section-body{padding:16px 14px}
.title{
    margin:0 0 10px;
    color:#173e35;
    font-size:17px;
    font-weight:700;
}
.desc{
    margin:0;
    font-size:13px;
    line-height:1.7;
    color:#6a7772;
}
.list{
    margin:0;
    padding:0;
    list-style:none;
}
.list li{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #f1ece4;
    font-size:14px;
}
.list li:last-child{border-bottom:none}
.list .name{color:#4f5f5a}
.list .value{
    color:#1e4b40;
    font-weight:700;
}
.badge{
    display:inline-block;
    padding:2px 8px;
    border-radius:999px;
    font-size:12px;
    color:#7a5627;
    background:#fff4e3;
    border:1px solid #ebd3af;
}
.badge-inactive{
    color:#7a7a7a;
    background:#f3f3f3;
    border-color:#dddddd;
}
.quick-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-gap:10px;
    gap:10px;
}
.quick-grid-2{
    grid-template-columns:1fr 1fr;
}
.quick-grid-5{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.feature-wrap{
    margin-top:8px;
}
.feature-group-title{
    font-size:12px;
    color:#8a958f;
    margin-bottom:8px;
}
.feature-grid{
    display:grid;
    grid-gap:10px;
    gap:10px;
}
.feature-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.feature-grid-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.feature-card{
    min-height:74px;
    border-radius:12px;
    border:1px solid #e9ddcc;
    background:linear-gradient(160deg,#fffdf9,#fff6e9);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    text-decoration:none;
}
.feature-card .iconfont{
    font-size:21px;
    color:#1f5c4b;
    line-height:1;
}
.feature-card .txt{
    margin-top:7px;
    font-size:13px;
    color:#4f5f5a;
    font-weight:600;
}
.feature-card-alt{
    background:linear-gradient(160deg,#f5faf8,#edf6f2);
    border-color:#dcebe4;
}
.quick-item{
    border:1px solid var(--line);
    border-radius:10px;
    padding:12px 6px;
    text-align:center;
    color:#5b6a65;
    background:#fffdf9;
}
.quick-item .iconfont{
    font-size:22px;
    line-height:1;
    color:#1f5c4b;
}
.quick-item .txt{
    margin-top:6px;
    font-size:12px;
}
#hui-footer.footer-menu a.active{
    color:var(--green);
}

.member-logout-section{
    margin-top:4px;
}
.member-logout-btn{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:14px 16px;
    font-size:14px;
    color:#999;
    background:#fff;
    border:none;
    border-radius:12px;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}