/* 只作用于原生 Auth 表单；PC 单列布局，不更改 Mobile 或业务显隐状态。 */
@media(min-width:768px){
#ct.kbh-auth-page{box-sizing:border-box;width:min(560px,100%);max-width:100%;margin:48px auto;padding:32px;background:#fff;border:1px solid #e1e7e4;border-radius:8px;color:#18332b;}
.kbh-auth-shell,.kbh-auth-shell *{box-sizing:border-box;}
.kbh-auth-shell .mn,.kbh-auth-shell .mw,.kbh-auth-shell .blr,.kbh-auth-shell .lgfm,.kbh-auth-shell .lgf{float:none;width:100%;min-width:0;margin:0;}
.kbh-auth-shell .bm,.kbh-auth-shell .bm_h,.kbh-auth-shell .bm_c,.kbh-auth-shell .c,.kbh-auth-shell .fsb{background:transparent;border:0;box-shadow:none;padding:0;}
.kbh-auth-shell .bm_h{height:auto;min-height:32px;line-height:1.5;margin-bottom:24px;}
.kbh-auth-shell .bm_h h3,.kbh-auth-shell .flb em{font-size:26px;font-weight:600;color:#18332b;}
.kbh-auth-shell .flb{height:auto;min-height:0;padding:0;margin-bottom:20px;line-height:1.5;}
.kbh-auth-shell .flb:has(em:empty):not(:has(.flbc)){margin:0;}
.kbh-auth-shell .rfm{width:100%;margin:0 0 18px;border:0;}
.kbh-auth-shell .rfm table,.kbh-auth-shell .rfm tbody,.kbh-auth-shell .rfm tr,.kbh-auth-shell .rfm th,.kbh-auth-shell .rfm td{display:block;width:100%;height:auto;min-width:0;padding:0;border:0;text-align:left;}
.kbh-auth-shell .rfm th{margin:0 0 7px;font-size:14px;font-weight:500;line-height:1.5;}
.kbh-auth-shell .rfm .tipcol{margin-top:6px;font-size:13px;color:#687a73;line-height:1.5;}
.kbh-auth-shell .px,.kbh-auth-shell .ps,.kbh-auth-shell select{max-width:100%;width:100%;height:46px;padding:10px 12px;border:1px solid #d7e1db;border-radius:6px;background:#fff;box-shadow:none;color:#18332b;font:inherit;font-size:15px;outline:none;}
.kbh-auth-shell .px:focus,.kbh-auth-shell .ps:focus,.kbh-auth-shell select:focus{border-color:#218b59;box-shadow:0 0 0 2px #218b5912;outline:none;}
.kbh-auth-shell .p_tip,.kbh-auth-shell .p_chk{max-width:100%;white-space:normal;line-height:1.5;}
.kbh-auth-shell .pn{height:46px;border:1px solid #218b59;border-radius:6px;background:#218b59;color:white;box-shadow:none;font-size:15px;}
.kbh-auth-shell .pn span,.kbh-auth-shell .pn strong{padding:0 18px;background:none;line-height:44px;font-weight:500;}
.kbh-auth-shell button[type=submit]{width:100%;margin-top:10px;}
.kbh-auth-shell .pn:hover{background:#197348;}
.kbh-auth-shell a{color:#218b59;}
.kbh-auth-shell a:focus-visible,.kbh-auth-shell button:focus-visible{outline:2px solid #218b5955;outline-offset:3px;}
.kbh-auth-shell .kbh-auth-password{position:relative;display:block;width:100%;}
.kbh-auth-shell .kbh-auth-password input{padding-right:46px;}
.kbh-auth-shell .kbh-auth-eye{position:absolute;right:4px;top:4px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:4px;color:#687a73;cursor:pointer;}
.kbh-auth-shell .lgfm label,.kbh-auth-shell .lgfm label em{display:block;float:none;width:100%;margin-bottom:8px;}
.kbh-auth-shell .lgfm p{height:auto!important;min-height:0;margin-bottom:14px;}
.kbh-auth-shell .lgf{margin-top:20px;}
.kbh-auth-shell .fsb{margin-top:20px;}
.kbh-auth-shell .rfm .p_chk{padding-left:22px;}
.fwinmask:has(.kbh-auth-form) .m_c{width:520px;max-width:calc(100vw - 48px);padding:28px;border:1px solid #e1e7e4;border-radius:8px;background:#fff;box-shadow:0 16px 48px #18332b20;}
.kbh-auth-shell .flbc{background:none!important;font-size:0;width:28px;height:28px;text-indent:0;position:relative;}
.kbh-auth-shell .flbc:before{content:'×';font-family:Arial,sans-serif;font-size:26px;line-height:28px;color:#687a73;}
.kbh-auth-shell .flbc:after{content:none;}
.kbh-auth-shell input[type=checkbox],.kbh-auth-shell input[type=radio]{accent-color:#218b59;}
.kbh-auth-shell img{max-width:100%;}
}

/* 公共 Premium 旧高优先级规则只在 Auth 范围内收敛，避免影响其它页面。 */
@media(min-width:768px){
body #ct.kbh-auth-page{width:560px!important;max-width:calc(100% - 32px)!important;margin:48px auto!important;padding:32px!important;}
body .kbh-auth-shell .bm_h{border:0!important;padding:0!important;background:none!important;}
body .kbh-auth-shell .bm_h h3,body .kbh-auth-shell .flb em{font-size:26px!important;}
body .kbh-auth-shell .rfm .px,body .kbh-auth-shell .lgfm .px{width:100%!important;height:46px!important;max-width:100%!important;box-shadow:none!important;}
body .kbh-auth-shell .rfm .px:focus,body .kbh-auth-shell .lgfm .px:focus{outline:none!important;border-color:#218b59!important;box-shadow:0 0 0 2px #218b5912!important;}
body .kbh-auth-shell .rfm{border:0!important;}
}

@media(min-width:768px){body .kbh-auth-shell .flb{display:flow-root!important;height:auto!important;min-height:0!important;clear:both;margin-bottom:20px!important;}body .kbh-auth-shell form{clear:both;}body .kbh-auth-shell .pn{height:46px!important;background:#218b59!important;border-color:#218b59!important;}body .kbh-auth-shell .pn span,body .kbh-auth-shell .pn strong{line-height:44px!important;}}

/* 独立 Auth 页面：公共站点头尾仅在本页面退出展示，业务 Hook 节点不删除。 */
@media(min-width:768px){
body.kbh-auth-screen{min-height:100vh!important;background:radial-gradient(ellipse at 8% 10%,#dcece1 0,transparent 48%),radial-gradient(ellipse at 98% 94%,#bfdbcb 0,transparent 50%),#edf3ef!important;color:#18332b;}
body.kbh-auth-screen #toptb,body.kbh-auth-screen #kbh-site-header,body.kbh-auth-screen footer,body.kbh-auth-screen #scrolltop{display:none!important;}
body.kbh-auth-screen #wp{width:100%!important;max-width:none!important;margin:0!important;padding:48px 24px!important;min-height:100vh;display:flex;align-items:center;justify-content:center;}
body.kbh-auth-screen #ct.kbh-auth-page{width:660px!important;max-width:100%!important;margin:0!important;padding:48px 76px!important;border:1px solid #e5ece6!important;border-radius:22px!important;box-shadow:0 20px 80px #173b2510!important;}
.kbh-auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 44px;font-size:23px;letter-spacing:-.4px;}
.kbh-auth-brand span{display:grid;place-items:center;background:#25d366;color:#123a26;width:40px;height:40px;border-radius:11px;font-size:24px;font-weight:700;}
.kbh-auth-brand b{font-weight:650;}
body .kbh-auth-title{font-size:30px!important;font-weight:600!important;line-height:1.25;margin:0 0 30px!important;color:#173c2d!important;letter-spacing:-.6px;}
body .kbh-auth-shell .bm_h h3,body .kbh-auth-shell .bm_h>.y>a,body .kbh-auth-shell .kbh-auth-duplicate-link{display:none!important;}
body .kbh-auth-shell .bm_h{margin:0!important;min-height:0!important;}
body .kbh-auth-shell .flb{margin:0!important;}
body .kbh-auth-shell [id^=layer_lostpw_]>.flb em,body .kbh-auth-shell .blr>.flb{display:none!important;}
body .kbh-auth-shell .rfm{margin:0 0 22px!important;}
body .kbh-auth-shell .rfm th{font-size:14px!important;font-weight:500!important;margin-bottom:9px!important;}
body .kbh-auth-shell .rfm .px,body .kbh-auth-shell .lgfm .px,body .kbh-auth-shell select{height:52px!important;background:#f5f7f6!important;border:1px solid #e6ece8!important;border-radius:8px!important;font-size:16px!important;padding:12px 14px!important;}
body .kbh-auth-shell .kbh-auth-password input{padding-right:48px!important;}
body .kbh-auth-shell .kbh-auth-eye{top:7px;right:7px;}
body .kbh-auth-shell .pn{height:52px!important;border-radius:8px!important;background:#188b50!important;}
body .kbh-auth-shell .pn span,body .kbh-auth-shell .pn strong{line-height:50px!important;font-size:16px!important;}
body .kbh-auth-shell .kbh-auth-switch{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:28px;font-size:14px;line-height:1.6;flex-wrap:wrap;}
.kbh-auth-switch a{font-weight:600;}
.kbh-auth-back{border:0;background:none;color:#188b50;font:inherit;font-weight:600;padding:8px;cursor:pointer;}
body .kbh-auth-shell .mtw{margin-top:0!important;}
body .kbh-auth-shell .tipcol{position:static!important;float:none!important;min-height:0!important;}
body .kbh-auth-shell .p_tip,body .kbh-auth-shell .p_chk{position:static!important;white-space:normal!important;}
body .kbh-auth-shell .rfm th:empty,body .kbh-auth-shell .tipcol:empty{margin:0!important;}
body .kbh-auth-shell .login_slct{display:inline-block;float:none;}
body .kbh-auth-shell .rfm .px:focus{background:#fff!important;border-color:#218b59!important;}
}

@media(min-width:768px){body .kbh-auth-shell .p_chk:empty{padding:0!important;min-height:0!important;height:0!important;font-size:0!important;}body .kbh-auth-shell .tipcol{line-height:1.4!important;}body .kbh-auth-shell .p_tip{padding-left:0!important;}body .kbh-auth-shell .rfm{margin-bottom:20px!important;}}

/* 第二轮收敛：Card 与真实内容同高，主内容620px；不设置表单最小高度。 */
@media(min-width:768px){
body.kbh-auth-screen #wp{padding:32px 24px!important;}
body.kbh-auth-screen #ct.kbh-auth-page{width:min(820px,calc(100vw - 48px))!important;padding:36px clamp(32px,7vw,100px)!important;border-radius:28px!important;height:auto!important;min-height:0!important;}
body .kbh-auth-shell>.kbh-auth-intro,body .kbh-auth-shell>#main_message,body .kbh-auth-shell>.mn,body .kbh-auth-shell>#main_succeed{width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;}
body .kbh-auth-brand{margin-bottom:24px!important;}
body .kbh-auth-title{margin-bottom:22px!important;}
body .kbh-auth-shell .rfm{margin-bottom:18px!important;}
body .kbh-auth-shell .rfm th{margin-bottom:8px!important;}
body .kbh-auth-shell .rfm .px,body .kbh-auth-shell .lgfm .px,body .kbh-auth-shell select{height:52px!important;}
body .kbh-auth-shell .kbh-auth-switch{margin-top:22px!important;}
body .kbh-auth-shell .rfm td.kbh-auth-captcha{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;}
body .kbh-auth-shell .kbh-auth-captcha input[name=seccodeverify]{flex:1 1 120px;width:0!important;min-width:100px;order:0;}
body .kbh-auth-shell .kbh-auth-captcha [id^=vseccode_]{display:flex;align-items:center;flex:0 0 auto;order:1;font-size:0;line-height:0;}
body .kbh-auth-shell .kbh-auth-captcha [id^=vseccode_] img{width:auto!important;height:auto!important;max-width:150px;object-fit:contain;}
body .kbh-auth-shell .kbh-auth-captcha [id^=vseccode_] br,body .kbh-auth-shell .kbh-auth-captcha [id^=vseccode_]>font,body .kbh-auth-shell .kbh-auth-captcha>br{display:none;}
body .kbh-auth-shell .kbh-auth-captcha>a{order:2;flex:0 0 auto;font-size:13px;}
body .kbh-auth-shell .kbh-auth-captcha [id^=checkseccodeverify_]{order:3;flex:0 0 auto;}
/* 保留原生结果文本、链接、倒计时与脚本，只解除旧消息框固定宽高。 */
body .kbh-auth-shell[data-auth-state=message] .kbh-auth-title{display:none;}
body .kbh-auth-shell[data-auth-state=message] .kbh-auth-form,body .kbh-auth-shell[data-auth-state=message] .kbh-auth-switch{display:none!important;}
body .kbh-auth-shell .nfl,body .kbh-auth-shell .nfl .f_c,body .kbh-auth-shell .altw,body .kbh-auth-shell [id^=layer_message_]{width:100%!important;max-width:620px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
body .kbh-auth-shell .alert_right,body .kbh-auth-shell .alert_error,body .kbh-auth-shell .alert_info{height:auto!important;min-height:0!important;padding:0!important;background:none!important;line-height:1.7;text-align:center;}
body .kbh-auth-shell .alert_right:before{content:'✓';display:block;color:#188b50;font-size:32px;margin:8px 0 12px;}
body .kbh-auth-shell .alert_btnleft{padding-left:0!important;margin:12px 0 0!important;}
body .kbh-auth-shell [id^=messageleft_],body .kbh-auth-shell #succeedmessage,body .kbh-auth-shell #messagetext>p:first-child{font-size:18px;line-height:1.6;}
}

@media(min-width:768px){body .kbh-auth-shell .rfm th.kbh-auth-empty-label{display:none!important;}body .kbh-auth-shell .rfm .pn{margin-top:0!important;}}

/* PC Auth 输入控件统一40px，密码显隐按钮随控件垂直居中。 */
@media(min-width:768px){
body .kbh-auth-shell .rfm .px,body .kbh-auth-shell .lgfm .px,body .kbh-auth-shell .px,body .kbh-auth-shell .ps,body .kbh-auth-shell select{height:40px!important;min-height:0!important;padding:8px 12px!important;line-height:22px!important;}
body .kbh-auth-shell .kbh-auth-password input{padding-right:44px!important;}
body .kbh-auth-shell .kbh-auth-eye{width:32px;height:32px;top:4px;right:5px;}
}

/* 原生登录方式以PC标签呈现，原字段和原菜单事件保留。 */
@media(min-width:768px){
body .kbh-auth-shell .kbh-auth-login-tabs{display:flex;gap:26px;flex-wrap:wrap;border-bottom:1px solid #e2e9e5;margin:0 0 20px;}
body .kbh-auth-shell .kbh-auth-login-tabs button{appearance:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:10px 0 12px;color:#79857f;font:inherit;font-size:16px;font-weight:500;cursor:pointer;}
body .kbh-auth-shell .kbh-auth-login-tabs button[aria-selected=true]{color:#183c2c;border-bottom-color:#188b50;font-weight:600;}
body .kbh-auth-shell .rfm th.kbh-auth-login-label{display:none!important;}
}

/* 仅PC登录隐藏已取消的安全问题UI。 */
@media(min-width:768px){body .kbh-auth-shell .kbh-auth-no-question{display:none!important;}}

/* 原生提示伪元素含绝对定位；Auth恢复文档流，图标独占一行居中。 */
@media(min-width:768px){
body .kbh-auth-shell .alert_right:before{position:static!important;inset:auto!important;float:none!important;transform:none!important;display:block!important;width:40px!important;height:40px!important;line-height:40px!important;margin:0 auto 16px!important;padding:0!important;font-family:Arial,sans-serif!important;font-size:32px!important;text-align:center!important;}
}

/* PC登录/注册共用用户提供照片，等比铺满；其它Auth状态保持原背景。 */
@media(min-width:768px){
body.kbh-auth-screen:has(#ct[data-auth-state="login"]),body.kbh-auth-screen:has(#ct[data-auth-state="register"]){background:#26322d linear-gradient(rgba(10,24,18,.18),rgba(10,24,18,.18)) center/cover fixed!important;background-image:linear-gradient(rgba(10,24,18,.18),rgba(10,24,18,.18)),url("auth-background-store.png")!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-attachment:fixed!important;}
}
