/*
 * v20260801_499904_reward_clean_final
 *
 * 499904最终简洁样式：
 * 1. 不要未打赏和已打赏外框
 * 2. 本期资料标题与资料内容之间不要虚线
 * 3. 只保留必要的分隔虚线
 */

:root{
    --reward-499904-dashed:#d8c588;
}


/* ==================================================
 * 一、清除所有大外框
 * ================================================== */

/* 未打赏大框 */
html body .view
.zs-reward-panel-v20260731,
html body .view
.zs-reward-panel-v20260731.tema-history-item{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;

    margin:3px 0 6px!important;
    padding:0!important;

    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}

/* 已打赏本期资料大框 */
html body .view
.current-unified-box{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;

    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}


/* ==================================================
 * 二、未打赏
 * 顺序：标题 → 按钮 → 人数 → 四步说明
 * ================================================== */

/* 标题下方不要虚线 */
html body .view
.zs-reward-panel-v20260731
.zs-reward-material-title{
    box-sizing:border-box!important;
    width:100%!important;

    margin:0!important;
    padding:0 0 5px!important;

    border:0!important;
    border-bottom:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* 按钮区域，不要顶部虚线，只在底部保留一条 */
html body .view
.zs-reward-panel-v20260731
.zs-reward-actions{
    box-sizing:border-box!important;
    width:100%!important;

    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px!important;

    margin:4px 0 0!important;
    padding:0 0 7px!important;

    border:0!important;
    border-bottom:1px dashed var(--reward-499904-dashed)!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* 人数栏，只在底部保留一条虚线 */
html body .view
.zs-reward-panel-v20260731
.zs-reward-message{
    box-sizing:border-box!important;
    width:100%!important;

    margin:6px 0 0!important;
    padding:0 0 7px!important;

    border:0!important;
    border-bottom:1px dashed var(--reward-499904-dashed)!important;
    background:transparent!important;
    box-shadow:none!important;

    text-align:center!important;
}

/* 四步说明保留淡黄色区域，但不要额外大外框 */
html body .view
.zs-reward-panel-v20260731
.zs-reward-guide{
    box-sizing:border-box!important;
    width:100%!important;

    margin:7px 0 0!important;
    padding:7px 9px!important;

    border:1px dashed #dfbd68!important;
    border-radius:7px!important;
    background:#fff9df!important;
    box-shadow:none!important;
}

/* 四步内部行不再每行加虚线，避免虚线过多 */
html body .view
.zs-reward-panel-v20260731
.zs-reward-guide p{
    margin:2px 0!important;
    padding:0!important;

    border:0!important;
    border-bottom:0!important;
    background:transparent!important;
}


/* ==================================================
 * 三、已打赏
 * 顺序：标题 → 内容 → 已打赏提示 → 网址广告
 * ================================================== */

/* 本期资料标题与内容之间不要虚线 */
html body .view
.current-unified-box
> .current-unified-head{
    box-sizing:border-box!important;
    width:100%!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-bottom:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* 资料内容下方保留一条虚线 */
html body .view
.current-unified-box
> .current-unified-body{
    box-sizing:border-box!important;
    width:100%!important;

    margin:4px 0 0!important;
    padding:0 0 7px!important;

    border:0!important;
    border-bottom:1px dashed var(--reward-499904-dashed)!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* 已打赏提示底部保留一条虚线 */
html body .view
.current-unified-box
.paid-inside-current-box-499904-v20260801,
html body .view
.current-unified-box
.paid-inside-current-box-v20260801{
    box-sizing:border-box!important;
    width:100%!important;

    margin:0!important;
    padding:7px 0!important;

    border:0!important;
    border-bottom:1px dashed var(--reward-499904-dashed)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* 清除已打赏文字自身的独立框 */
html body .view
.current-unified-box
.zs-reward-paid-v1174,
html body .view
.current-unified-box
.paid-inside-current-box-499904-v20260801
.zs-reward-paid-v1174,
html body .view
.current-unified-box
.paid-inside-current-box-v20260801
.zs-reward-paid-v1174{
    box-sizing:border-box!important;
    width:100%!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;

    text-align:center!important;
}

/* 网址广告区域不要虚线和外框 */
html body .view
.current-unified-box
.backend-current-material-title-499904-v20260801,
html body .view
.current-unified-box
.backend-title-inside-current-box-499904-v20260801,
html body .view
.current-unified-box
.backend-title-inside-current-box-v20260801{
    box-sizing:border-box!important;
    width:100%!important;

    margin:0!important;
    padding:7px 0 1px!important;

    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    background:transparent!important;
    box-shadow:none!important;

    text-align:center!important;
}


/* ==================================================
 * 四、手机端
 * ================================================== */

@media(max-width:600px){

    html body .view
    .zs-reward-panel-v20260731{
        margin:2px 0 5px!important;
    }

    html body .view
    .zs-reward-panel-v20260731
    .zs-reward-material-title{
        padding-bottom:4px!important;
    }

    html body .view
    .zs-reward-panel-v20260731
    .zs-reward-actions{
        margin-top:3px!important;
        padding-bottom:6px!important;
        gap:8px!important;
    }

    html body .view
    .zs-reward-panel-v20260731
    .zs-reward-message{
        margin-top:5px!important;
        padding-bottom:6px!important;
    }

    html body .view
    .zs-reward-panel-v20260731
    .zs-reward-guide{
        margin-top:6px!important;
        padding:6px 7px!important;
    }

    html body .view
    .current-unified-box
    > .current-unified-body{
        margin-top:3px!important;
        padding-bottom:6px!important;
    }

    html body .view
    .current-unified-box
    .paid-inside-current-box-499904-v20260801,
    html body .view
    .current-unified-box
    .paid-inside-current-box-v20260801{
        padding:6px 0!important;
    }

    html body .view
    .current-unified-box
    .backend-current-material-title-499904-v20260801,
    html body .view
    .current-unified-box
    .backend-title-inside-current-box-499904-v20260801,
    html body .view
    .current-unified-box
    .backend-title-inside-current-box-v20260801{
        padding-top:6px!important;
    }
}

/*
 * v20260801_499904_current_body_same_as_history
 * 本期资料正文与499904历史记录正文使用同一字号、行高和字重。
 */
html body .view
.current-unified-box
> .current-unified-body,
html body .view
.current-unified-box
> .current-unified-body .current-unified-item{
    font-size:clamp(15px,4vw,18px)!important;
    line-height:1.36!important;
    font-weight:800!important;
    letter-spacing:0!important;
    font-family:Arial,"Microsoft YaHei",sans-serif!important;
}

/* 本期资料每条内容不要被旧的小字号规则压缩 */
html body .view
.current-unified-box
.current-unified-item,
html body .view
.current-unified-box
.current-unified-item.short{
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:inherit!important;
}

/* 手机上保持和历史记录正文一致，不缩得更小 */
@media(max-width:600px){
    html body .view
    .current-unified-box
    > .current-unified-body,
    html body .view
    .current-unified-box
    > .current-unified-body .current-unified-item{
        font-size:clamp(15px,4.15vw,17px)!important;
        line-height:1.34!important;
        font-weight:800!important;
    }
}

/*
 * v20260801_499904_current_title_same_as_history
 * 本期资料标题与499904历史记录标题完全一致。
 */
html body .view
.current-unified-box
> .current-unified-head,

html body .view
.current-unified-box
> .current-unified-head
.inner-unified-title,

html body .view
.current-unified-box
> .current-unified-head
.current-unified-head-main,

html body .view
.current-unified-box
> .current-unified-head
.current-unified-qishu,

html body .view
.current-unified-box
> .current-unified-head
.current-unified-author,

html body .view
.current-unified-box
> .current-unified-head
.current-unified-type{
    font-size:clamp(14px,3.85vw,16px)!important;
    line-height:1.24!important;
    font-weight:900!important;
    letter-spacing:0!important;
    font-family:Arial,"Microsoft YaHei",sans-serif!important;
}

/* 取消本期资料标题内部旧字号继承 */
html body .view
.current-unified-box
> .current-unified-head *{
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:inherit!important;
}

/* 与历史标题保持同样紧凑间距 */
html body .view
.current-unified-box
> .current-unified-head{
    min-height:0!important;
    gap:2px 5px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}

/* 小屏手机与历史标题一致 */
@media(max-width:390px){
    html body .view
    .current-unified-box
    > .current-unified-head{
        gap:2px 4px!important;
    }

    html body .view
    .current-unified-box
    > .current-unified-head,
    html body .view
    .current-unified-box
    > .current-unified-head
    .inner-unified-title{
        font-size:clamp(14px,3.85vw,16px)!important;
        line-height:1.24!important;
    }
}
