:root{--navy:#0A1A3A;--navy2:#13295a;--gold:#FFCC00;--text:#F5F5F5;--muted:#AAC8F0}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--navy);color:var(--text);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Thai",sans-serif;
  background-image:radial-gradient(ellipse at 50% 0%,#1d3d82 0%,rgba(10,26,58,0) 60%)}
.wrap{max-width:560px;margin:0 auto;padding:20px 16px 40px}
.top{text-align:center;padding:8px 0 4px}
.logo{width:120px;height:120px;border-radius:50%}
.kicker{margin:8px 0 0;color:var(--muted);font-weight:600;letter-spacing:.04em}
h1{color:var(--gold);font-size:30px;line-height:1.15;margin:6px 0 8px}
h2{color:var(--gold);margin:0 0 10px;font-size:22px}
.sub{margin:0 0 16px;color:var(--muted)}
.card{background:rgba(255,255,255,.06);border:1px solid rgba(255,204,0,.35);border-radius:16px;padding:18px;margin:14px 0}
label{display:block;font-weight:600;margin:14px 0 6px}
.req{color:var(--gold)}
.th{color:var(--muted);font-weight:400;font-size:14px}
input,select,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #3a5190;background:#fff;color:#111;font:inherit;min-height:46px}
textarea{resize:vertical}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:420px){.row{grid-template-columns:1fr}}
button{width:100%;margin-top:18px;padding:14px;border:0;border-radius:12px;background:var(--gold);color:#0A1A3A;font-family:inherit;font-weight:700;font-size:18px;line-height:1.2;cursor:pointer}
button[disabled]{opacity:.6}
.msg{min-height:1.2em;margin:10px 0 0}
.err{color:#ffb4b4}
.hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.thanks h2{margin-top:0}
.th-block{color:var(--muted);margin:6px 0 0}
.line .big{font-size:18px;margin:0}
.line strong{color:var(--gold)}
.small{color:var(--muted);margin:6px 0 0;font-size:14px}
.pay img{display:block;width:100%;max-width:340px;height:auto;aspect-ratio:1/1;margin:10px auto 4px;background:#fff;padding:8px;border-radius:12px;box-sizing:border-box;image-rendering:auto}
.pay .payee{text-align:center;font-weight:700;margin:4px 0 10px;letter-spacing:.3px}
.price{font-size:22px;font-weight:700;color:var(--gold);text-align:center;margin:6px 0}
footer{text-align:center;margin-top:22px}
footer a{color:var(--gold);font-weight:700;text-decoration:none;font-size:18px}
