/* 淡水 × 八里 商圈集點：水彩風配色。藍＝淡水河、綠＝八里、橘＝集點章、米白＝紙 */
:root {
  --paper:#fbf7ef; --card:#ffffff; --ink:#2b3a44; --muted:#6f7f8a; --line:#e6ddcf;
  --river:#2f7fb7; --river-deep:#1f5f8f; --hill:#3a8a5c; --stamp:#e5793b; --stamp-deep:#c9602a; --sun:#f3b63a;
  --sky:#eaf4fb; --mist:#f1f7f3;
}
* { box-sizing: border-box; }
html, body { margin:0; background: var(--paper); color: var(--ink); font: 16px/1.6 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, system-ui, sans-serif; }
.card { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--card); display:flex; flex-direction:column; box-shadow: 0 0 40px rgba(47,127,183,.08); }
.banner { display:block; width:100%; height:auto; border-bottom: 4px solid var(--sun); }
header.head { padding: 14px 18px 10px; background: linear-gradient(180deg, var(--sky), #fff); }
.brand { color: var(--river); font-size: 13px; letter-spacing: .08em; font-weight: 700; }
.merchant { font-size: 24px; font-weight: 800; color: var(--ink); display:flex; align-items:center; gap:10px; }
.merchant::before { content:""; width: 12px; height: 12px; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 0 4px rgba(229,121,59,.18); }
.view { flex: 1; padding: 18px 18px 8px; }
h1 { font-size: 20px; margin: 0 0 12px; color: var(--river-deep); }
.hidden { display: none !important; }
label { display:block; margin: 14px 0; font-weight: 700; color: var(--ink); }
input[type=tel], input[type=text] { display:block; width:100%; margin-top:8px; padding: 14px 16px; font-size: 22px; letter-spacing: 2px; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
input[type=tel]:focus, input[type=text]:focus { outline: none; border-color: var(--river); background: #fff; }
label.check { display:flex; gap:10px; align-items:flex-start; font-weight: 400; font-size: 15px; }
label.check input { margin-top: 5px; width: 20px; height: 20px; accent-color: var(--hill); }
a { color: var(--river); }
button { display:block; width:100%; margin-top: 18px; padding: 16px; font-size: 19px; font-weight: 800; letter-spacing: .1em; border: 0; border-radius: 999px; background: var(--stamp); color: #fff; box-shadow: 0 6px 0 var(--stamp-deep); }
button:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--stamp-deep); }
button:disabled { opacity: .55; }
button.link { background: transparent; color: var(--muted); font-weight: 400; font-size: 15px; padding: 10px; box-shadow:none; letter-spacing:0; }
.hint { color: var(--muted); font-size: 13px; margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--sun); background: var(--paper); border-radius: 0 8px 8px 0; }
.points { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--mist); border: 1px dashed var(--hill); font-size: 17px; text-align:center; }
.points strong { color: var(--stamp); font-size: 30px; padding: 0 4px; }
.stamp { width: 96px; height: 96px; margin: 6px auto 12px; border-radius: 50%; background: var(--stamp); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 40px; font-weight: 900; box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px var(--stamp); transform: rotate(-8deg); }
.stamp.dup { background: var(--river); box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px var(--river); }
.stamp.no { background: var(--muted); box-shadow: inset 0 0 0 5px #fff, 0 0 0 3px var(--muted); }
#view-result h1, #view-closed h1 { text-align:center; }
#resultText, #closedText { text-align:center; color: var(--muted); }
.turnstile { margin-top: 12px; }
.steps { display:flex; justify-content:space-around; margin: 8px 0 4px; }
.steps div { text-align:center; font-size: 12px; color: var(--muted); }
.steps b { display:block; width:46px; height:46px; margin: 0 auto 4px; border-radius:50%; line-height:46px; font-size:20px; color:#fff; }
.steps .s1 b { background: var(--river); } .steps .s2 b { background: var(--stamp); } .steps .s3 b { background: var(--hill); }
footer { color: var(--muted); font-size: 12px; text-align:center; padding: 12px 16px 20px; border-top: 1px solid var(--line); background: var(--paper); }
ol { padding-left: 20px; } li { margin-bottom: 6px; }
.err { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff3f0; color: #b23a2a; font-weight: 700; font-size: 15px; line-height: 1.5; }
