/* 配色跟 twgholidays.com 的 style.css 一致 */
:root { --navy: #0A3D6B; --blue: #1B6CA8; --gold: #E8A020; --bg: #E6F1FB; --text: #1a1a2e; --gray: #6b7280; }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { font: 16px/1.7 Inter, -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; color: var(--text); background: var(--bg); min-height: 100vh; }
header { background: var(--navy); display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.brand b { font: 700 20px 'Playfair Display', Georgia, serif; color: #fff; }
.brand span { font-size: 11px; color: rgba(255, 255, 255, .7); }
main { max-width: 440px; margin: 0 auto; padding: 32px 16px 60px; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 20px rgba(10, 61, 107, .1); padding: 28px 24px; margin-bottom: 18px; }
h1 { font-size: 24px; line-height: 1.35; color: var(--navy); margin-bottom: 6px; }
h2 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
p { color: var(--gray); font-size: 14px; overflow-wrap: anywhere; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin: 16px 0 5px; }
input { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cfd8e3; border-radius: 6px; background: #fff; color: var(--text); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(27, 108, 168, .4); outline-offset: 1px; }
#code { font-size: 26px; letter-spacing: 8px; text-align: center; }
button { font: inherit; cursor: pointer; border-radius: 6px; min-height: 46px; }
button:disabled { opacity: .55; cursor: default; }
.go { width: 100%; margin-top: 18px; border: 0; background: var(--gold); color: #1a1a2e; font-weight: 700; }
.alt { width: 100%; margin-top: 10px; border: 1px solid var(--blue); background: #fff; color: var(--navy); }
.link { white-space: nowrap; border: 0; background: none; color: var(--blue); text-decoration: underline; font-size: 14px; padding: 0 4px; }
.links { display: flex; justify-content: space-between; margin-top: 8px; }
.lang { border: 1px solid rgba(255, 255, 255, .5); background: none; color: #fff; padding: 0 14px; min-height: 38px; font-size: 14px; }
.msg { margin-top: 12px; min-height: 24px; color: #b42318; }
.msg.ok { color: #067647; }
dl { margin-top: 14px; }
dt { font-size: 13px; color: var(--gray); }
dd { font-weight: 600; margin-bottom: 10px; overflow-wrap: anywhere; }
