:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --text: #131722;
  --muted: #5d6475;
  --border: #e3e6ef;
  --brand: #4f46e5;
  --brand-ink: #ffffff;
  --brand-soft: #eef0ff;
  --ok: #15803d;
  --ok-soft: #e7f7ec;
  --warn: #b45309;
  --warn-soft: #fff6e6;
  --danger: #c0262d;
  --danger-soft: #fdecec;
  --star: #f59e0b;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --radius: 14px;
  --bubble-me: #4f46e5;
  --bubble-me-ink: #fff;
  --bubble-them: #eceef5;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1117; --surface: #171b24; --surface-2: #1f2430; --text: #e8eaf0; --muted: #9aa1b2; --border: #2a3040;
    --brand: #818cf8; --brand-ink: #0e1117; --brand-soft: #23264a; --ok: #4ade80; --ok-soft: #12301d; --warn: #fbbf24;
    --warn-soft: #33270d; --danger: #f87171; --danger-soft: #3a1717; --shadow: 0 1px 2px rgba(0,0,0,.4);
    --bubble-me: #6366f1; --bubble-me-ink: #fff; --bubble-them: #252b39; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1117; --surface: #171b24; --surface-2: #1f2430; --text: #e8eaf0; --muted: #9aa1b2; --border: #2a3040;
  --brand: #818cf8; --brand-ink: #0e1117; --brand-soft: #23264a; --ok: #4ade80; --ok-soft: #12301d; --warn: #fbbf24;
  --warn-soft: #33270d; --danger: #f87171; --danger-soft: #3a1717; --shadow: 0 1px 2px rgba(0,0,0,.4);
  --bubble-me: #6366f1; --bubble-me-ink: #fff; --bubble-them: #252b39; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 14px; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 1.1rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--brand); }
.search { flex: 1; display: flex; min-width: 0; max-width: 560px; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--border); border-right: 0; border-radius: 999px 0 0 999px; padding: 9px 14px; background: var(--surface-2); color: var(--text); font: inherit; }
.search button { border: 1px solid var(--border); border-radius: 0 999px 999px 0; background: var(--surface-2); padding: 0 14px; cursor: pointer; }
.nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.nav a, .nav button.linkish { color: var(--text); padding: 8px 10px; border-radius: 10px; position: relative; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); text-decoration: none; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .72rem; line-height: 18px; text-align: center; font-weight: 600; }
.nav .badge { position: absolute; top: 0; right: -2px; }

/* mobile tab bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; gap: 8px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav .nav-desktop { display: none; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: var(--surface);
    border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a { flex: 1; text-align: center; padding: 8px 0 6px; color: var(--muted); font-size: .72rem; position: relative; }
  .tabbar a span { display: block; font-size: 1.25rem; line-height: 1.2; }
  .tabbar a.active { color: var(--brand); }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .badge { position: absolute; top: 2px; left: 55%; }
  body { padding-bottom: 64px; }
}

/* ---------- layout ---------- */
main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; outline: none; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.page-narrow { max-width: 520px; margin: 0 auto; }
.page-mid { max-width: 820px; margin: 0 auto; }

.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 20px 16px; text-align: center; display: grid; gap: 6px; }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { padding: 5px 10px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
button.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; }

label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .9rem; }
.field { margin-bottom: 14px; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; background: var(--surface);
  color: var(--text); font: inherit;
}
textarea { resize: vertical; min-height: 90px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: var(--surface); cursor: pointer; font-size: .85rem; color: var(--text); }
.chip.on, .chip:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.chip input { display: none; }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0; }

.notice { border-radius: 12px; padding: 12px 14px; font-size: .9rem; border: 1px solid var(--border); background: var(--surface-2); }
.notice.warn { background: var(--warn-soft); border-color: transparent; }
.notice.ok { background: var(--ok-soft); border-color: transparent; }
.notice.danger { background: var(--danger-soft); border-color: transparent; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }

/* ---------- home ---------- */
.hero { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; border-radius: 20px; padding: 36px 28px; margin-bottom: 26px; }
.hero h1 { font-size: 2rem; }
.hero p { opacity: .92; max-width: 640px; font-size: 1.05rem; }
.hero .btn { background: #fff; color: #312e81; border-color: #fff; }
.hero .btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: .9rem; opacity: .95; }
@media (max-width: 600px) { .hero { padding: 24px 18px; } .hero h1 { font-size: 1.5rem; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 12px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; color: var(--text); display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .9rem; }
.cat:hover { border-color: var(--brand); text-decoration: none; }
.cat .ico { font-size: 1.4rem; }

/* ---------- listing cards ---------- */
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
@media (max-width: 480px) { .listings { grid-template-columns: 1fr 1fr; gap: 10px; } }
.lcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; position: relative; }
.lcard:hover { text-decoration: none; box-shadow: var(--shadow); border-color: var(--brand); }
.lcard-link { color: inherit; display: flex; flex-direction: column; flex: 1; }
.lcard-link:hover { text-decoration: none; }
.listing-share { align-self: flex-start; margin: 0 12px 12px; }
.share-preview-image { max-width: 100%; max-height: 480px; object-fit: contain; }
.lcard .thumb { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; font-size: 2.4rem; overflow: hidden; }
.lcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
[data-listing-photo] { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
.lcard .body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.lcard .price { font-weight: 700; font-size: 1.05rem; }
.lcard .title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; }
.lcard .meta { color: var(--muted); font-size: .8rem; }
.lcard .status { position: absolute; top: 8px; left: 8px; }
.fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: 1rem; display: grid; place-items: center; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty .big { font-size: 2.6rem; }

/* ---------- browse ---------- */
.browse { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.filters { position: sticky; top: 76px; }
@media (max-width: 860px) {
  .browse { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters:not(.open) .filters-body { display: none; }
}
.filters-toggle { display: none; }
@media (max-width: 860px) { .filters-toggle { display: inline-flex; } }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }

/* ---------- listing detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }
.gallery-main { aspect-ratio: 4 / 3; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; font-size: 4rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; width: 70px; height: 54px; overflow: hidden; cursor: pointer; flex: none; background: var(--surface-2); }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail .price { font-size: 1.7rem; font-weight: 800; }
.desc { white-space: pre-wrap; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.seller-box { display: flex; gap: 12px; align-items: center; }

.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.8rem; }
.avatar.sm { width: 34px; height: 34px; font-size: .85rem; }
.stars { color: var(--star); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--border); }

/* ---------- sell form ---------- */
.uploader { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.uploader .slot { aspect-ratio: 1; border-radius: 10px; overflow: hidden; position: relative; background: var(--surface-2); border: 1px dashed var(--border); display: grid; place-items: center; }
.uploader .slot img { width: 100%; height: 100%; object-fit: cover; }
.uploader .slot button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 50%; width: 24px; height: 24px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.uploader label.add { cursor: pointer; color: var(--muted); font-weight: 600; text-align: center; margin: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.uploader input { display: none; }

/* ---------- messages ---------- */
.inbox { display: grid; grid-template-columns: 320px 1fr; height: calc(100dvh - 150px); min-height: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.inbox-list { border-right: 1px solid var(--border); overflow-y: auto; }
.inbox-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text); align-items: center; }
.inbox-item:hover, .inbox-item.on { background: var(--surface-2); text-decoration: none; }
.inbox-item .grow { min-width: 0; flex: 1; }
.inbox-item .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item .s { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat { display: flex; flex-direction: column; min-width: 0; }
.chat-head { padding: 10px 14px; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.chat-head .grow { flex: 1; min-width: 0; }
.chat-banner { padding: 6px 14px; font-size: .78rem; background: var(--ok-soft); color: var(--ok); display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--bubble-me); color: var(--bubble-me-ink); border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--bubble-them); border-bottom-left-radius: 4px; }
.bubble .time { display: block; font-size: .68rem; opacity: .7; margin-top: 2px; text-align: right; }
.bubble.fail { background: var(--danger-soft); color: var(--danger); }
.day { align-self: center; font-size: .75rem; color: var(--muted); margin: 8px 0; }
.chat-composer { border-top: 1px solid var(--border); }
.chat-form { display: flex; gap: 8px; padding: 10px; align-items: flex-end; }
.chat-form textarea { min-height: 42px; max-height: 140px; resize: none; border-radius: 20px; padding: 10px 14px; }
.chat-form .btn { border-radius: 20px; }
.chat-form .attach-button { flex: 0 0 42px; height: 42px; padding: 0; display: grid; place-items: center; cursor: pointer; }
.chat-attachment-pending { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; }
.chat-file-chip { display: inline-flex; gap: 7px; align-items: center; max-width: 100%; padding: 4px 8px; background: var(--surface-2); border-radius: 6px; font-size: .78rem; }
.chat-file-chip > span { color: var(--muted); white-space: nowrap; }
.chat-file-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; }
.chat-media-link { display: block; }
.chat-media { display: block; max-width: min(100%, 320px); max-height: 320px; border-radius: 8px; object-fit: contain; }
.chat-attachment-error { display: block; font-size: .82rem; opacity: .8; }
.digital-delivery-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 10px 10px; border-top: 1px solid var(--border); }
.digital-delivery-filename { min-width: 120px; max-width: min(100%, 260px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .82rem; }
.digital-delivery-form .check { margin: 0; }
.chat-tools { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px; border-top: 1px solid var(--border); }
@media (max-width: 760px) {
  .inbox { grid-template-columns: 1fr; height: calc(100dvh - 210px); border-radius: 12px; }
  .inbox.has-chat .inbox-list { display: none; }
  .inbox:not(.has-chat) .chat { display: none; }
  .bubble { max-width: 88%; }
}
.back-mobile { display: none; }
@media (max-width: 760px) { .back-mobile { display: inline-flex; } }

/* ---------- profile ---------- */
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-head .grow { flex: 1; min-width: 200px; }
.score { display: flex; gap: 22px; flex-wrap: wrap; }
.score div b { display: block; font-size: 1.3rem; }
.review { border-top: 1px solid var(--border); padding: 14px 0; }
.review:first-child { border-top: 0; }
.review .reply { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 6px; font-size: .9rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 18px 0 14px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--text); border-bottom-color: var(--brand); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--text); }

/* my listings table */
.mylist { display: grid; gap: 10px; }
.myrow { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-wrap: wrap; }
.myrow .thumb { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.myrow .thumb img { width: 100%; height: 100%; object-fit: cover; }
.myrow .grow { flex: 1; min-width: 160px; }
.admin-user-search { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.admin-user-search .field { flex: 1 1 180px; margin: 0; }
.admin-user-search .field:first-child { flex-grow: 2; }
.admin-user-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.admin-user-controls { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.admin-user-allowance { max-width: 440px; }
.admin-user-allowance input { width: 110px; }
.admin-user-allowance .hint { display: block; margin-top: 6px; }
.admin-user-pagination { margin-top: 20px; }
.listing-file-summary { display: grid; gap: 3px; color: var(--muted); margin-top: 10px; font-size: .75rem; }
.listing-file-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.listing-file-row:last-child { border-bottom: 0; }
.listing-file-row .grow { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.listing-file-editor { padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.listing-file-editor h2 { font-size: 1rem; }
.listing-delivery-form { padding: 12px; margin-top: 12px; border: 1px solid var(--border); border-radius: 10px; display: grid; gap: 10px; }
.listing-delivery-form p { margin: 0; }
.listing-delivery-files { display: grid; gap: 7px; max-height: 240px; overflow-y: auto; }
.listing-delivery-files label { overflow-wrap: anywhere; }
.other-delivery { margin-top: 12px; }
.other-delivery summary { cursor: pointer; font-size: .85rem; }
.digital-download { white-space: normal; overflow-wrap: anywhere; max-width: 100%; text-align: left; }

/* ---------- modal & toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(10, 12, 20, .55); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal { background: var(--surface); border-radius: 16px; padding: 22px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { margin-bottom: 10px; }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.star-input { display: flex; gap: 2px; font-size: 1.7rem; }
.star-input button { background: none; border: 0; cursor: pointer; color: var(--border); padding: 0 2px; font-size: inherit; line-height: 1; }
.star-input button.on { color: var(--star); }
.star-input.sm { font-size: 1.2rem; }
.safety-num { font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; letter-spacing: .5px; background: var(--surface-2); padding: 12px; border-radius: 10px; text-align: center; word-spacing: 6px; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 60; width: min(92vw, 420px); }
@media (max-width: 760px) { #toasts { bottom: 80px; } }
.toast { background: #111827; color: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: .92rem; }
.toast.err { background: var(--danger); }
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
