*{box-sizing:border-box}body{font:17px "Times New Roman","SimSun","Songti SC","Noto Serif CJK SC",serif;background:#f0f7ff;color:#203b54;min-height:100vh;margin:0;padding:110px 20px 40px}header{position:absolute;top:25px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;gap:15px}a{color:#315f89;text-decoration:none}header>a{font-size:15px}main{background:white;border:1px solid #c4d9ed;border-radius:14px;padding:38px;width:min(430px,100%);margin:auto}h1{font-size:28px;font-weight:600}p{font-size:15px;color:#536f87;line-height:1.8}input,form button{width:100%;padding:13px;font:inherit;margin-top:14px;border:1px solid #b6cde3;border-radius:7px}form button{background:#305e88;color:white;cursor:pointer}button:disabled{opacity:.6}#message{min-height:25px;color:#934c45}small{font-size:11px;color:#637d95;letter-spacing:1.3px}.guest{display:block;text-align:center;padding:13px;border:1px solid #bed4ea;border-radius:7px;background:#e4f0fc}.language-switch{display:flex;gap:2px;border:1px solid #b8cee5;border-radius:7px;padding:3px;background:white}.language-switch button{font:15px "Times New Roman","SimSun",serif;border:0;background:transparent;color:#385978;padding:6px 10px;border-radius:4px;cursor:pointer}.language-switch button[aria-pressed="true"]{background:#c7def7;color:#163f69}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #396d9e;outline-offset:3px}@media(max-width:480px){main{padding:28px}header{left:20px;right:20px}.language-switch button{font-size:14px}}

h1{font-size:30px;font-weight:700}
/* Chinese text uses black; pale controls retain readable contrast. */
html[lang="zh-CN"] body *{color:#000!important}
html[lang="zh-CN"] .button,html[lang="zh-CN"] .primary,html[lang="zh-CN"] form button{background:#c7def7;border-color:#8eb6de}
html[lang="zh-CN"] .button:hover,html[lang="zh-CN"] .primary:hover,html[lang="zh-CN"] form button:hover{background:#b4d1f0}
.language-switch button[data-language="zh"]{color:#000}
:root{font-synthesis:weight}
