/* ============ 会员特区 ============ */
.memberzone-fullscreen {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
    background: #f5f6f8;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.mz-header-placeholder { width: 36px; display: inline-block; flex: 0 0 36px; }

/* 顶部提示条 */
.memberzone-tip {
    display: none;
    margin: 10px 10px 0;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    background: #fff7e6;
    color: #a06800;
    border: 1px solid #ffe0a3;
}
.memberzone-tip.show { display: block; }

.memberzone-scroll { flex: 1; overflow-y: auto; padding: 10px 10px 24px; }
.memberzone-list { display: flex; flex-direction: column; gap: 10px; }

/* 文章卡片 */
.mz-card {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s, box-shadow 0.15s;
}
.mz-card:active { transform: scale(0.985); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08); }

.mz-cover {
    width: 96px;
    height: 72px;
    flex: 0 0 96px;
    border-radius: 6px;
    object-fit: cover;
    background: #eceef1;
}
.mz-cover-wrap { position: relative; width: 96px; height: 72px; flex: 0 0 96px; }
.mz-cover-wrap .mz-cover { width: 100%; height: 100%; }

/* 锁定态遮罩 */
.mz-lock-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.mz-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mz-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.mz-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.mz-time { font-size: 12px; color: #aaa; }

/* 权限徽章 */
.mz-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}
.mz-badge.lv0 { background: #e8f8ee; color: #07C160; }
.mz-badge.lv1 { background: linear-gradient(135deg, #ffdf8a, #f5c542); color: #7a5200; }
.mz-badge.lv2 { background: linear-gradient(135deg, #ffb36b, #ff7a45); color: #7a2e00; }

/* 无权限卡片置灰 */
.mz-card.locked .mz-title { color: #8a8a8a; }

/* 空状态 / 加载 / 错误 */
.mz-empty, .mz-loading, .mz-error {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 14px;
}
.mz-empty i, .mz-error i { display: block; font-size: 40px; margin-bottom: 10px; color: #d5d8dc; }

/* ============ 文章详情 ============ */
.mz-detail { padding: 14px 14px 30px; }
.mz-detail-head {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
}
.mz-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    word-break: break-all;
    margin-bottom: 8px;
}
.mz-detail-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #aaa;
}
.mz-detail-content {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 10px;
}
.mz-detail-imgs {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mz-detail-imgs img {
    width: 100%;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    background: #eceef1;
}

/* 图片预览层 */
.mz-preview {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mz-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mz-preview .mz-preview-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .mz-cover, .mz-cover-wrap { width: 84px; flex-basis: 84px; height: 64px; }
    .mz-title { font-size: 14px; }
}
