/* Uygulamanın tasarım sistemiyle aynı değerler (src/core/theme.ts). */
:root {
  --bg: #FBF8F3; --surface: #FFFFFF; --surface-alt: #F3EEE6; --border: #E7DFD3;
  --border-strong: #D6CBBB; --text: #2B2622; --muted: #6E655C; --hint: #8A8076;
  --accent: #4F6B57; --accent-soft: #E4EBE4; --blush: #E9D5CB; --blush-deep: #B9826B;
  --danger: #B23B4A; --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { max-width: 520px; margin: 0 auto; padding: 16px 16px 48px; }
h1, h2, .seat-name { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blush-deep); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 14px; }
.loading { text-align: center; margin-top: 40vh; transform: translateY(-50%); border: 0; background: none; }

.hero { background: var(--blush); border-radius: 20px; padding: 40px 24px 32px; text-align: center; }
.hero h1 { font-size: 38px; line-height: 1.1; margin-top: 10px; }
.hero .date { font-weight: 500; margin: 12px 0 0; }
.hero .venue { color: var(--muted); margin: 2px 0 0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
a.cal { text-decoration: none; display: inline-block; }
.cal { margin-top: 0; font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 0; background: #fff; color: var(--text); cursor: pointer; }
.cal:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.message { font-family: "DM Serif Display", Georgia, serif; font-size: 19px; text-align: center; color: var(--muted); margin: 22px 8px 6px; }

.seat { display: flex; align-items: center; gap: 18px; }
.table-ring { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--border-strong); display: grid; place-items: center; }
.table-ring span { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.seat-name { font-size: 26px; margin-top: 2px; }
.seat p { margin: 0; }

h2 { font-size: 24px; }
.reply-by { margin: 4px 0 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.opt { font: inherit; font-weight: 600; font-size: 15px; padding: 14px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.opt[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt[data-rsvp="declined"][aria-checked="true"] { background: var(--text); border-color: var(--text); }
.count { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); font-size: 20px; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 20px; text-align: center; font-weight: 700; font-size: 18px; }
.note { display: block; margin-top: 18px; font-weight: 500; font-size: 15px; }
.note .muted { font-weight: 400; }
textarea { display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 16px; padding: 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); resize: vertical; }
textarea:focus, .opt:focus-visible, .send:focus-visible, .stepper button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.send { width: 100%; margin-top: 18px; font: inherit; font-weight: 700; padding: 15px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; }
.send:disabled { opacity: .45; cursor: default; }
.status { min-height: 22px; margin: 12px 0 0; text-align: center; font-weight: 500; font-size: 15px; }
.status.ok { color: var(--accent); }
.status.err { color: var(--danger); }
.album-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.album-head p { margin: 4px 0 0; }
.add-photos { flex: none; position: relative; overflow: hidden; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); cursor: pointer; }
.add-photos input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.add-photos.busy { opacity: .5; pointer-events: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--surface-alt); }
.grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foot { text-align: center; color: var(--hint); font-size: 13px; margin-top: 28px; }

/* Belge sayfaları (gizlilik) */
.doc { padding-top: 32px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 21px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc a, .foot a { color: var(--accent); }
