:root {
  --hot-pink: #ff2d7a;
  --navy-blue: #002375;
  --header-blue: #0b2244;
  --light-pink: #ffe6f0;
  --ink: #23172b;
  --muted: #5c5465;
  --bg: #fff9fc;
  --surface: #ffffff;
  --border: #ffd7ea;
  --banner-navy-blue-gradient: linear-gradient(135deg, #002375 0%, #003a99 44%, #0052cc 100%);
  --button-orange-start: #ffb347;
  --button-orange-end: #ff8c1a;
  --button-orange-dark: #ff6a00;
  --button-orange-gradient: linear-gradient(135deg, var(--button-orange-start) 0%, var(--button-orange-end) 52%, var(--button-orange-dark) 100%);
  --button-orange-shadow: 0 12px 30px rgba(255, 122, 26, 0.35);
  --shadow: 0 18px 40px rgba(0, 35, 117, 0.14);
  --radius: 16px;
  --max-width: 1100px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(140% 80% at 20% 10%, rgba(255, 45, 122, 0.12), transparent),
    radial-gradient(120% 70% at 80% 0%, rgba(255, 122, 26, 0.12), transparent),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.muted { color: var(--muted); }
.list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6; }

.site-shell { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section-header > *,
.highlight > *,
.about-single > *,
.blog-layout > *,
.modal-grid > * {
  min-width: 0;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: var(--header-blue);
  border-bottom: none;
  box-shadow: 0 14px 36px rgba(11, 34, 68, 0.28);
  z-index: 20;
}

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.brand--header,
.brand--footer { gap: 0; }
.brand--header { --brand-logo-size: 104px; }
.brand--footer { --brand-logo-size: 148px; }
.brand-logo {
  position: relative;
  display: block;
  width: var(--brand-logo-size);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  transform: translate(var(--brand-logo-x, 0px), var(--brand-logo-y, 0px));
  transform-origin: center center;
  transition: transform 0.18s ease, width 0.18s ease;
}
.brand-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.brand-mark--fallback {
  width: 100%;
  height: 100%;
  border-radius: 22%;
}
.brand-logo-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}
.brand.is-brand-active .brand-logo {
  filter: drop-shadow(0 0 0.55rem rgba(255, 255, 255, 0.42));
}
.brand-mark {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--hot-pink), var(--navy-blue));
  box-shadow: 0 14px 30px rgba(255, 45, 122, 0.3);
  display: grid; place-items: center;
  overflow: hidden;
}
.brand-mark.small { width: 40px; height: 40px; border-radius: 12px; }
.logo-dot {
  position: absolute;
  width: 90%; height: 90%;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.45));
  opacity: 0.7;
}
.logo-text { position: relative; font-weight: 900; color: #fff; letter-spacing: 0.04em; font-size: 0.9rem; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word strong { letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 14px; align-items: center; font-weight: 700; }
.nav-links a { padding: 8px 12px; border-radius: 12px; transition: all 0.2s ease; color: #fff; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--button-orange-gradient);
  color: #fff; border: none; border-radius: 14px; padding: 12px 18px;
  font-weight: 800; letter-spacing: -0.01em; cursor: pointer;
  box-shadow: var(--button-orange-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 122, 26, 0.42); }
.btn.secondary { background: var(--button-orange-gradient); box-shadow: var(--button-orange-shadow); }
.btn.ghost { background: var(--button-orange-gradient); color: #fff; border: none; box-shadow: var(--button-orange-shadow); }
.navbar .btn.ghost { color: #fff; border-color: transparent; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hero {
  padding: 72px 0 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; align-items: center;
}
.hero-visual { display:none; }
.simple-hero {
  padding: 48px 0 28px;
}
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.3rem); margin: 0 0 12px; letter-spacing: -0.04em; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.tagline:empty,
.hero p:empty,
.section p.lead:empty { display: none; }
.tagline { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 45, 122, 0.12); padding: 8px 12px; border-radius: 999px; font-weight: 800; color: var(--hot-pink); }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }

.section { padding: 44px 0; }
.section h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.section p.lead { color: var(--muted); max-width: 680px; margin-bottom: 24px; }
.section-header { display:flex; justify-content: space-between; gap:16px; align-items:flex-start; flex-wrap:wrap; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.card small { color: var(--muted); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.card h3 { margin: 0; font-size: 1.2rem; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 10px; background: rgba(255, 45, 122, 0.12); color: var(--hot-pink); font-weight: 700; }
.card-actions { display:flex; justify-content: space-between; align-items:center; gap:10px; flex-wrap:wrap; }

.highlight {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
  background: linear-gradient(145deg, rgba(255,45,122,0.12), rgba(255,122,26,0.12));
  border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; align-items: center;
  box-shadow: var(--shadow);
}

.recipes-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chip {
  border: 1px solid rgba(255, 122, 26, 0.2);
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.96), rgba(255, 140, 26, 0.96));
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(255, 122, 26, 0.18);
}
.filter-chip.active { background: var(--button-orange-gradient); color: #fff; border-color: transparent; box-shadow: 0 12px 24px rgba(255, 122, 26, 0.28); }

.save-btn {
  border: none;
  background: var(--button-orange-gradient);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  transition: all 0.15s ease;
  box-shadow: 0 10px 20px rgba(255, 122, 26, 0.22);
}
.save-btn.saved { background: var(--button-orange-gradient); color: #fff; box-shadow: 0 12px 24px rgba(255, 122, 26, 0.3); }
.delete-btn { border: 1px solid var(--border); background: transparent; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 700; color: #c0392b; transition: all 0.15s ease; }
.delete-btn:hover { background: rgba(192,57,43,0.08); }

.saved-bar { padding: 10px 12px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); background: #fff; }

#recipe-form label { display:block; font-weight: 700; margin: 10px 0 6px; }
#recipe-form input,
#recipe-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
}
#recipe-form textarea { min-height: 120px; resize: vertical; }
.recipe-image-preview {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--light-pink);
}
.recipe-image-preview img {
  width: min(320px, 100%);
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.blog-post { padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.blog-post h3 { margin: 0 0 6px; }
.blog-post .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }

.admin-panel { position: sticky; top: 96px; border: 1px solid var(--border); background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.admin-panel h4 { margin: 0 0 10px; }
.admin-panel label { display: block; font-weight: 700; margin: 10px 0 6px; }
.admin-panel input, .admin-panel textarea, .admin-panel select {
  width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--border); font: inherit;
}
.admin-panel textarea { min-height: 120px; resize: vertical; }
.admin-panel .status { margin: 8px 0 0; font-size: 0.92rem; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.timeline { border-left: 3px solid var(--hot-pink); padding-left: 16px; display: grid; gap: 12px; }
.timeline-item { background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); }

footer {
  margin-top: 40px;
  padding: 26px 0 30px;
  border-top: none;
  color: #fff;
  background: var(--hot-pink);
}
footer a { color: #fff; }
footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.footer-credit {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}
.footer-credit a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.social-row { display:flex; gap:12px; align-items:center; }
.social-icon {
  width:42px; height:42px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 12px;
  border:1px solid var(--hot-pink);
  padding:8px;
  background:#fff;
  color: var(--hot-pink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.social-icon:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--navy-blue); color: var(--navy-blue); }
.social-icon svg { width:22px; height:22px; }

/* Auth */
.auth-panel {
  position: fixed; inset: 0; background: rgba(35, 23, 43, 0.45);
  display: none; align-items: center; justify-content: center; padding: 16px; z-index: 80;
}
.auth-panel.active { display: flex; }
.auth-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}
.auth-card label { display:block; font-weight: 700; margin: 10px 0 6px; }
.auth-card input { width:100%; padding: 10px; border-radius: 10px; border: 1px solid var(--border); font: inherit; }
.auth-divider { text-align: center; margin: 12px 0; color: var(--muted); font-weight: 700; }
.session-box { border: 1px solid var(--border); padding: 12px; border-radius: 12px; background: var(--light-pink); }
.session-actions { display:flex; gap:10px; margin-top:10px; flex-wrap: wrap; }
.close-auth { position: absolute; top: 10px; right: 10px; border: none; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(255,45,122,0.12); color: var(--hot-pink); font-weight: 800; }
.page-image-card { width: min(560px, 100%); }
.page-image-card label { display:block; font-weight: 700; margin: 10px 0 6px; }
.page-image-card input, .page-image-card select {
  width:100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
}
.page-image-target {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: var(--light-pink);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}
.page-image-inline-actions { margin-top: 10px; }
.page-image-form-actions { display:flex; gap:10px; justify-content: space-between; flex-wrap: wrap; margin-top: 18px; }
.page-image-note { margin: 8px 0 0; }
.page-image-width-readout {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

/* Recipe wall */
.recipe-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.recipe-wall a { text-decoration: none; }
.recipe-wall .card { padding: 0; overflow: hidden; height: 100%; }
.recipe-wall img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; height: 160px; object-fit: cover; width: 100%; }
.recipe-wall .card-body { padding: 12px 14px; }
.wall-filters { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.wall-filters input, .wall-filters select { padding:10px; border-radius:10px; border:1px solid var(--border); font:inherit; }

.about-single { display:grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap:20px; align-items:center; }
.about-single.about-single--text-only { grid-template-columns: 1fr; }
.photo-spot { background: linear-gradient(135deg, rgba(255,45,122,0.12), rgba(255,122,26,0.12)); border:1px dashed var(--border); border-radius: var(--radius); min-height: 240px; box-shadow: var(--shadow); }
[hidden] { display: none !important; }

.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 50; }
.modal.active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(35,23,43,0.55); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(900px, 95%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.25); border:1px solid var(--border); padding: 18px; z-index: 1; }
.modal-grid { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 18px; align-items: start; }
.modal-image img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.modal-body h2 { margin: 0 0 6px; }
.modal-body .muted { margin: 0 0 10px; display: block; }
.modal-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 12px 0; }
.chips { display:flex; flex-wrap:wrap; gap:6px; }
.chips .badge { margin:0; }
.close-modal { position:absolute; top:10px; right:10px; border:none; background:transparent; font-size:1.4rem; cursor:pointer; color:var(--muted); }

main.page-image-stage { position: relative; }
.managed-image {
  position: absolute;
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 6;
}
.managed-image.is-editable { pointer-events: auto; }
.managed-image img {
  width: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 14px;
}
.managed-image figcaption {
  margin-top: 10px;
  color: var(--muted);
}
.managed-image-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.managed-image-controls { display:flex; gap:8px; flex-wrap:wrap; }
.managed-image-handle {
  border: none;
  background: var(--button-orange-gradient);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-weight: 800;
  cursor: grab;
  box-shadow: 0 10px 18px rgba(255, 122, 26, 0.22);
  touch-action: none;
}
.managed-image.is-editable { cursor: grab; }
.managed-image.is-dragging,
.managed-image.is-dragging .managed-image-handle {
  cursor: grabbing;
}
.managed-image.is-resizing,
.managed-image.is-resizing .managed-image-resize-handle {
  cursor: nwse-resize;
}
.managed-image.is-selected,
.managed-image.is-focused {
  box-shadow: 0 0 0 4px rgba(255, 45, 122, 0.16), var(--shadow);
}
.managed-image-resize-handle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 122, 26, 0.28) 42% 58%, transparent 58% 100%),
    linear-gradient(135deg, var(--light-pink), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 18px rgba(255, 45, 122, 0.12);
  cursor: nwse-resize;
  touch-action: none;
}
.managed-image-resize-handle::before {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--hot-pink);
  border-bottom: 2px solid var(--hot-pink);
}

/* Admin */
.admin-only { display: none; }
body.is-admin .admin-only { display: block; }
.admin-floating {
  position: fixed; bottom: 18px; right: 18px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  max-width: min(780px, calc(100vw - 36px));
  padding: 10px 12px; border-radius: 14px; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.page-image-inspector {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.page-image-inspector[hidden] { display: none; }
.page-image-inspector-title {
  font-weight: 800;
  color: var(--ink);
}
.brand-admin-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.brand-admin-panel[hidden] { display: none; }
.brand-admin-title,
.brand-admin-status {
  font-weight: 800;
  color: var(--ink);
}
.brand-admin-target,
.brand-admin-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
.brand-admin-target select,
.brand-admin-field input {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.brand-admin-field input {
  width: 84px;
}
.page-image-size-readout {
  color: var(--muted);
  font-weight: 700;
}
.page-image-size-range,
.page-image-size-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
.page-image-size-range input[type="range"] {
  width: min(240px, 42vw);
}
.page-image-dimension-input {
  width: 78px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--ink);
  background: #fff;
}

[data-editable-key].is-editing { outline: 2px dashed rgba(255,45,122,0.4); outline-offset: 4px; border-radius: 6px; }

/* Cards list layout tweaks */
.card .list { padding-left: 18px; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .admin-panel { position: static; }
  .navbar { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; }
  .brand-word { display: none; }
  .about-single { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .page-image-form-actions { flex-direction: column; }
  .managed-image { max-width: min(88vw, 420px); }
  .managed-image-toolbar { flex-direction: column; align-items: stretch; }
  .managed-image-controls { justify-content: flex-start; }
  .page-image-inspector { align-items: stretch; }
  .page-image-size-range { width: 100%; }
  .page-image-size-range input[type="range"] { flex: 1; width: auto; }
  .brand-admin-panel { align-items: stretch; }
  .brand-admin-target,
  .brand-admin-field {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .navbar { padding: 12px 0; gap: 10px; }
  .brand { gap: 10px; }
  .brand--header { --brand-logo-size: 78px; }
  .brand--footer { --brand-logo-size: 108px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 14px; }
  .logo-text { font-size: 0.8rem; }
  .nav-links { justify-content: space-between; gap: 8px 10px; }
  .nav-links a,
  .nav-links .btn.ghost { padding: 8px 10px; font-size: 0.95rem; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 56px 0 34px; }
  .simple-hero { padding: 40px 0 24px; }
  .hero h1 { font-size: clamp(2rem, 11vw, 2.7rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 36px 0; }
  .highlight,
  .about-single { padding: 20px; }
  .photo-spot { min-height: 200px; }
  .section-header > * { width: 100%; }
  .wall-filters {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 140px);
  }
  .wall-filters input,
  .wall-filters select { width: 100%; min-width: 0; }
  .saved-bar { width: 100%; }
  footer .footer-grid { grid-template-columns: 1fr; }
  .admin-floating {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    gap: 8px;
    padding: 12px;
  }
  .admin-floating > .muted { width: 100%; }
  .admin-floating .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .page-image-size-readout { width: 100%; }
  .brand-admin-status,
  .brand-admin-title { width: 100%; }
}

@media (max-width: 540px) {
  .navbar { justify-content: space-between; }
  .nav-links { justify-content: flex-start; }
  .nav-links a { padding: 6px 8px; }
  .nav-links .btn.ghost { padding: 8px 12px; }
  .hero { padding: 48px 0 28px; }
  .auth-card { padding: 18px; }
  .highlight,
  .card,
  .admin-panel,
  .modal-card { padding: 16px; }
  .wall-filters { grid-template-columns: 1fr; }
  .modal-card { width: min(100vw - 16px, 900px); }
  .admin-floating .btn { flex: 1 1 100%; }
  .page-image-size-field { flex: 1 1 calc(50% - 6px); }
  .page-image-dimension-input { width: 100%; }
  .brand-admin-field input,
  .brand-admin-target select { width: 100%; }
}
