:root {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #3f3028;
  background: #f7f1e8;
  line-height: 1.5;
  --orange: #c86f3d;
  --orange-dark: #9f4f28;
  --cream: #fffaf3;
  --muted: #76665d;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--orange-dark); }
.topbar { background: #c96f3e; color: #fffaf3; padding: .85rem max(1rem, calc((100% - 1100px) / 2)); display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; box-shadow: 0 2px 10px #6f351c24; }
.topbar a { color: #fffaf3; text-decoration: none; }
.topbar a:hover, .link-button:hover { color: #fff0df; }
.brand { font-weight: 760; font-size: 1.15rem; letter-spacing: .01em; }
.topbar nav { display: flex; gap: 1.15rem; flex: 1; flex-wrap: wrap; }
.link-button { background: none; border: 0; padding: 0; color: #fffaf3; }
.container { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; }
.card { background: var(--cream); border: 1px solid #eadbce; border-radius: 16px; padding: 1.35rem; box-shadow: 0 5px 20px #6c4a3420; margin-bottom: 1rem; }
.narrow { max-width: 480px; margin: 3rem auto; }
.stack { display: grid; gap: 1rem; }
.compact { gap: .55rem; }
label { display: grid; gap: .3rem; font-weight: 650; }
input, textarea, select, button { font: inherit; color: inherit; border: 1px solid #ceb9aa; border-radius: 9px; padding: .72rem; background: #fffdfa; }
input:focus, textarea:focus, select:focus { outline: 3px solid #e8af874f; border-color: var(--orange); }
textarea { resize: vertical; }
button, .button { background: var(--orange); color: white; border: 0; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
button:hover, .button:hover { background: var(--orange-dark); color: white; }
.picker { border: 2px dashed #d18a5f; border-radius: 14px; padding: 2rem; text-align: center; background: #fff4e7; font-size: 1.15rem; }
.picker input { margin-top: 1rem; width: 100%; }
.error { color: #8c2920; background: #fde8e3; padding: .7rem; border-radius: 8px; }
.success { color: #416538; background: #edf5e8; padding: .7rem; border-radius: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.photo-card { background: var(--cream); border: 1px solid #eadbce; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px #6c4a3420; }
.photo-card img { width: 100%; height: 190px; object-fit: cover; background: #211a17; }
.photo-body { padding: 1rem; display: grid; gap: .65rem; }
.badge { display: inline-block; background: #e8efdd; color: #496035; padding: .2rem .55rem; border-radius: 99px; font-size: .8rem; width: max-content; }
.badge.muted { background: #ece6e1; color: #685d56; }
.badge.sticky { background: #f6d8aa; color: #784717; }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { width: auto; accent-color: var(--orange); }
.danger { background: #a84738; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; align-items: end; }
.admin-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.admin-links a { display: grid; color: inherit; text-decoration: none; }
.admin-links a:hover { border-color: #d98d5f; transform: translateY(-1px); }
.admin-links strong { font-size: 1.25rem; color: var(--orange-dark); }
.hint, small { color: var(--muted); }
.inline { display: flex; gap: .5rem; }
.inline input { flex: 1; }
@media (max-width: 700px) { .container { margin: 1rem auto; } .topbar nav { order: 3; width: 100%; gap: .85rem; } .gallery { grid-template-columns: 1fr; } }
