/* Member-only layout bridge. Keep GNUBoard field names, validation and actions intact. */
body.el-legacy-page .register {
  width:calc(100% - 48px);max-width:960px;margin:64px auto 88px;
  color:#202735;font-size:16px;line-height:1.65;letter-spacing:-.02em;
}
body.el-legacy-page .register :is(p,label,th,td){word-break:keep-all;overflow-wrap:break-word}
body.el-legacy-page #fregister>p {
  height:auto;min-height:56px;line-height:1.65;padding:18px 24px;margin:0 0 28px;
  background:#f1f5fc;color:#304869;border:0;border-radius:12px;font-size:15px;font-weight:500;
}
body.el-legacy-page #fregister>p:before{display:none}
body.el-legacy-page #fregister section,
body.el-legacy-page .register_form_inner {
  margin:0 0 24px;border:1px solid #dce2ea;border-radius:14px;background:#fff;
}
body.el-legacy-page #fregister h2,
body.el-legacy-page #register_form h2 {
  padding:22px 24px;border-bottom:1px solid #e5e9ef;font-size:21px;font-weight:700;line-height:1.4;
}
body.el-legacy-page #fregister textarea {
  height:180px;padding:24px;resize:vertical;color:#475160;line-height:1.8;font-size:15px;
}
body.el-legacy-page #fregister_private>div{padding:24px}
body.el-legacy-page #fregister_private table{table-layout:fixed;font-size:14px;line-height:1.65}
body.el-legacy-page #fregister_private table :is(th,td){padding:15px;vertical-align:middle}
body.el-legacy-page #fregister_private table th{background:#f5f7fa;font-weight:600}
body.el-legacy-page #fregister .fregister_agree {
  position:static;display:flex;align-items:center;gap:10px;min-height:60px;
  padding:16px 24px;border-top:1px solid #e5e9ef;background:#f8fafc;
  border-radius:0 0 14px 14px;line-height:1.55;text-align:left;
}
body.el-legacy-page #fregister .fregister_agree input[type=checkbox] {
  position:static;appearance:auto;opacity:1;width:20px;height:20px;flex:0 0 20px;
  margin:0;overflow:visible;clip:auto;z-index:auto;accent-color:#234ac5;cursor:pointer;
}
body.el-legacy-page #fregister .fregister_agree label{display:block;cursor:pointer;color:#394557;font-size:15px}
body.el-legacy-page #fregister .fregister_agree label>span{display:none}
body.el-legacy-page #fregister .fregister_agree .sound_only {
  position:static!important;display:inline-block;width:auto;height:auto;margin:0;padding:0;
  font-size:inherit;line-height:inherit;text-indent:0;overflow:visible;clip:auto;font-weight:500;
}
body.el-legacy-page #fregister #fregister_chkall {
  margin:8px 0 28px;border:1px solid #dce2ea;border-radius:12px;background:#f1f5fc;
}
body.el-legacy-page .register .btn_confirm {
  display:flex;justify-content:center;gap:12px;clear:both;margin:28px 0 0;text-align:center;
}
body.el-legacy-page .register .btn_confirm :is(.btn_submit,.btn_close,.btn_cancel) {
  display:inline-flex;align-items:center;justify-content:center;float:none;width:180px;
  min-height:52px;height:auto!important;padding:12px 24px;margin:0;
  border:1px solid #d4dce7;border-radius:10px;background:#fff;color:#394557;
  line-height:1.5;font-size:16px;font-weight:600;text-decoration:none;
}
body.el-legacy-page .register .btn_confirm .btn_submit{background:#234ac5;border-color:#234ac5;color:#fff}
body.el-legacy-page .register .btn_confirm .btn_submit:hover{background:#193ba5}
body.el-legacy-page .register :is(a,button,input,textarea,select):focus-visible{outline:2px solid #234ac5;outline-offset:3px}
body.el-legacy-page .register_form_inner ul{padding:24px}
body.el-legacy-page .register_form_inner li{margin-bottom:20px}
body.el-legacy-page .register_form_inner li:last-child{margin-bottom:0}
body.el-legacy-page .register .frm_input{max-width:100%;height:48px;padding:0 14px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;box-shadow:none;font-size:16px}
body.el-legacy-page .register .full_input{width:100%}
body.el-legacy-page .register .btn_frmline{border-radius:8px}
@media(max-width:767px){
  body.el-legacy-page .register{width:calc(100% - 40px);margin:32px auto 56px;font-size:15px}
  body.el-legacy-page #fregister>p{padding:16px;text-align:left;font-size:14px}
  body.el-legacy-page #fregister h2,body.el-legacy-page #register_form h2{padding:20px 16px;font-size:19px}
  body.el-legacy-page #fregister textarea{padding:16px;font-size:14px}
  body.el-legacy-page #fregister_private>div{padding:12px}
  body.el-legacy-page #fregister_private table{font-size:12px;line-height:1.6}
  body.el-legacy-page #fregister_private table :is(th,td){padding:10px 7px}
  body.el-legacy-page #fregister .fregister_agree{padding:16px;align-items:flex-start}
  body.el-legacy-page #fregister .fregister_agree input[type=checkbox]{margin-top:2px}
  body.el-legacy-page #fregister .fregister_agree label{font-size:14px}
  body.el-legacy-page .register .btn_confirm :is(.btn_submit,.btn_close,.btn_cancel){flex:1;width:auto;padding:12px 16px}
  body.el-legacy-page .register_form_inner ul{padding:20px 16px}
  body.el-legacy-page .register .half_input{float:none;width:100%;margin-right:0}
}
