← Public packages
@kentcdodds/pie-night
Pie night sign-ups: hosts start an event, guests add the pies they are bringing and watch the list fill in live. Installable, with optional push notifications.
Files
:root {
--cream: #fff4e4;
--cream-2: #ffe9cc;
--crust: #c9783a;
--crust-dark: #8a4a1c;
--cherry: #d8434f;
--cherry-dark: #b22f3b;
--ink: #4a2a17;
--ink-soft: #7a5640;
--mint: #8fcfb0;
--card: #fffdf8;
--radius: 22px;
--shadow: 0 6px 0 #ecd2ad, 0 14px 30px rgba(138, 74, 28, 0.12);
color-scheme: light dark;
--heading: var(--cherry);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
font-family: Nunito, ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
font-weight: 500;
color: var(--ink);
background:
radial-gradient(circle at 12px 12px, rgba(216, 67, 79, 0.07) 3px, transparent 4px) 0 0 / 34px 34px,
linear-gradient(180deg, #ffe2b8 0%, var(--cream) 340px);
background-color: var(--cream);
min-height: 100vh;
line-height: 1.45;
}
.wrap { max-width: 560px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom)); }
h1, h2, h3 { font-family: Fredoka, ui-rounded, system-ui, sans-serif; line-height: 1.1; margin: 0; }
.hero { text-align: center; padding: 0 4px 10px; }
.hero-pie svg { width: min(46vw, 180px); height: auto; filter: drop-shadow(0 6px 0 rgba(138, 74, 28, 0.15)); animation: bob 3.2s ease-in-out infinite; }
.steam path { animation: steam 2.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 0.4s; }
.steam path:nth-child(3) { animation-delay: 0.8s; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
@keyframes steam { 0%, 100% { opacity: 0.15; transform: translateY(4px); } 50% { opacity: 0.8; transform: translateY(-3px); } }
.kicker { margin: 6px 0 0; font-weight: 800; color: var(--crust); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); font-weight: 700; color: var(--heading); text-shadow: 0 3px 0 #f7cf8c; letter-spacing: -0.01em; margin-top: 2px; }
.when { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 2px solid #f1d3a8; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 1.02rem; box-shadow: 0 3px 0 #ecd2ad; }
.chip-day { background: #fff; border-color: #f4b6bb; color: var(--cherry-dark); }
.blurb { margin: 8px auto 0; max-width: 30em; color: var(--ink-soft); font-size: 1.02rem; }
.count { margin: 14px auto 0; display: inline-block; background: var(--cherry); color: #fff; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.15rem; padding: 8px 18px; border-radius: 999px; box-shadow: 0 4px 0 var(--cherry-dark); }
.count:empty { display: none; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px 22px; margin: 18px 0 26px; border: 2px solid #f6dfbd; position: relative; }
.form-card::before { content: ''; position: absolute; inset: -2px -2px auto; height: 14px; border-radius: var(--radius) var(--radius) 0 0; background: repeating-linear-gradient(90deg, var(--crust) 0 14px, #e19a55 14px 28px); }
.form-card h2 { font-size: 1.7rem; color: var(--ink); margin: 8px 0 14px; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-weight: 800; margin: 0 0 6px 4px; font-size: 1rem; }
.field em { font-style: normal; font-weight: 600; color: var(--ink-soft); }
.field input {
width: 100%; font: inherit; font-size: 1.15rem; font-weight: 700; color: var(--ink);
padding: 14px 16px; border-radius: 16px; border: 2.5px solid #efd4ae; background: #fff;
outline: none; transition: border-color 0.15s, box-shadow 0.15s;
-webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #c2a58c; font-weight: 600; }
.field input:focus { border-color: var(--crust); box-shadow: 0 0 0 4px rgba(201, 120, 58, 0.18); }
.field input[type='date'], .field input[type='time'] { min-height: 54px; font-size: 1rem; padding: 12px 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.quick button { font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--ink); background: var(--cream-2); border: 2px solid #f1d3a8; border-radius: 999px; padding: 7px 12px; cursor: pointer; touch-action: manipulation; }
.quick button:active, .quick button.on { background: #ffd9a3; border-color: var(--crust); transform: translateY(1px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #ffe5e7; color: var(--cherry-dark); border-radius: 14px; padding: 10px 14px; font-weight: 800; margin: 0 0 12px; }
.big-btn {
width: 100%; font-family: Fredoka, sans-serif; font-size: 1.4rem; font-weight: 600; color: #fff;
background: var(--cherry); border: 0; border-radius: 18px; padding: 16px 20px; cursor: pointer;
box-shadow: 0 6px 0 var(--cherry-dark); transition: transform 0.08s, box-shadow 0.08s; touch-action: manipulation;
}
.big-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--cherry-dark); }
.big-btn[disabled] { opacity: 0.7; }
.big-btn.small { font-size: 1.15rem; padding: 13px 18px; width: auto; flex: 1; }
.big-btn.alt { background: var(--crust); box-shadow: 0 6px 0 var(--crust-dark); }
.ghost-btn { font: inherit; font-weight: 800; font-size: 1.05rem; background: transparent; color: var(--ink-soft); border: 2.5px solid #efd4ae; border-radius: 16px; padding: 12px 18px; cursor: pointer; }
.list-section h2 { font-size: 1.6rem; margin: 0 4px 12px; }
.pie-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pie-item {
display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
background: var(--card); border: 2px solid #f6dfbd; border-radius: 20px; padding: 12px 12px 12px 10px;
box-shadow: 0 4px 0 #ecd2ad; animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.5, 1) both;
}
.pie-item.fresh { border-color: var(--mint); box-shadow: 0 4px 0 #6fb893; }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(6px); } }
.pie-art { position: relative; width: 64px; height: 64px; }
.pie-art svg { width: 64px; height: 64px; display: block; }
.pie-art .emoji { position: absolute; right: -4px; bottom: -4px; font-size: 1.35rem; filter: drop-shadow(0 2px 0 #fff); }
.pie-name { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.3rem; line-height: 1.15; overflow-wrap: anywhere; }
.pie-who { color: var(--ink-soft); font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.pie-who b { color: var(--ink); }
.pie-note { display: inline-block; margin-top: 6px; background: #eaf7f0; color: #2f6b4f; border-radius: 10px; padding: 3px 10px; font-weight: 700; font-size: 0.92rem; overflow-wrap: anywhere; }
.pie-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; margin-top: -2px; }
.pie-actions button { font: inherit; font-weight: 800; font-size: 0.9rem; color: var(--ink-soft); background: var(--cream-2); border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; touch-action: manipulation; }
.pie-actions button.danger { color: var(--cherry-dark); background: #ffe5e7; }
.pie-actions button.confirming { color: #fff; background: var(--cherry); }
.empty { text-align: center; padding: 26px 16px; background: var(--card); border: 2.5px dashed #efc99a; border-radius: 20px; color: var(--ink-soft); font-weight: 700; }
.empty .big { font-size: 2.6rem; display: block; margin-bottom: 4px; }
.sheet { border: 0; padding: 0; background: transparent; width: 100%; max-width: 560px; margin: auto auto 0; }
.sheet::backdrop { background: rgba(74, 42, 23, 0.45); backdrop-filter: blur(2px); }
.sheet form { background: var(--card); border-radius: 26px 26px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,0.15); }
.sheet h2 { font-size: 1.5rem; margin: 0 0 14px; }
.sheet-actions { display: flex; gap: 10px; }
@media (min-width: 600px) { .sheet { margin: auto; } .sheet form { border-radius: 26px; } }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); max-width: calc(100% - 32px); text-align: center; z-index: 20; animation: pop 0.3s both; }
.burst { position: fixed; pointer-events: none; font-size: 28px; z-index: 30; animation: fly 1.1s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.foot { text-align: center; color: var(--ink-soft); font-weight: 700; margin-top: 34px; font-size: 0.92rem; }
.foot a { color: var(--ink-soft); }
.admin-card h2 { font-size: 1.4rem; margin: 0 0 6px; }
.admin-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.admin-card p { margin: 0 0 12px; color: var(--ink-soft); font-weight: 700; }
.admin-card .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.admin-card .row .field, .admin-card .row input { min-width: 0; }
.field textarea { width: 100%; font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink); padding: 12px 16px; border-radius: 16px; border: 2.5px solid #efd4ae; background: #fff; resize: vertical; min-height: 96px; outline: none; }
.field textarea:focus { border-color: var(--crust); box-shadow: 0 0 0 4px rgba(201, 120, 58, 0.18); }
.admin-card .removed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.admin-card .removed li { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: var(--cream-2); border-radius: 14px; padding: 8px 12px; font-weight: 700; }
.admin-card .removed button { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: 6px 12px; background: #eaf7f0; color: #2f6b4f; cursor: pointer; }
.admin-card hr { border: 0; border-top: 2px dashed #efd4ae; margin: 18px 0; }
.admin-badge { display: inline-block; background: #eaf7f0; color: #2f6b4f; border-radius: 999px; padding: 3px 10px; font-size: 0.85rem; font-weight: 800; margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
/* One family, several pies. */
.pie-row { background: #fff8ec; border: 2px solid #f1d3a8; border-radius: 18px; padding: 12px; margin: 0 0 14px; }
.row-top { display: flex; justify-content: space-between; align-items: center; min-height: 30px; margin: 0 2px 6px; }
.row-label { font-weight: 800; }
.row-x { font: inherit; font-size: 1.5rem; line-height: 1; color: var(--ink-soft); background: #f5e0c2; border: 0; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; }
.pie-row input { width: 100%; font: inherit; font-size: 1.15rem; font-weight: 700; color: var(--ink); padding: 13px 14px; border-radius: 14px; border: 2px solid #efd4ae; background: #fff; outline: none; appearance: none; }
.pie-row input:focus { border-color: var(--crust); box-shadow: 0 0 0 3px rgba(201,120,58,.15); }
.pie-row input::placeholder { color: #b2967e; font-weight: 600; }
.pie-row input.note-input { font-size: .94rem; padding: 11px 12px; }
.pie-row .quick { margin: 8px 0 10px; gap: 6px; }
.pie-row .quick button { padding: 6px 9px; font-size: .86rem; }
.add-row-btn { display: block; width: 100%; border: 2.5px dashed #ce8a48; border-radius: 16px; background: #ffedcc; color: var(--crust-dark); font-family: Fredoka, sans-serif; font-size: 1.25rem; font-weight: 600; padding: 14px 10px; margin: 4px 0 18px; cursor: pointer; }
.add-row-btn span { font-size: 1.45rem; margin-right: 4px; }
.add-row-btn:active { background: #ffe2af; }
.form-done { text-align: center; padding: 8px 0 0; }
.done-pies { font-size: 2.2rem; margin: 2px 0 8px; }
.done-title { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0; color: #2f6b4f; }
.done-sub { font-weight: 800; color: var(--ink-soft); margin: 10px 0 18px; }
.form-done .big-btn { font-size: 1.18rem; }
.family { background: var(--card); border: 2px solid #f1d3a8; border-radius: 22px; padding: 14px 12px 8px; box-shadow: 0 4px 0 #ecd2ad; }
.family-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 0 3px; }
.family-name { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.35rem; line-height: 1.15; overflow-wrap: anywhere; }
.family-count { white-space: nowrap; background: #ffe8c5; color: var(--crust-dark); font-weight: 800; font-size: .88rem; border-radius: 999px; padding: 4px 10px; }
.family-sum { color: var(--ink-soft); font-weight: 700; margin: 4px 3px 8px; font-size: .94rem; }
.family-pies { list-style: none; padding: 0; margin: 0; }
.family-pies .pie-item { background: transparent; border: 0; border-top: 1.5px dashed #efd4ae; border-radius: 0; box-shadow: none; padding: 12px 0 10px; gap: 8px 10px; grid-template-columns: 48px 1fr; }
.family-pies .pie-item.fresh { background: #f0faf4; border-radius: 14px; padding-left: 4px; padding-right: 4px; }
.family-pies .pie-art, .family-pies .pie-art svg { width: 48px; height: 48px; }
.family-pies .pie-art .emoji { font-size: 1rem; }
.family-pies .pie-name { font-size: 1.18rem; }
.family-pies .pie-note { margin-top: 4px; font-size: .85rem; }
.family-pies .pie-actions { margin-top: -2px; }
.family-pies .pie-actions button { padding: 7px 12px; font-size: .86rem; }
/* Presence bubbles only show names people typed on their own device. */
.presence { margin-top: 20px; }
.presence-people { display: flex; justify-content: center; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.person { display: flex; align-items: center; flex-direction: column; max-width: 66px; animation: presence-in .6s cubic-bezier(.2,1.4,.5,1) both; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-family: Fredoka,sans-serif; font-size: 1rem; font-weight: 600; border: 3px solid #fffdf8; box-shadow: 0 3px 0 #dec4a3; position: relative; }
.avatar::after { content: ''; position: absolute; right: -2px; bottom: -2px; border: 2px solid #fff; background: #71b28a; width: 10px; height: 10px; border-radius: 50%; }
.color-0 { background: #ffe2a3; color: #855220; }.color-1 { background: #cdebd8; color: #356449; }.color-2 { background: #f9c7b9; color: #8c4333; }.color-3 { background: #d3d2f2; color: #525087; }.color-4 { background: #ffd6df; color: #973f55; }.color-5 { background: #e2e8b8; color: #69742e; }
.person-name { display: block; font-size: .7rem; font-weight: 800; line-height: 1.1; color: var(--ink-soft); margin-top: 5px; max-width: 72px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence-caption { font-size: .8rem; font-weight: 800; color: var(--ink-soft); margin: 6px 0 0; }
.typing-caption { font-size: .8rem; font-weight: 700; color: var(--crust-dark); margin: 2px 0 0; min-height: 0; }
.typing-caption:not(:empty) { animation: typing-pulse 2.5s ease-in-out infinite; }
@keyframes presence-in { from { opacity: 0; transform: translateY(8px) scale(.85); } }
@keyframes typing-pulse { 50% { opacity: .55; } }
[hidden] { display: none !important; }
.pie-row .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pie-row .quick button { flex-shrink: 0; }
.person { max-width: 84px; }
.person-name { max-width: 84px; }
@media (prefers-reduced-motion: reduce) { .person, .typing-caption:not(:empty) { animation: none; } }
/* Live updates: only new or changed pies pop in. */
.pie-item { animation: none; }
.pie-item.fresh { animation: pie-pop .7s cubic-bezier(.2, 1.5, .45, 1) both, pie-glow 2.6s ease-out .2s both; }
@keyframes pie-pop { 0% { opacity: 0; transform: scale(.6) translateY(10px) rotate(-4deg); } 60% { opacity: 1; transform: scale(1.04) rotate(1deg); } 100% { transform: none; } }
@keyframes pie-glow { 0% { box-shadow: 0 0 0 0 rgba(113, 178, 138, .55); } 100% { box-shadow: 0 0 0 14px rgba(113, 178, 138, 0); } }
.family:has(.pie-item.fresh) { animation: pie-pop .5s cubic-bezier(.2, 1.4, .5, 1) both; }
.live-badge { display: inline-flex; align-items: center; gap: 4px; background: #e3f4ea; color: #2f6b4f; border-radius: 999px; padding: 1px 8px 1px 6px; font-size: .72rem; font-weight: 800; vertical-align: 1px; }
.live-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3fa66a; animation: live-pulse 1.8s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .pie-item.fresh, .family:has(.pie-item.fresh), .live-badge::before { animation: none; } }
/* ---------- Themes (per event) ---------- */
body[data-theme='berry'] { --cherry: #c2416b; --cherry-dark: #9a2c52; }
body[data-theme='berry'] .hero h1 { text-shadow: 0 3px 0 #f7c3d3; }
body[data-theme='evergreen'] { --cherry: #2f7a55; --cherry-dark: #1f5a3d; }
body[data-theme='evergreen'] .hero h1 { text-shadow: 0 3px 0 #bfe2c9; }
body[data-theme='evergreen'] .chip-day { border-color: #b9e3c3; }
/* ---------- Home, create, not found ---------- */
.hero-small .hero-pie svg { width: min(34vw, 130px); }
.hero-small + .blurb { text-align: center; }
.code-form { display: flex; gap: 10px; align-items: flex-end; }
.code-form .field { flex: 3; margin: 0; }
.code-form .big-btn { flex: 1; }
.card > a.big-btn { display: block; text-align: center; text-decoration: none; margin-top: 12px; }
.card h2 { margin-bottom: 10px; }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event-list a { display: block; padding: 12px 14px; border: 2px solid #f1d3a8; border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; }
.event-list a b { display: block; font-family: Fredoka, sans-serif; font-size: 1.2rem; }
.event-list a span { color: var(--ink-soft); font-size: 0.92rem; }
.row { display: flex; gap: 10px; }
.row .field { flex: 1; }
.hint { color: var(--ink-soft); font-size: 0.92rem; margin: -6px 4px 14px; word-break: break-all; }
.themes { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.themes legend { font-weight: 800; margin: 0 0 6px 4px; padding: 0; }
.theme-pick { display: inline-flex; align-items: center; gap: 6px; border: 2px solid #f1d3a8; border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer; background: #fff; }
.theme-pick[data-theme='harvest'] { color: #b4532a; }
.theme-pick[data-theme='berry'] { color: #c2416b; }
.theme-pick[data-theme='evergreen'] { color: #2f7a55; }
.theme-pick:has(input:checked) { border-color: currentColor; box-shadow: 0 3px 0 currentColor; }
textarea { font: inherit; }
select { font: inherit; font-size: 1.05rem; padding: 12px; border-radius: 14px; border: 2.5px solid #efd4ae; background: #fff; width: 100%; color: var(--ink); }
.share-link code { word-break: break-all; background: #fff4e4; padding: 4px 8px; border-radius: 8px; }
.og-preview { width: 100%; height: auto; border-radius: 14px; border: 2px solid #f1d3a8; }
/* ---------- Notifications, install, update ---------- */
.notify-card { background: var(--card); border: 2px dashed #f1c98f; border-radius: var(--radius); padding: 14px 16px; margin: -8px 0 24px; text-align: center; }
.notify-text { margin: 0 0 10px; font-weight: 700; }
.notify-card .notify-text:last-child { margin: 0; }
.notify-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.notify-actions .big-btn.small { flex: 0 1 auto; }
.notify-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
#host-notify { text-align: left; }
#host-notify .notify-actions { justify-content: flex-start; }
.install-btn { font: inherit; font-weight: 800; background: #fff; color: var(--ink); border: 2px solid #f1d3a8; border-radius: 999px; padding: 10px 16px; cursor: pointer; box-shadow: 0 3px 0 #ecd2ad; }
.update-bar { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%); display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; font-weight: 800; padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index: 30; max-width: calc(100% - 24px); }
.update-bar[hidden] { display: none; }
.update-bar button { font: inherit; font-weight: 800; background: var(--cherry); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
/* ---------- Dark (system setting): a warm night-time kitchen, like the share image ---------- */
@media (prefers-color-scheme: dark) {
:root {
--cream: #24160e;
--cream-2: #3a2518;
--crust: #e39a5a;
--crust-dark: #f3b77c;
--cherry: #c63c48;
--cherry-dark: #85222c;
--ink: #fbeedd;
--ink-soft: #dcc2a8;
--mint: #6fbf92;
--card: #2f1e14;
--line: #553826;
--heading: #ff9f70;
--shadow: 0 6px 0 #160d08, 0 14px 30px rgba(0, 0, 0, 0.35);
}
body {
background:
radial-gradient(circle at 12px 12px, rgba(255, 200, 120, 0.05) 3px, transparent 4px) 0 0 / 34px 34px,
radial-gradient(ellipse at 50% -80px, #5a2f17 0%, transparent 420px),
linear-gradient(180deg, #3a2012 0%, var(--cream) 380px);
background-color: var(--cream);
}
body[data-theme='berry'] { --cherry: #b8395f; --cherry-dark: #7a1f3d; --heading: #ff8fb4; }
body[data-theme='evergreen'] { --cherry: #2e7a54; --cherry-dark: #184a31; --heading: #8fdcab; }
.hero h1, body[data-theme] .hero h1 { text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); }
.hero-pie svg { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45)); }
.kicker { color: #f6c177; }
.chip, .theme-pick, .install-btn { background: var(--card); border-color: var(--line); box-shadow: 0 3px 0 #160d08; color: var(--ink); }
.chip-day, body[data-theme='evergreen'] .chip-day { background: #3a1f1c; border-color: #7a3a3f; color: #ffc9c9; }
.card, .pie-item, .family { border-color: var(--line); }
.pie-item, .family { box-shadow: 0 4px 0 #160d08; }
.form-card::before { background: repeating-linear-gradient(90deg, #b8642c 0 14px, #d9874a 14px 28px); }
.field input, .field textarea, .pie-row input, select { background: #1f130c; border-color: var(--line); color: var(--ink); }
.field input::placeholder, .pie-row input::placeholder { color: #9c7f67; }
.field input:focus, .field textarea:focus, .pie-row input:focus { border-color: var(--crust); box-shadow: 0 0 0 4px rgba(227, 154, 90, 0.22); }
.quick button { background: var(--cream-2); border-color: var(--line); color: var(--ink); }
.quick button:active, .quick button.on { background: #5a3a22; border-color: var(--crust); }
.form-error, .pie-actions button.danger { background: #4a1c22; color: #ffc2c6; }
.big-btn.alt { background: #b8642c; box-shadow: 0 6px 0 #6e3714; }
.ghost-btn { border-color: var(--line); color: var(--ink-soft); }
.empty { border-color: #6a4630; }
.sheet::backdrop { background: rgba(0, 0, 0, 0.6); }
.toast { background: #fbeedd; color: #2a1810; }
.pie-note, .admin-badge, .admin-card .removed button, .live-badge { background: #1d3a2a; color: #a8e6c1; }
.done-title { color: #a8e6c1; }
.pie-row { background: #27180f; border-color: var(--line); }
.row-x { background: var(--cream-2); }
.add-row-btn { background: #3a2416; border-color: #b8742f; color: #f6c177; }
.add-row-btn:active { background: #4a2e1b; }
.family-count { background: #4a2e1b; color: #f6c177; }
.family-pies .pie-item { border-top-color: var(--line); }
.family-pies .pie-item.fresh { background: #1d3a2a; }
.admin-card hr { border-top-color: var(--line); }
.avatar { border-color: var(--card); box-shadow: 0 3px 0 #160d08; }
.avatar::after { border-color: var(--card); }
.pie-art .emoji { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5)); }
.event-list a, .share-link code { background: #1f130c; border-color: var(--line); color: var(--ink); }
.og-preview { border-color: var(--line); }
.notify-card { border-color: #7a5030; }
.update-bar { background: #fbeedd; color: #2a1810; }
.theme-pick[data-theme='harvest'] { color: #ffae7a; }
.theme-pick[data-theme='berry'] { color: #ff8fb4; }
.theme-pick[data-theme='evergreen'] { color: #8fdcab; }
a { color: #ffc58f; }
}