/*公用样式部分*/
body, h1, h2, h3, h4, h5, h6, div, p, dl, dt, dd, ol, ul, li, form, table, th, td, a, img, span, strong, var, em, input, textarea, select, option { margin: 0; padding: 0; }
html, body { font-family: "Microsoft YaHei"; font-size: 16px; }
body { background: #EDEDED; }
ul, ol { list-style: none; }
img { border: 0; }
input, select, textarea { outline: 0; }
textarea { resize: none; }
table { border-collapse: collapse; border-spacing: 0; }
th, strong, var, em { font-weight: normal; font-style: normal; }
a { text-decoration: none; color: #000; }
a:link, a:visited, a:hover, a:active { text-decoration: none; color: #000; }
.clearfix:after { content: "\200B"; display: block; height: 0; clear: both; }
.clearfix { *zoom:1;}
/* 订阅第一步 */
.main { padding: 40px 0 60px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; }
.box { width: 1200px; background: #fff url(./img/unsub_bg.png) no-repeat bottom right; padding: 40px 80px; border-top: 3px solid #BD1A2D; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
.intro { text-align: left; font-size: 16px; line-height: 28px; color: #999; margin-bottom: 32px; width: 840px; }
.intro strong { color: #BD1A2D; font-weight: 600; }
.steps-container { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; position: relative; padding: 0 20px; width: 100%; }
.step-item { display: flex; align-items: center; position: relative; flex: 1; max-width: 300px; }
.step-item:first-child { justify-content: flex-end; }
.step-item:last-child { justify-content: flex-start; }
.step-content { display: flex; align-items: center; gap: 20px; }
.step-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-size: contain; background-repeat: no-repeat; background-position: center; }
.step-icon.active { background-image: url(./img/yxdy_1b.png); }
.step-icon.inactive { background-image: url(./img/yxdy_2b_mr.png); }
.step-title { font-size: 18px; white-space: nowrap; }
.step-title.active { color: #BD1A2D; }
.step-title.inactive { color: #999; }
.step-icon.activated {background-image: url(./img/yxdy_2b.png);}
.step-connector { width: 279px; height: 2px; background: none; border-top: 1px dashed #C7C7C7; margin: 0 32px; }
.form-container { max-width: 550px; margin: 0 auto; width: 100%; }
.form-row { display: flex; align-items: center; margin-bottom: 20px; width: 100%; }
.form-label { font-size: 16px; font-weight: 700; color: #333; width: 120px; text-align: right; display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; }
.required-star { color: #BD1A2D; }
.form-control { flex: 1; display: flex; align-items: center; margin-left: 20px;border: none; }
.email-input { width: 438px; height: 44px; padding: 0 20px; border: 1px solid rgba(229,229,229,1); border-radius: 4px; font-size: 16px; background: #FFFFFF; box-sizing: border-box; font-weight: 300; }
.email-input::placeholder {
 color:#C5C5C5;
}
.time-input { width: 438px; height: 44px; padding: 0 20px; border: 1px solid rgba(229,229,229,1); border-radius: 4px; font-size: 16px; box-sizing: border-box; appearance: none; background: url(./img/yxdy_xl_icon.png) #fff no-repeat right 20px center; padding-right: 40px; cursor: pointer; color: #333; }
.time-input option { color: #333; }
.code-input { width: 249px; height: 44px; padding: 0 20px; border: 1px solid rgba(229,229,229,1); border-radius: 4px; font-size: 16px; background: #FFFFFF; box-sizing: border-box; font-weight: 300; }
.code-input::placeholder {
 color:#C5C5C5;
}
.get-code-btn { width: 169px; height: 44px; padding: 0; background-color: #FFFFFF; border: 1px solid rgba(189,26,45,1); border-radius: 4px; font-size: 16px; color: #BD1A2D; cursor: pointer; margin-left: 20px; }
.get-code-btn:hover { background-color: #e9ecef; border-color: #BD1A2D; }
.next-btn-container { display: flex; justify-content: center; margin-top: 50px; width: 100%; }
.next-btn { width: 144px; height: 44px; padding: 0; background-color: #BD1A2D; color: #FFFFFF; border: none; border-radius: 4px; font-size: 18px; font-weight: 400; cursor: pointer; }
/* 订阅第二步 */
.step-icon.inactiveon { background-image: url(./img/yxdy_2b.png); }
.step-title.inactiveon { color: #BD1A2D; }
.main .item { width: 100%; display: block; overflow: hidden; padding: 0 72px; }
.main .item h2 { font: bold 20px/20px "微软雅黑"; color: #333; width: 100%; }
.main .item h2 span { width: 4px; height: 20px; float: left; display: block; overflow: hidden; background: #BD1A2D; margin: 1px 10px 0 0; }
.main .item .checkbox { display: inline-block; width: 22px; height: 22px; background: #fff; border: 1px solid #B9B9B9; border-radius: 2px; position: relative; margin-right: 15px; }
.main .item input[type="checkbox"]:checked + .checkbox::after { content: url('./img/unsub_icon.png'); font: 400 16px/100% "微软雅黑"; position: absolute; top: -1px; left: -1px; color: #fff; background: #BD1A2D; border-radius: 2px; width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; }
.main .item label:hover .checkbox { border: 1px solid #BD1A2D; }
.main .item .list { display: grid; grid-template-columns: repeat(3, 32%); gap: 2.3%; margin-top: 30px; max-height: 300px; overflow: auto; overflow-x: hidden;}
.main .item .list.mo { margin-top: 0; }
.main .item .list label { display: flex;margin-bottom: 50px; font: 400 18px/22px "微软雅黑"; color: #333; cursor: pointer }
.main .item .list label.all { color: #BD1A2D; }
.main .item .btn { font: 400 18px/44px "微软雅黑"; color: #fff; text-align: center; width: 144px;background: #BD1A2D; border-radius: 4px; display: block; overflow: hidden; cursor: pointer; margin: 0px auto; }
/* 协议勾选样式 */
.protocol-agreement { margin-top: 24px; text-align: center; width: 100%; }
.protocol-agreement label { display: inline-flex; align-items: flex-start; font-size: 14px; line-height: 20px; color: #333; cursor: pointer; max-width: 840px; text-align: left; }
.protocol-agreement .checkbox { display: inline-block; width: 16px; height: 16px; background: #c4c4c4; border-radius: 2px; position: relative; margin-right: 10px; margin-top: 2px; flex-shrink: 0; }
/* 默认状态：灰色底色，白色勾 */
.protocol-agreement .checkbox::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -60%) rotate(-45deg); opacity: 0.8; }
/* 选中状态：红底白勾 */
.protocol-agreement input[type="checkbox"]:checked + .checkbox { background: #BD1A2D; border-color: #BD1A2D; }
.protocol-agreement input[type="checkbox"]:checked + .checkbox::before { opacity: 1; }
.protocol-agreement a { color: #1760C2; text-decoration: none; }
/* 订阅成功 */
.success-container { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 42px 0 0; text-align: center; }
.success-row1 { display: flex; align-items: center; justify-content: center; margin-bottom: 25px; gap: 20px; }
.success-icon { width: 44px; height: 44px; background: url(./img/yxdy_dycg.png) no-repeat center center; background-size: contain; flex-shrink: 0; }
.success-title { font-size: 26px; font-weight: 700; color: #333; }
.success-desc { font-size: 16px; color: #333; margin-bottom: 40px; max-width: 500px; }
.countdown { color: #BD1A2D; font-weight: 600; }
.success-btn { width: 144px; height: 44px; padding: 0; background-color: #BD1A2D; color: #FFFFFF; border: none; border-radius: 4px; font-size: 18px; font-weight: 400; cursor: pointer; }
.agreement-title { font-size: 24px; font-weight: 700; color: #333; margin-bottom: 30px; }
.agreement-desc { height: 300px;font-size: 16px; color: #333;}
.agreement-desc p { margin-bottom: 20px; }
.agreement-btn { margin-top: 30px; text-align: center; }
.agreement-btn a { display: block; width: 700px; line-height: 44px; background-color: #DE8C96; color: #FFFFFF; border-radius: 4px; font-size: 18px; font-weight: 400; text-align: center; }
.re-btn {position: absolute;left: 0;bottom: 0;height: 28px;padding: 0 16px;}
.re-btn a {display: inline-block;width: 14px;height: 14px;margin: 7px 0;background-image: url(./img/checkSprite.png);background-position: 0 -1179px;cursor: pointer;}
.re-btn a:hover{background-position:0 -1193px}
.slider-btn {position: absolute;width: 44px;height: 44px;left: 0;top: -7px;z-index: 12;cursor: pointer;background-image: url(./img/checkSprite.png);background-position: 0 -84px;transition: inherit;}
.slider-tips{bottom:0!important;}
.ver-tips {position: absolute;left: 0;bottom: -22px;background: rgba(255, 255, 255, .9);height: 22px;line-height: 22px;font-size: 12px;width: 100%;margin: 0;text-align: left;padding: 0 8px;transition: all .4s;}
.ver-tips i{display:inline-block;width:22px;height:22px;vertical-align:top;background-image:url(./img/checkSprite.png);background-position:-4px -1229px}
.ver-tips span{display:inline-block;vertical-align:top;line-height:22px;color:#455}
.active-tips{display:block}
.hidden{display:none}
@media only screen and (max-width: 1200px) and (min-width: 1024px) {
 html, body { min-width: 1200px!important; }
}
@media only screen and (max-width: 1023px) {
 .box { width: 90%; padding: 30px 5%; }
 .intro { width: 100%; }
 .step-item { max-width: 250px; }
 .step-icon { width: 36px; height: 36px; }
 .step-title { font-size: 16px; }
 .step-connector { width: 150px; margin: 0 20px; }
 .form-label { width: 100px; }
 .email-input, .time-input { width: 300px; }
 .time-input { background-position: right 15px center; }
 .code-input { width: 180px; }
 .get-code-btn { width: 120px; }
 .main { width: 100%; }
 .main .tips { padding: 40px 5%; }
 .main .item { padding: 0 5%; }
 .main .item .list { display: block; }
 .main .item .list label { width: auto; display: inline-block; margin-right: 20px; }
 .protocol-agreement label { display: block; }
 .protocol-agreement .checkbox { margin-top: 0; width: 14px; height: 14px; margin-right: 5px; }
}
@media (max-width:768px) {
 .box { padding: 25px 20px; }
 .steps-container { flex-direction: row; gap: 0; justify-content: space-between; }
 .step-connector { width: 80px; margin: 0 10px; }
 .step-item { max-width: none; flex: 1; justify-content: center; }
 .step-item:first-child, .step-item:last-child { justify-content: center; }
 .step-content { gap: 10px; }
 .form-row { flex-direction: column; align-items: flex-start; gap: 10px; }
 .form-label { width: 100%; text-align: left; justify-content: flex-start; margin-bottom: 5px; }
 .form-control { width: 100%; margin-left: 0; flex-direction: row; gap: 15px; }
 .email-input, .time-input { width: 100%; }
 .time-input { background-position: right 15px center; }
 .code-input { width: calc(60% - 15px); }
 .get-code-btn { width: 40%; margin-left: 0; }
}
@media (max-width:480px) {
 .box { padding: 20px 15px; }
 .step-content { gap: 8px; }
 .step-icon { width: 30px; height: 30px; }
 .step-title { font-size: 14px; }
 .step-connector { width: 50px; margin: 0 5px; }
 .form-control { gap: 10px; }
 .code-input { width: calc(60% - 10px); }
 .time-input { background-position: right 12px center; }
}
