*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"Helvetica Neue","Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:#1f2933;background:#f4f6f8;font-size:16px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
[hidden]{display:none!important}
button{font:inherit;cursor:pointer;border-radius:8px;border:1px solid #c9d2db;background:#fff;color:#1f2933;padding:8px 16px;min-height:44px;font-weight:700}
button.pri{background:#1f3a5f;border-color:#1f3a5f;color:#fff}
button.ghost{background:transparent}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8fb3e0;outline-offset:2px}
.bar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 20px;background:#fff;border-bottom:1px solid #e2e8ee}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px;color:#1f3a5f}
.brand .sub{font-size:13px;font-weight:700;color:#52606d;padding-left:10px;border-left:1px solid #c9d2db}
.mark{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;background:#1f3a5f;color:#fff;font-family:serif;font-size:20px}
.demo{font-size:12px;font-weight:800;letter-spacing:.08em;color:#8a3b12;border:1px solid #e5b99c;border-radius:999px;padding:0 10px}
.bar-act{display:flex;align-items:center;gap:8px}
a.btn{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:8px;border:1px solid #c9d2db;color:#1f2933;font-weight:700;text-decoration:none}
.me{font-size:14px;font-weight:700;color:#52606d}
.enter{display:flex;justify-content:center;padding:48px 16px 80px}
.card{width:100%;max-width:560px;background:#fff;border:1px solid #e2e8ee;border-radius:14px;padding:32px 32px 24px}
.eyebrow{margin:0 0 4px;color:#64707d;font-weight:800;font-size:14px}
h1{margin:0 0 12px;font-size:26px;color:#1f3a5f;line-height:1.35}
.card p{margin:0 0 12px}
form label{display:block;font-weight:800;font-size:14px;margin:14px 0 6px;color:#344450}
input,select,textarea{width:100%;font:inherit;border:1px solid #c9d2db;border-radius:8px;padding:10px 12px;min-height:44px;background:#fff;color:#1f2933}
#enterBtn{width:100%;margin-top:14px}
.err{color:#8a1f1f;background:#fdf2f2;border:1px solid #f3c9c9;border-radius:8px;padding:8px 12px;margin:10px 0 0!important}
.ok{color:#1d5b32;background:#e7f1e9;border:1px solid #b8d6bf;border-radius:8px;padding:12px;margin:12px 0}
.muted{color:#64707d;font-size:14px;margin-top:18px!important}
.app{max-width:1200px;margin:0 auto;padding:20px 16px 80px}
.note{margin:0 0 14px;padding:10px 14px;background:#fff8e6;border:1px solid #f0dca8;border-radius:8px;color:#6b4e0e;font-size:14px}
.dlg-back{position:fixed;inset:0;z-index:50;background:rgba(15,25,40,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.dlg{width:100%;max-width:480px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:14px;padding:22px 22px 18px}
.dlg h2{margin:0 0 4px;font-size:20px;color:#1f3a5f}
.dlg-act{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
@media (max-width:480px){
  .bar{padding:8px 10px;flex-wrap:nowrap;gap:6px}
  .brand{font-size:16px;gap:6px}
  .brand .sub{display:none}
  .demo{padding:0 6px;letter-spacing:0}
  .bar-act{gap:4px}
  .card{padding:24px 18px 18px}
  h1{font-size:22px}
  .bar-act button,.bar-act a.btn{padding:8px 8px;font-size:15px}
  .me{display:none}
}
