* { box-sizing: border-box; }
body { font-family: -apple-system, system-ui, sans-serif; max-width: 720px; margin: 0 auto; padding: 24px 16px; color: #222; background: #faf8f5; }
h1 { font-size: 1.6rem; margin: 0 0 16px; }
h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.card { background: #fff; border: 1px solid #e5e0d8; border-radius: 10px; padding: 16px; margin: 12px 0; }
input, textarea, button { font: inherit; padding: 8px 10px; border-radius: 6px; border: 1px solid #ccc; }
input, textarea { width: 100%; margin: 4px 0 10px; }
button { background: #7a4e2d; color: #fff; border: none; cursor: pointer; }
button.secondary { background: #eee; color: #222; }
button:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.muted { color: #777; font-size: .9rem; }
.error { color: #b00020; }
.ok { color: #1b7a2b; }
.hidden { display: none; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
td, th { text-align: left; padding: 6px 4px; border-bottom: 1px solid #eee; vertical-align: top; word-break: break-all; }
a.tribute { display: block; padding: 10px; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; cursor: pointer; }
video { width: 100%; max-height: 320px; background: #000; border-radius: 6px; }
.btn { display: inline-block; font: inherit; padding: 8px 10px; border-radius: 6px; background: #7a4e2d; color: #fff; cursor: pointer; }
.btn.secondary { background: #eee; color: #222; }
.btn.disabled { opacity: .5; pointer-events: none; }
/* Visually hidden but still clickable through its label (display:none breaks this on some phones). */
.picker { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; margin: 0; padding: 0; }
.thanks { text-align: center; padding: 32px 20px; }
.thanks .check { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #1b7a2b; color: #fff; font-size: 36px; }
.thanks h2 { font-size: 1.6rem; margin: 8px 0; }
.thanks p { font-size: 1.05rem; }
.thanks .close-note { font-weight: 600; margin: 16px 0; }
label { display: block; font-size: .9rem; margin-top: 4px; }
a.btn { text-decoration: none; }
.greeting { white-space: pre-wrap; background: #faf8f5; border-left: 3px solid #7a4e2d; padding: 10px 12px; border-radius: 4px; }
