:root { --gold: #d6ad58; --gold-light: #f4d58a; --ink: #090805; }
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
body.layout { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--ink); color: #f7f2e8; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }

.container-max { position: fixed; z-index: 60; inset: 0 0 auto; width: 100%; max-width: none; height: 48px; margin: 0; overflow: hidden; background: rgba(5,5,4,.94); }
.noticeBar { height: 48px; margin: 0; padding: 0 18px 0 54px; border: 0; border-bottom: 1px solid rgba(214,173,88,.25); line-height: 48px; background-position: 16px center; }
.noticeBar .inner { height: 48px; margin: 0; }

.registration-shell { min-height: 100vh; padding: 48px 0 82px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(470px,.95fr); }
.brand-panel { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 130px); padding: clamp(32px,5vw,76px); display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 18% 22%,rgba(214,173,88,.18),transparent 32%),linear-gradient(90deg,rgba(7,7,5,.44),rgba(7,7,5,.82)),url(./images/poker-bg.png) center/cover no-repeat; }
.brand-panel:before { content: ""; position: absolute; z-index: -1; width: min(56vw,760px); aspect-ratio: 1; right: -17%; bottom: -23%; border: 1px solid rgba(214,173,88,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(214,173,88,.025),0 0 0 140px rgba(214,173,88,.018); }
.brand-lockup { display: flex; align-items: center; gap: 22px; }
.logo-wrap { width: clamp(82px,8vw,118px); height: clamp(82px,8vw,118px); overflow: hidden; border-radius: 50%; box-shadow: 0 0 42px rgba(214,173,88,.16); }
.logo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); }
.brand-title small { display: block; margin-bottom: 7px; color: var(--gold); font-size: 12px; letter-spacing: .22em; }
.brand-title strong { display: block; color: var(--gold-light); font: 500 clamp(36px,4vw,68px)/1.15 STKaiti,KaiTi,serif; letter-spacing: .12em; }
.brand-title em { display: block; margin-top: 7px; color: #aaa18f; font-size: 14px; font-style: normal; letter-spacing: .3em; }
.brand-message { margin: auto 0 8vh; }
.brand-message b { display: block; color: rgba(214,173,88,.18); font: 800 clamp(72px,11vw,158px)/.82 Arial,sans-serif; letter-spacing: -.06em; }
.brand-message span { display: block; margin-top: 22px; color: #ddd2bd; font-size: clamp(18px,2vw,26px); letter-spacing: .24em; }

#content { min-height: calc(100vh - 130px); padding: clamp(24px,5vh,56px) clamp(24px,5vw,80px); display: grid; place-items: center; background: #f4f1eb; color: #1a1813; }
#content .wrapper { width: min(100%,500px); margin: 0; }
#un-lobby { display: block; width: 100%; }
.trans-en { display: block; height: 30px; margin: 0 0 18px auto; padding: 0 8px; border: 1px solid #aaa296; border-radius: 4px; outline: 0; background: #fff; color: #312d26; }
#articles1 .h2 { min-height: 0; margin: 0 0 26px; padding: 0; border: 0; background: none; color: #1a1813; font: 600 clamp(34px,4vw,50px)/1.2 STKaiti,KaiTi,serif; letter-spacing: .08em; text-align: left; }
.article { height: auto; padding: 0; color: #3c382f; font-size: 15px; line-height: normal; }
.reg-form .form-group { margin: 0 0 16px; }
.reg-form .control-label { width: auto; float: none; display: block; margin: 0 0 7px; padding: 0; color: #3c382f; font-size: 14px; font-weight: 600; text-align: left; }
.reg-form .col-sm-5,.reg-form .col-xs-8,.reg-form .col-xs-4 { width: 100%; float: none; padding: 0; }
.reg-form .form-control { width: 100% !important; height: 52px; margin: 0 !important; padding: 0 16px; float: none !important; border: 1px solid #d9d3c8; border-radius: 8px; outline: 0; background: rgba(255,255,255,.8); color: #17140f; box-shadow: none; font-size: 16px; }
.reg-form .form-control:focus { border-color: #b78a36; background: #fff; box-shadow: 0 0 0 3px rgba(183,138,54,.12); }
.reg-form .txt { padding: 4px 0 0; line-height: 18px; font-size: 12px; }
.reg-form .has-feedback .form-control-feedback { top: 29px; right: 4px; }
#code + #codepic { width: 112px !important; height: 52px !important; border: 1px solid #b88a36 !important; border-radius: 8px; object-fit: cover; }
#code { width: calc(100% - 122px) !important; float: left !important; margin-right: 10px !important; }
.reg-form .col-sm-offset-2 { margin-left: 0; }
.reg-form .btn-form { width: calc(50% - 6px); height: 54px; margin-right: 8px; padding: 0; border: 0; border-radius: 6px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .12em; box-shadow: 0 10px 24px rgba(120,25,20,.16); }
.reg-form .btn-form:last-child { margin-right: 0; background: linear-gradient(#5d5850,#37332e); }

#footer { height: 82px; background: #10100e; }
.menu-bottom { height: 64px; display: grid; grid-template-columns: repeat(4,1fr); background: #10100e; }
.menu-bottom li { width: auto; height: 64px; float: none; padding-top: 9px; border-right: 1px solid #34312c; }
.menu-bottom li:last-child { border-right: 0; }
.menu-bottom li + li:before { display: none; }
.menu-bottom li a { padding-top: 39px; }
#footer-suggest { height: 18px; margin: 0; color: #5f5a51; font-size: 11px; line-height: 18px; }

@media (max-width: 860px) {
  .container-max { position: relative; height: 42px; }
  .noticeBar,.noticeBar .inner { height: 42px; line-height: 42px; }
  .registration-shell { min-height: auto; padding: 0 0 68px; grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: max(22px,env(safe-area-inset-top)) 18px 24px; background-position: 42% 48%; }
  .brand-lockup { gap: 14px; }
  .logo-wrap { width: 70px; height: 70px; }
  .brand-title small { font-size: 10px; letter-spacing: .12em; }
  .brand-title strong { font-size: 34px; }
  .brand-title em { font-size: 12px; letter-spacing: .18em; }
  .brand-message { display: none; }
  #content { min-height: auto; padding: 26px 16px 36px; place-items: start center; background-image: none; }
  #articles1 .h2 { margin-bottom: 22px; font-size: 32px; }
  #registerform .control-label { display: block; }
  #footer { height: 68px; }
  .menu-bottom { height: 68px; }
  #footer-suggest { display: none; }
}

@media (max-width: 380px) {
  #code + #codepic { width: 96px !important; }
  #code { width: calc(100% - 106px) !important; }
}
