:root {
  color-scheme: light;
  --ink: #292522;
  --muted: #766d66;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: #eee3d8;
  --rose: #e85e68;
  --rose-dark: #c84752;
  --peach: #f6e4d8;
  --sage: #e3eee3;
  --green: #376c50;
  --shadow: 0 2px 8px rgb(82 57 37 / 5%), 0 14px 36px rgb(82 57 37 / 7%);
  font-family: "DM Sans", "Avenir Next", Avenir, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px max(24px, calc((100vw - 1160px) / 2)); background: rgb(255 255 255 / 88%); border-bottom: 1px solid #f0e8df; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; color: #b94355; background: #fde7e3; font-size: 21px; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.topbar-actions form { margin: 0; }
.role-label { color: var(--muted); font-size: 13px; font-weight: 650; }
.nav-link { color: #a34e57; font-size: 12px; font-weight: 750; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 36px; margin: 38px 0 42px; padding: 38px 50px; overflow: hidden; border: 1px solid #f2e2d4; border-radius: 28px; background: linear-gradient(115deg, #fff0e8 0%, #fff5e8 52%, #f6e7d8 100%); position: relative; }
.hero-copy { max-width: 650px; position: relative; z-index: 1; }
.eyebrow { color: #ab625e; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 620px; margin: 12px 0 12px; font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.055em; }
.accent { color: var(--rose); }
.hero p { max-width: 550px; margin-bottom: 0; color: #71645c; font-size: 16px; line-height: 1.65; }
.archive-hero { margin: 39px 0 14px; padding: 35px 40px; border: 1px solid #dce9dc; border-radius: 23px; background: linear-gradient(120deg, #eef6ec, #f9f6e9); }
.archive-hero h1 { margin: 8px 0; font-size: clamp(32px, 5vw, 46px); letter-spacing: -.05em; }
.archive-hero p { max-width: 650px; margin: 0; color: #63715f; font-size: 14px; line-height: 1.6; }
.hero-art { position: relative; display: grid; width: 186px; height: 186px; flex: 0 0 186px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 50%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%); }
.gift { font-size: 75px; filter: drop-shadow(0 11px 10px rgb(122 77 45 / 13%)); }
.sun, .sparkle { position: absolute; color: #dc9b52; }
.sun { top: 23px; left: 33px; font-size: 24px; }.sparkle { right: 23px; bottom: 34px; font-size: 18px; }
.editor-panel { margin: 0 0 44px; padding: 28px 32px 32px; border: 1px solid #f0e3d8; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 6px 0 0; font-size: 25px; letter-spacing: -.04em; }
.gift-form { display: grid; gap: 16px; }
.gift-form label, .login-form label { display: grid; gap: 7px; color: #504741; font-size: 13px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea, select { width: 100%; min-height: 45px; padding: 11px 13px; color: var(--ink); border: 1px solid #e6dbd1; border-radius: 11px; outline: none; background: #fffdfa; }
textarea { min-height: 86px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgb(232 94 104 / 13%); }
input[type="file"] { padding: 8px 10px; font-size: 12px; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 750; transition: transform .15s, background .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { width: fit-content; color: #fff; background: var(--rose); box-shadow: 0 5px 13px rgb(232 94 104 / 20%); }
.button.primary:hover { background: var(--rose-dark); }
.button.quiet { min-height: 36px; color: #655a54; background: #f5eee8; }
.wishlist-section { padding: 3px 0 52px; }
.item-count { padding: 7px 11px; border-radius: 99px; color: #75665c; background: #f5ece3; font-size: 12px; font-weight: 700; }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.gift-card { min-width: 0; overflow: hidden; border: 1px solid #efe6de; border-radius: 19px; background: var(--surface); box-shadow: 0 3px 12px rgb(68 48 33 / 5%); transition: transform .18s, box-shadow .18s; }
.gift-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gift-image-wrap { height: 205px; display: grid; position: relative; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f8e6db, #f4edda); }
.gift-image { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { font-size: 64px; filter: drop-shadow(0 8px 8px rgb(75 46 24 / 12%)); }
.status-badge { display: inline-flex; align-items: center; gap: 7px; position: absolute; top: 13px; left: 13px; padding: 7px 10px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 99px; background: rgb(255 255 255 / 94%); box-shadow: 0 2px 8px rgb(40 30 20 / 8%); font-size: 11px; font-weight: 750; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #52845e; }
.status-badge.claimed .status-dot { background: #dc8a3d; }
.status-badge.received { color: #356648; }.status-badge.received .status-dot { background: #51855b; }
.gift-content { padding: 19px 20px 21px; }
.gift-content h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.035em; }
.gift-description { margin: 0 0 13px; color: var(--muted); font-size: 13px; line-height: 1.6; white-space: pre-line; }
.gift-link { display: inline-flex; align-items: center; gap: 5px; color: #b74f5b; font-size: 12px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.buyer-list { margin-top: 15px; padding: 12px 13px; border-radius: 12px; color: #3f604a; background: #eff6ed; font-size: 12px; }
.buyer-list ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.buyer-list li { padding: 4px 8px; border-radius: 99px; background: #fff; font-weight: 650; }
.reserve-form { display: grid; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1e8df; }
.reserve-form label { display: grid; gap: 6px; color: #615750; font-size: 11px; font-weight: 750; }
.reserve-form textarea { min-height: 58px; font-size: 12px; }
.button.secondary { width: fit-content; min-height: 35px; color: #41664d; background: #e9f2e7; }
.button.secondary:hover { background: #d9ead8; }
.privacy-inline { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #f1e8df; color: #8b7564; font-size: 11px; }
.received-form { margin-top: 12px; }
.confirm-check { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #746b64; font-size: 11px; font-weight: 650; }
.confirm-check input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--rose); }
.archive-date { margin: 12px 0 0; color: #8a8178; font-size: 10px; }
.edit-details { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f1e8df; }
.edit-details summary { color: #756157; cursor: pointer; font-size: 12px; font-weight: 750; }
.edit-form { display: grid; gap: 11px; margin-top: 12px; }
.edit-form label { display: grid; gap: 6px; color: #615750; font-size: 11px; font-weight: 750; }
.edit-form input, .edit-form textarea { font-size: 12px; }
.delete-form { margin-top: 12px; }
.button.danger { min-height: 34px; color: #9b4148; background: #fff0ee; }
.button.danger:hover { background: #fbe0dc; }
.empty-state { padding: 48px 20px; text-align: center; border: 1px dashed #e3d4c7; border-radius: 20px; background: rgb(255 255 255 / 55%); }
.empty-state > span { font-size: 30px; }.empty-state h3 { margin: 10px 0 5px; }.empty-state p { margin: 0; color: var(--muted); font-size: 13px; }
.notice { margin: 18px 0; padding: 12px 15px; border-radius: 11px; font-size: 13px; }
.notice.success { color: #245f41; background: #e7f4e9; }.notice.error { color: #8e313a; background: #fde9e7; }
.footer { padding: 24px; color: #86786e; text-align: center; font-size: 12px; }.footer span { color: var(--rose); }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at 15% 15%, #f9e9de 0, transparent 33%), radial-gradient(ellipse at 85% 80%, #f4e7d3 0, transparent 28%), var(--paper); }
.login-shell { width: min(100%, 430px); padding: 39px; border: 1px solid #f0e4da; border-radius: 24px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 45px rgb(76 53 35 / 10%); }
.login-shell h1 { margin: 10px 0; font-size: 35px; letter-spacing: -.055em; }.intro { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.login-form { display: grid; gap: 14px; }.login-form .button { width: 100%; min-height: 47px; margin-top: 6px; }
.privacy-note { margin: 20px 0 0; color: #8c7a6d; text-align: center; font-size: 11px; line-height: 1.5; }
.reservation-dialog { width: min(440px, calc(100vw - 32px)); padding: 31px; overflow: visible; border: 1px solid #f0e1d7; border-radius: 22px; color: var(--ink); background: #fffdfa; box-shadow: 0 22px 80px rgb(45 32 25 / 28%); }
.reservation-dialog::backdrop { background: rgb(41 31 26 / 44%); backdrop-filter: blur(3px); }
.dialog-flower { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 17px; border-radius: 15px; color: #b94c59; background: #fde9e4; font-size: 27px; }
.reservation-dialog h2 { margin: 8px 0; font-size: 25px; letter-spacing: -.04em; }
.reservation-dialog p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
@media (max-width: 850px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.hero { padding: 34px; }.hero-art { width: 140px; height: 140px; flex-basis: 140px; }.gift { font-size: 59px; } }
@media (max-width: 600px) { .topbar { padding: 14px 18px; }.role-label { display: none; }.page-shell { width: min(100% - 32px, 480px); }.hero { min-height: 0; margin: 22px 0 30px; padding: 27px 24px; }.hero p { font-size: 14px; }.hero-art { display: none; }.hero h1 { font-size: 37px; }.editor-panel { padding: 22px 19px; }.form-row { grid-template-columns: 1fr; gap: 14px; }.gift-grid { grid-template-columns: 1fr; gap: 16px; }.gift-image-wrap { height: 215px; }.section-heading h2 { font-size: 22px; }.login-shell { padding: 30px 24px; } }
