* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: #000;
    margin: 0;
    padding: 0;
    color: #26303e;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

img {
    vertical-align: text-top;
    width: 100%;
}

/* ===== 顶部 ===== */
header {
    background: #1c2b3f;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(28, 43, 63, .35);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
}

header h1 {
    font-size: 19px;
    letter-spacing: 2px;
}

header h1 small {
    font-size: 12px;
    font-weight: 400;
    color: #93a7c0;
    letter-spacing: 1px;
    margin-left: 10px;
}

header .btn-group {
    display: flex;
    gap: 10px;
    color: #000;
}

.btn {
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    /*  transition: transform .12s ease, box-shadow .12s ease, background .12s ease; */
}

.btn:active {
    transform: scale(.96);
}

/* .btn-back {
    background: #2e4058;
    color: #cfe0f5;
    border: 1px solid #465d79;
}

.btn-back:hover {
    background: #3a4f6b;
} */

/* .btn-restart {
    background: #e8962a;
    color: #fff;
    box-shadow: 0 3px 10px rgba(232, 150, 42, .35);
}

.btn-restart:hover {
    background: #d98818;
} */

button {
    border: none;
}

.choices button {
    background: url(../images/btn_choices.png) no-repeat;
    background-size: 8.7rem;
    width: 8.7rem;
    height: 1.58rem;
    background-position: 0 0;
    color: #c6c6c6;
    font-size: .7rem;
    font-weight: bold;
    position: relative;

}

.choices button:hover {
    background-position: 0 -1.89rem;
    color: #5e2d2d;
}

.choices button:disabled {
    cursor: not-allowed;
    background-position: 0 -3.81rem;
    color: #c6c6c6;
}

.choices button:disabled::after {
    content: "";
    background: url(../images/btn_choices.png) no-repeat;
    background-size: 8.7rem;
    background-position: 0 -5.8rem;
    width: 1.28rem;
    height: 1.29rem;
    position: absolute;
    top: 50%;
    left: 3.35rem;
    transform: translate(0, -50%);
    z-index: 2;
    overflow: hidden;
}

/* .choices button:disabled:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
    box-shadow: none;
} */

/* ===== 主体 ===== */
main.video_main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 面包屑 */
#breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: #6b7684;
}

#breadcrumb .crumb {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 999px;
    padding: 3px 11px;
}

#breadcrumb .crumb.now {
    background: #1f5fbf;
    color: #fff;
    border-color: #1f5fbf;
    font-weight: 700;
}

#breadcrumb .sep {
    color: #a6b1c0;
}

/* 视频区 */
.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #10161f;
    /* border-radius: 14px; */
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(16, 22, 31, .35);
    margin-bottom: 0;
}

.video-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5d6f88;
    gap: 12px;
    background: radial-gradient(ellipse at 50% 40%, rgba(47, 11, 196, .12), transparent 60%), linear-gradient(180deg, #151d2a 0%, #0d1219 100%);
}

.video-placeholder .play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .play-icon svg {
    width: 26px;
    height: 26px;
    fill: #8fa3bd;
}

.video-placeholder .ph-text {
    font-size: 14px;
    letter-spacing: 2px;
}

.video-placeholder .ph-sub {
    font-size: 11.5px;
    color: #4c5e76;
}

/* 节点卡片 */
.node-card {
    width: 16rem;
    font-size: .5rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 14.25rem;
    color: #feb615;
    text-shadow: 0 0 0.2rem #000;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
}

.node-card.textlong {
    width: 20rem;
    font-size: .4rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 14.25rem;
    color: #feb615;
    text-shadow: 0 0 0.2rem #000;
    font-weight: bold;
    text-align: center;
}

.node-card::after {
    content: "";
    background: url(../images/text_left.png) no-repeat;
    background-size: 100%;
    width: 2.65rem;
    height: 2.32rem;
    position: absolute;
    top: 50%;
    left: -1rem;
    transform: translate(0, -50%);
}

.node-card::before {
    content: "";
    background: url(../images/text_right.png) no-repeat;
    background-size: 100%;
    width: 2.65rem;
    height: 2.32rem;
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translate(0, -50%);
}

.node-card .tag {
    font-weight: 800;
    color: #1d5cb0;
    display: block;
    margin-bottom: 6px;
    font-size: 14.5px;
}

.node-card.c-choice {
    border-left-color: #e8962a;
}

.node-card.c-choice .tag {
    color: #b96a00;
}

.node-card.c-action {
    border-left-color: #e8962a;
}

.node-card.c-action .tag {
    color: #b96a00;
}

.node-card.c-fail {

    color: #ffb21d;
}

.node-card.c-fail .tag {
    color: #6b7684;
}

.node-card.c-win {
    border-left-color: #2e9e6b;
    /* background: #f4fbf7; */
}

.node-card.c-win .tag {
    color: #1d7a4f;
}

.node-card.c-pink {
    border-left-color: #e05f8f;
    /*  background: #fdf3f7; */
}

.node-card.c-pink .tag {
    color: #c03c70;
}

.node-card .end-line {
    display: block;
    margin-top: 10px;
    font-weight: 800;
    font-size: 13.5px;
}

.node-card.c-fail .end-line {
    color: #c0392b;
}

.node-card.c-win .end-line {
    color: #1d7a4f;
}

.node-card.c-pink .end-line {
    color: #c03c70;
}

.node-card.c-choice .end-line,
.node-card.c-action .end-line,
.node-card .end-line.plain {
    color: #8a6a2f;
}

/* 选项区 */
.choices {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 12px; */
    position: absolute;
    bottom: 2.81rem;
    left: 50%;
    transform: translate(-50%, 0);
    width: 29.85rem;
}

.choices button {
    margin: 0 .2rem;
}

/* 结局卡片 */
.ending {
    background: rgba(0, 0, 0, .4);
    display: none;
    animation: fadeIn .45s ease both;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.ending.show {
    display: block;
}

.ending .end-type {
    display: none;
    padding: 3px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 8px;
}

.ending.perfect {
    /*  background: #e9f7ef; */
    /*  border: 1px solid #8fd6b4; */
    color: #14603c;
}

.ending.perfect .end-type {
    background: #2e9e6b;
    display: none;
    color: #fff;
}

.ending.hidden {
    /* background: #fceef4; */
    /*  border: 1px solid #f0a8c6; */
    color: #9c2f62;
}

.ending.hidden .end-type {
    background: #e05f8f;
    display: none;
    color: #fff;
}

.ending.fail {
    /* background: #f1f3f6; */
    /* border: 1px solid #cdd5df; */
    color: #4d5866;
}

.ending.fail .end-type {
    background: #8a95a4;
    color: #fff;
    display: none;
}

.ending.loop {
    background: #eaf2fe;
    /* border: 1px solid #b9d3f5; */
    color: #1d5cb0;
}

.ending.loop .end-type {
    background: #2f6fc4;
    display: none;
    color: #fff;
}

.ending .again {
    margin-top: 14px;
}


.end-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.end-textdes {
    display: none;
}


.back-home-btn {
    background: url(../images/btn_choices.png) no-repeat;
    background-size: 8.7rem;
    width: 8.7rem;
    height: 1.58rem;
    background-position: 0 0;
    color: #ffc257;
    font-size: .7rem;
    font-weight: bold;
    position: absolute;
    bottom: 2.81rem;
    left: 50%;
    transform: translate(-50%, 0);

}

.back-home-btn:hover {
    background-position: 0 -1.89rem;
    color: #5e2d2d;
}


/* 步骤提示 */
.hint-tip {
    text-align: center;
    color: #8a97a8;
    font-size: 12px;
    margin-top: 26px;
}

.hint-tip code {
    background: #eef2f7;
    border: 1px solid #dde4ec;
    border-radius: 5px;
    padding: 1px 7px;
    font-size: 11.5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn .4s ease both;
}



.skip-btn {
    background: url(../images/btn_skip.png?v=1) no-repeat;
    background-size: 100%;
    width: 2.63rem;
    height: .78rem;
    position: absolute;
    top: 2.36rem;
    right: 2.33rem;
    z-index: 5;
    text-indent: -9999rem;
    border: 0 none;
}



.pagecent {
    width: 100%;
    height: 21.6rem;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}


.startbox {
    width: 8.26rem;
    position: absolute;
    top: 15.16rem;
    left: 5.23rem;
}

.feature_page {
    /*  background: url(../images/bg.jpg) no-repeat;
    background-size: 100%; */
    width: 100%;
    height: 21.6rem;
    position: relative;
}

a.btn_start {
    width: 8.26rem;
    display: block;
}

.startbox_des {
    display: flex;
    justify-content: space-between;
    padding: 0.24rem 1.2rem .5rem 0;
    box-sizing: border-box;
}

.startbox_des p {
    font-size: .36rem;
    color: #ededed;
    text-shadow: 0 0 .5rem #000, 0 0 .85rem #000;
}

.startbox_des p span {
    color: #fba805;
}


.right_box {
    position: absolute;
    top: 2.53rem;
    right: 1.51rem;
}

.taskbox {
    background: url(../images/taskbox.png?v=5) no-repeat;
    background-size: 100%;
    width: 10.79rem;
    height: 9.55rem;
    margin-bottom: .5rem;
    position: relative
}

.cjbox {
    background: url(../images/cjbox.png) no-repeat;
    background-size: 100%;
    width: 10.79rem;
    height: 6.58rem;
    position: relative;
}

.cjboxall {
    /*  background: url(../images/cjboxall.png?v=3) no-repeat;
    background-size: 100%; */
    width: 10.79rem;
    height: 16.25rem;
    position: relative
}

.cjbox1 {
    background: url(../images/cjboxall_01.png) no-repeat;
    background-size: 100%;
    width: 10.79rem;
    height: 1.51rem;
    position: relative;
}

.cjbox2 {
    background: url(../images/cjboxall_02.png) repeat-y;
    background-size: 100%;
    width: 10.79rem;
    height: auto;
    position: relative;
}

.height_hide .cjbox2 {
    height: 5rem;
    overflow: hidden;
}

.cjbox3 {
    background: url(../images/cjboxall_03.png) no-repeat;
    background-size: 100%;
    width: 10.79rem;
    height: .23rem;
    position: relative;
}

.taskshowbox {
    display: block;
}

.line_box {
    width: 2.52rem;
    height: .14rem;
    background: #4b4b4b;
}

.line_act {
    width: 0;
    height: .14rem;
    background: #fba805;
}

.item_pa0 {
    position: absolute;
    top: 1.8rem;
    left: .35rem;
}

.item_pa1 {
    position: absolute;
    top: 1.8rem;
    left: .35rem;
}

.item_pa2 {
    position: relative;
    padding-left: .37rem;
    padding-top: .28rem;
    padding-bottom: .01rem;
    display: flex;
    flex-wrap: wrap;
}

.item_pa0 .b_item {
    width: 10.16rem;
    height: 1.35rem;
    position: relative;
    margin-bottom: .15rem;
}

.item_pa1 .b_item {
    width: 10.16rem;
    height: 1.37rem;
    position: relative;
    margin-bottom: .08rem;
}

.item_pa2 .b_item {
    width: 10.16rem;
    height: 1.37rem;
    position: relative;
    margin-bottom: .21rem;
}



.b_item1 {
    background: url(../images/cj_item1.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item2 {
    background: url(../images/cj_item2.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item3 {
    background: url(../images/cj_item3.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item4 {
    background: url(../images/cj_item4.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item5 {
    background: url(../images/cj_item5.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item6 {
    background: url(../images/cj_item6.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item7 {
    background: url(../images/cj_item7.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item8 {
    background: url(../images/cj_item8.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

.b_item9 {
    background: url(../images/cj_item9.png) no-repeat;
    background-size: 100%;
    width: 10.16rem;
    height: 1.37rem;
}

/* 默认顺序 */
.b_item {
    order: 0;
}

/* 高优先级：排前面 */
.b_item.priority-high {
    order: -1;
}

/* 低优先级：排后面 */
.b_item.priority-low {
    order: 1;
}


.b_item_info {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: .01rem;
    left: 1.64rem;
}

.line_num {
    font-size: .28rem;
    color: #8e8e8e;
    margin-left: .11rem;
}

a.btn_lq {
    display: block;
    background: url(../images/btn_lq.png) no-repeat;
    background-size: 100%;
    width: 2.24rem;
    height: .84rem;
    text-indent: -9999rem;
    position: absolute;
    top: .25rem;
    left: 7.41rem;
}

a.btn_lq.hasbelq {
    background: url(../images/btn_ylq.png) no-repeat;
    background-size: 100%;
    pointer-events: none;

}

a.btn_lq.hasbewwc {
    background: url(../images/btn_wwc.png) no-repeat;
    background-size: 100%;
    pointer-events: none;

}

a.btn_lq.hasbelq.hasylw {
    background: url(../images/btn_ylq.png) no-repeat;
    background-size: 100%;
    pointer-events: none;

}

a.btn_lq.hasylw {
    background: url(../images/btn_ylw.png) no-repeat;
    background-size: 100%;
    pointer-events: none;

}

a.btn_back {
    display: block;
    background: url(../images/btn_back.png) no-repeat;
    background-size: 100%;
    width: 1.64rem;
    height: .5rem;
    position: absolute;
    top: .56rem;
    right: .29rem;
    text-indent: -9999rem;
}

a.btn_back.ckqb {
    display: block;
    background: url(../images/btn_more.png) no-repeat;
    background-size: 100%;
    width: 1.64rem;
    height: .5rem;
    position: absolute;
    top: .56rem;
    right: .29rem;
    text-indent: -9999rem;
}

a.btn_more {
    display: block;
    background: url(../images/btn_more.png) no-repeat;
    background-size: 100%;
    width: 1.64rem;
    height: .5rem;
    position: absolute;
    top: .56rem;
    right: .29rem;
    text-indent: -9999rem;
}

a.btn_ruletips {
    display: block;
    background: url(../images/btn_rule.png) no-repeat;
    background-size: 100%;
    width: .57rem;
    height: .57rem;
    position: absolute;
    top: .56rem;
    right: .29rem;
    text-indent: -9999rem;

}


/* 视频容器相对定位，用于按钮定位 */
#videoBox {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 继续游戏按钮：居中显示 */


.resume-play-btn {
    background: url(../images/btn_choices.png) no-repeat;
    background-size: 8.7rem;
    width: 8.7rem;
    height: 1.58rem;
    background-position: 0 0;
    color: #c6c6c6;
    font-size: .7rem;
    font-weight: bold;
    position: absolute;
    bottom: 2.81rem;
    left: 50%;
    transform: translate(-50%, 0);

}

.resume-play-btn:hover {
    background-position: 0 -1.89rem;
    color: #5e2d2d;
}


/* 播放/暂停按钮：左下角显示 */
.play-control-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 20px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    display: none;
}


.play-control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}



button.btnes1 {
    position: absolute;
    width: 6rem;
    height: 3rem;
    background: none;
    top: -4rem;
    left: 18rem;
    text-indent: -9999rem;
}

button.btnes1:hover {
    background: none;
}



button.btnes2 {
    position: absolute;
    width: 8rem;
    height: 3rem;
    background: none;
    top: -4rem;
    left: 16rem;
    text-indent: -9999rem;
}

button.btnes2:hover {
    background: none;
}

button.btnes3 {
    position: absolute;
    width: 8rem;
    height: 3rem;
    background: none;
    top: -4rem;
    left: 16rem;
    text-indent: -9999rem;
}

button.btnes3:hover {
    background: none;
}

.slogan {
    background: url(../images/slogan.png) no-repeat;
    background-size: 100%;
    width: 16.59rem;
    height: 5.48rem;
    position: absolute;
    top: 6.94rem;
    left: 1rem;
    z-index: 2;
}

.videomuted {
    position: absolute;
    top: 2.36rem;
    right: .8rem;
    z-index: 4;
    background: url(../images/videomuted.png) no-repeat;
    background-position: 0 0;
    background-size: 1.69rem;
    width: .76rem;
    height: .76rem;
    text-indent: -9999rem;
    cursor: pointer;
}

.videomuted.muted-on {
    background-position: -.93rem 0;
}


.btnes11::after {
    content: "";
    background: url(../images/es11.png) no-repeat;
    background-size: 100%;
    width: 1.69rem;
    height: 1.88rem;
    position: absolute;
    top: -.1rem;
    left: 5.39rem;
}

.btnes12::after {
    content: "";
    background: url(../images/es12.png) no-repeat;
    background-size: 100%;
    width: 1.86rem;
    height: 1.82rem;
    position: absolute;
    top: -.1rem;
    left: 5.6rem;
}










/* 弹窗 */
.pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    display: none;
    z-index: 10;
}

.pop_form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.pop_form .popclose {
    background: url(../images/pop_close.png) no-repeat;
    background-size: 100%;
    position: absolute;
    display: block;
    right: .35rem;
    top: .4rem;
    width: 0.49rem;
    height: 0.49rem;
    text-indent: -9999rem;
}

.pop_form .close {
    background: url(../images/pop_close.png) no-repeat;
    background-size: 100%;
    position: absolute;
    display: block;
    right: .35rem;
    top: .4rem;
    width: 0.49rem;
    height: 0.49rem;
    text-indent: -9999rem;
}

.poprule {
    background: url(../images/pop_rule.png) no-repeat;
    background-size: 100%;
    width: 14.79rem;
    height: 10.27rem;
}

.poprule p {
    font-size: .25rem;
    color: #ffffff;
    line-height: 1.5;
}

.poprule p.ruletit {
    color: #ffb505;
    font-weight: bold;
    margin-top: .4rem;
}

.poprule_main {
    padding: 1rem .65rem 0;
}

.pg_pop1 {
    background: url(../images/pop_comm.png) no-repeat;
    background-size: 100%;
    width: 8.79rem;
    height: 4.73rem;
}

.info_txt {
    font-size: .33rem;
    color: #ffffff;
    position: absolute;
    top: 2.14rem;
    width: 6.9rem;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.pophuode {
    background: url(../images/pop_huode.png) no-repeat;
    background-size: 100%;
    width: 8.79rem;
    height: 4.73rem;
}

.huode_info {
    font-size: .33rem;
    color: #ffffff;
    position: absolute;
    top: 2.74rem;
    width: 6.9rem;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.pubglogo {
    width: 4.54rem;
    position: absolute;
    top: 4.53rem;
    left: 6.9rem;
    z-index: 5;
}




.pop7 .close {
    background: url(../images/dtclose.png) no-repeat;
    background-size: 100%;
    position: absolute;
    display: block;
    right: .1rem;
    top: .8rem;
    width: 0.88rem;
    height: 0.88rem;
    text-indent: -9999rem;
}

.pop7 {
    width: 26.64rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.datingpopshow {
    width: 22.1rem;
    display: flex;
    position: absolute;
    justify-content: space-between;
    top: 7.7rem;
    left: 50%;
    transform: translate(-50%, 0);
}

.datingpics {
    width: 11rem;
}

.p7_download {
    display: block;
    width: 6.36rem;
    height: 1.09rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -.1rem;
    /*  background: url(https://image-1251917893.file.myqcloud.com/2026/a20260601pubg/ft_down.png) no-repeat;
    background-size: 100% auto; */
    text-indent: -999999px;
    z-index: 20;

}


.load_mcon {
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.load_img {
    width: 1rem;
    margin: 0 auto;
}

.load_txt {
    width: 100%;
    text-align: center;
    font-size: .35rem;
    color: #fff;
    padding-top: 0.1rem;
}

.proizelistimgs {
    width: .8rem;
}

.login_11_item1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_11_item1>div {
    margin: 0 .2rem;
}

p.lsjpicon {
    position: relative;
}

p.lsjpicon::before {
    content: "";
    background: url(../images/prize/lsjp.png) no-repeat;
    background-size: 100%;
    width: .86rem;
    height: .7rem;
    position: absolute;
    right: -1.1rem;
    top: -.1rem;
}

.videobg video {
    width: 100%;
}

@media (max-width:640px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    .video-box {
        aspect-ratio: 16 / 9;
    }
}