/* Keep native mobile form/CAPTCHA styles; these overrides belong to login only. */
body:has(.sb-login-header){background:#fffcf8;color:#1f2937}
.sb-login-header{margin:0;padding:var(--sb-header-offset,60px) 0 0;background:#fffcf8}
.sb-login-header .synced-nav{display:flex;align-items:center;height:60px;padding:0 8px 0 10px;background:#fb4e23;color:#fff;position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(100%,414px);z-index:1000;box-sizing:border-box}
.sb-login-header .logo{flex:1;min-width:0;display:flex;align-items:center;text-decoration:none;color:#fff}
.sb-login-header .logo img{height:52px;width:auto;max-width:100%;object-fit:contain;object-position:left center;display:block}
.sb-login-header .right{display:flex;flex:none;gap:4px;align-items:center}
.sb-login-header .ic-btn{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer;text-decoration:none}
.sb-login-header .ic-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sb-login-header .forum-search-form{display:flex;align-items:center;gap:8px;padding:6px 16px 8px;background:#fb4e23;margin:0;position:fixed;top:60px;left:50%;transform:translateX(-50%);width:min(100%,414px);height:50px;box-sizing:border-box;z-index:1000}
.sb-login-header .forum-search-form[hidden]{display:none}
.sb-login-header .forum-search-input{height:36px;width:0;flex:1;min-width:0;padding:7px 10px;border:1px solid #80bdff;border-radius:4px;background:#fff;color:#343a40;font-size:16px;box-sizing:border-box}
.sb-login-header .forum-search-submit{height:36px;width:56px;padding:0;flex:none;border:0;border-radius:6px;background:#fff;color:#c93614;font-size:14px;cursor:pointer}
.sb-login-header button:focus-visible,.sb-login-header a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.sb-login-card:not(.login_pop){box-sizing:border-box;margin:20px 14px 24px;padding:18px 0 12px;border:1px solid #f1cbb6;border-radius:16px;background:#fff;box-shadow:0 4px 16px #c65a1510}
.sb-login-card .sb-login-title{margin:0 18px 6px;font-size:24px;font-weight:750;line-height:36px;color:#1f2937}
.sb-login-card:not(.login_pop) .login_from{padding:4px 18px 10px}
.sb-login-card:not(.login_pop) .login_from li{height:auto;min-height:44px;box-sizing:border-box;padding:7px 0;border-color:#f2e6dd}
.sb-login-card:not(.login_pop) .login_from .px{height:30px;line-height:30px;color:#1f2937;font-size:16px;background:#fff}
.sb-login-card:not(.login_pop) .login_select,.sb-login-card:not(.login_pop) .login_select select{min-height:30px}
.sb-login-card .login_select .icon-arrow{position:absolute;right:3px;top:9px;width:7px;height:7px;border-right:1.5px solid #8b9098;border-bottom:1.5px solid #8b9098;transform:rotate(45deg)}
.sb-login-card .login_select .icon-arrow::before{content:none}
.sb-login-card .btn_login button{border:0;border-radius:10px;background:#fb4e23;color:#fff;box-shadow:none;min-height:46px;font-size:16px;font-weight:700}
.sb-login-card .btn_login button:active{background:#dd3c16}
.sb-login-card .btn_login button:focus-visible,.sb-login-card input:focus-visible,.sb-login-card select:focus-visible,.sb-login-card a:focus-visible{outline:2px solid #fb4e23;outline-offset:2px}
.sb-login-card:not(.login_pop) .btn_login,.sb-login-card:not(.login_pop) .btn_qqlogin{padding:7px 18px}
.sb-login-card .reg_link{height:auto;min-height:22px;margin:8px 18px 4px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.sb-login-card .reg_link .y{order:2;float:none}
.sb-login-card .reg_link a{color:#b63815}
.sb-register-card{box-sizing:border-box;margin:0 auto;padding:16px 13px 24px;width:min(100%,520px)}
.header.sb-register-head{border:0!important;box-shadow:none!important;outline:0!important;background-image:none!important}
.header_toplogo.sb-register-brand img{display:block;width:min(260px,80vw);height:auto;margin:0 auto 8px}
.sb-register-card .login_from{padding:0}
.sb-register-card ul{margin:0;padding:0;list-style:none}
.sb-register-card .mli{box-sizing:border-box;min-height:51px;padding:8px 18px;border-bottom:1px solid #eee}
.sb-register-card .mli input:not([type="hidden"]){box-sizing:border-box;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:4px;background:#f1f5fd;font-size:16px}
.sb-register-card .sb-register-rules{display:flex;align-items:center;gap:6px;margin:14px 18px;font-size:13px}
.sb-register-card .sb-register-rules-content{max-height:240px;overflow:auto;padding:16px}
.sb-register-card .btn_register{padding:8px 0}
.sb-register-card .btn_register button{box-sizing:border-box;width:100%;min-height:48px;border:0;border-radius:9px;background:#fb4e23;color:#fff;font-size:16px;font-weight:700}
.sb-register-card .reg_link{margin:8px 0;color:#b63815}
