:root { --red: #be123c; --red-d: #9f1239; --rose: #fff1f2; --ink: #1c1917; --muted: #6b6461; --line: #f0e4e6; --bg: #fffafa; --green: #15803d;
  --radius: 18px; --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
a { color: var(--red); }
h1, h2 { letter-spacing: -.02em; line-height: 1.15; }
.muted { color: var(--muted); }
.head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.head nav { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.head nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.head nav .cta { background: var(--red); color: #fff; padding: .45rem 1rem; border-radius: 999px; }
.hero { background: radial-gradient(600px 300px at 0% 0%, #ffe4e6, transparent), linear-gradient(180deg, #fff, var(--bg)); padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.4rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .8rem; }
.hero h1 span { color: var(--red); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-stats strong { display: block; font-size: 2rem; color: var(--red-d); }
.hero-stats span { color: var(--muted); font-size: .9rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 24px 50px -36px rgba(159,18,57,.5); }
.finder h2 { margin: 0 0 1rem; font-size: 1.3rem; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
label.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
input, select { font: inherit; padding: .65rem .75rem; border: 1px solid #e7d6d9; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--red); border-color: transparent; }
.hint { background: var(--rose); color: var(--red-d); border-radius: 12px; padding: .6rem .8rem; margin: 0; font-weight: 600; font-size: .92rem; }
main section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; font-size: 1.7rem; }
.section-head p { margin: 0; }
.donors, .requests { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.donor, .request { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; }
.donor > div, .request > div { flex: 1; min-width: 0; }
.donor small, .request small { display: block; color: var(--muted); }
.grp { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  background: var(--red); color: #fff; font-weight: 800; }
.grp { font-size: .95rem; }
.donor .grp, .request .grp { transform: none; border-radius: 14px; }
.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; margin-top: .2rem; }
.status.now { background: #dcfce7; color: var(--green); } .status.wait { background: #fef3c7; color: #92400e; }
.request { border-left: 4px solid var(--red); }
.phone { font-weight: 700; white-space: nowrap; }
.empty { grid-column: 1 / -1; color: var(--muted); background: #fff; border-radius: 16px; padding: 1.4rem; text-align: center; }
.btn { background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: .7rem 1.1rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--red-d); color: #fff; }
.btn-small { padding: .45rem .8rem; font-size: .9rem; }
.btn-ghost { background: var(--rose); color: var(--red-d); } .btn-ghost:hover { background: #ffe4e6; color: var(--red-d); }
.form .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 .8rem; }
#request-form { margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; }
.compat { border-collapse: separate; border-spacing: 4px; background: #fff; border-radius: var(--radius); padding: .6rem; border: 1px solid var(--line); }
.compat th { padding: .5rem .7rem; font-weight: 700; white-space: nowrap; }
.compat td { width: 52px; height: 40px; text-align: center; border-radius: 8px; font-weight: 800; }
.compat .yes { background: #fee2e2; color: var(--red); } .compat .no { color: #d6c9cb; }
.register-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; align-items: start; }
.register-grid h2 { font-size: 1.7rem; margin-top: 0; }
.ticks { list-style: none; padding: 0; } .ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.ticks li::before { content: "♥"; color: var(--red); position: absolute; left: 0; }
.foot { border-top: 1px solid var(--line); padding: 22px 0 30px; color: var(--muted); font-size: .88rem; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; z-index: 40; max-width: calc(100% - 32px); }
@media (max-width: 860px) { .hero-grid, .register-grid { grid-template-columns: 1fr; } .head nav a:not(.cta) { display: none; } }
@media (max-width: 400px) { .donors, .requests { grid-template-columns: 1fr; } }
