:root {
  /* Premium light palette — white surfaces, slate text, indigo primary */
  --bg: #ffffff;
  --surface: #f8fafc;      /* slate-50 */
  --bg-elev: #ffffff;
  --ink: #0f172a;          /* slate-900 */
  --ink-soft: #475569;     /* slate-600 */
  --ink-faint: #94a3b8;    /* slate-400 */
  --line: #e2e8f0;         /* slate-200 */
  --primary: #4f46e5;      /* indigo-600 */
  --primary-dark: #4338ca; /* indigo-700 */
  --primary-bright: #6366f1;
  --primary-050: #eef2ff;  /* indigo-50 */
  --success: #059669;      /* emerald-600 */
  --danger: #e11d48;       /* rose-600 */
  /* Back-compat aliases (old code referenced gold/accent) */
  --gold: var(--primary);
  --gold-bright: var(--primary-bright);
  --accent: var(--primary);
  --radius: 16px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 24px 48px -24px rgba(15, 23, 42, 0.22);
  --shadow-3: 0 4px 14px rgba(79, 70, 229, 0.25);
  --font: "Georgia", "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50vw 50vw at 12% -10%, rgba(99, 102, 241, 0.08), transparent 60%),
    radial-gradient(45vw 45vw at 100% 0%, rgba(16, 185, 129, 0.06), transparent 55%);
}
.topbar, .shell, .foot { position: relative; z-index: 1; }

/* Top bar — premium floating, blurred, rounded pill */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  position: sticky; top: 14px; z-index: 20;
  margin: 14px clamp(12px, 3vw, 28px) 0;
  padding: 10px 12px 10px 22px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 36px -14px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { color: var(--primary); font-size: 20px; }
.wordmark { font-family: var(--font); font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.pill {
  font-size: 11px; letter-spacing: 0.06em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-transform: uppercase;
}
.pill.ok { color: var(--success); border-color: rgba(5, 150, 105, 0.3); background: #ecfdf5; }

/* Shell */
.shell { max-width: 1140px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 64px; }

/* Hero */
.hero { max-width: 720px; margin-bottom: clamp(32px, 6vw, 60px); }
.hero h1 { font-family: var(--font); font-weight: 400; font-size: clamp(38px, 7vw, 72px); line-height: 1.03; letter-spacing: -0.02em; color: var(--ink); }
.hero h1 em { color: var(--primary); font-style: italic; }
.lede { margin-top: 22px; color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 58ch; }
.hero .btn { margin-top: 28px; }

/* Board */
.board { margin-top: clamp(28px, 5vw, 48px); }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.board-head h2 { font-family: var(--font); font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.board-sub { color: var(--ink-faint); font-size: 13px; margin-top: 4px; }

/* Generic card */
.card { position: relative; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-2); }
.glow::before { content: none; }
.card h2 { font-family: var(--font); font-weight: 400; font-size: 24px; margin-bottom: 20px; color: var(--ink); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; }

/* Forms (legacy) */
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: 13px; color: var(--ink-soft); }
label span { letter-spacing: 0.03em; font-size: 12px; }
input, select, textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s; resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }

/* Buttons — solid indigo, big tap targets, no hover-only reliance */
.btn {
  font-family: var(--sans); font-size: 15px; letter-spacing: 0.01em;
  color: #fff; background: var(--primary); border: none; border-radius: 12px;
  padding: 13px 20px; min-height: 44px; cursor: pointer; font-weight: 600;
  box-shadow: var(--shadow-3); transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(0.98); }
.btn.small { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.btn.ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; font-weight: 500; }
.btn.ghost:hover { background: var(--surface); border-color: #cbd5e1; }

.auth-area { display: flex; align-items: center; gap: 10px; }
.match-right { display: flex; align-items: center; gap: 14px; }

/* Unified premium nav buttons — same size, radius, and treatment */
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 12px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink); background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line); cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.nav-btn:hover { background: #fff; border-color: #cbd5e1; }
.nav-btn:active { transform: scale(0.97); }
.nav-icon { width: 40px; padding: 0; position: relative; font-size: 17px; }
.nav-btn-primary { color: #fff; background: var(--primary); border-color: transparent; box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3); }
.nav-btn-primary:hover { background: var(--primary-dark); border-color: transparent; }

.chip { font-size: 13px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; min-height: 38px; cursor: pointer; transition: all 0.15s; }
.chip:hover { border-color: #cbd5e1; }
.chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* Feed — responsive card grid */
.feed { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.feed-item {
  position: relative; display: grid; gap: 10px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-1); cursor: pointer; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.feed-item:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feed-item .t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed-item h3 { font-size: 17px; font-weight: 700; font-family: var(--sans); line-height: 1.3; color: var(--ink); }
.feed-item .meta { font-size: 13px; color: var(--ink-soft); }
.feed-item .cta { font-size: 13px; color: var(--primary); font-weight: 600; }
.empty-board { grid-column: 1 / -1; text-align: center; color: var(--ink-faint); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 20px; font-size: 14px; }

/* Status tags — distinct colored badges */
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.tag.lost { background: #fff1f2; color: #e11d48; }        /* rose */
.tag.found { background: #ecfdf5; color: #059669; }        /* emerald */
.tag.resolved { background: #f1f5f9; color: #475569; }
.tag.mine { background: var(--primary-050); color: var(--primary); }
.tag.reunited {
  background: linear-gradient(180deg, #34d399, #059669);
  color: #fff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
}

/* Overlay + centered modal */
.overlay { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(4px); animation: fade 0.2s ease; }
.modal { width: min(560px, 100%); max-height: 90vh; overflow-y: auto; animation: rise 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Close button */
.modal-x, .close { position: absolute; top: 16px; right: 18px; background: #f1f5f9; border: none; color: var(--ink-soft); width: 32px; height: 32px; border-radius: 999px; font-size: 20px; line-height: 1; cursor: pointer; }
.modal-x:hover, .close:hover { background: #e2e8f0; color: var(--ink); }

/* Matches / results */
.matches { list-style: none; display: grid; gap: 12px; }
.match { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.match .info h3 { font-size: 15px; font-family: var(--sans); color: var(--ink); }
.match .info .meta { font-size: 12px; color: var(--ink-faint); }
.score { font-family: var(--font); font-size: 20px; color: var(--primary); min-width: 64px; text-align: right; }
.empty { color: var(--ink-faint); font-size: 14px; padding: 8px 0; }
.result-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.result-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #f1f5f9; }

.match-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.match-badge.high { background: #ecfdf5; color: #059669; }
.match-badge.mid { background: #fffbeb; color: #b45309; }
.match-badge.low { background: #f1f5f9; color: #64748b; }

/* Chat — modern messaging */
.chat-log { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding: 4px; margin-bottom: 12px; }
.bubble { padding: 9px 13px; border-radius: 16px; font-size: 14px; max-width: 78%; background: #f1f5f9; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 10px; opacity: 0.7; margin-bottom: 2px; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; }
.chat-toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.chat-mini-btn { font-size: 13px; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); min-height: 38px; }
.chat-mini-btn:hover { border-color: #cbd5e1; color: var(--ink); }
.chat-mini-btn.resolve { border-color: rgba(5, 150, 105, 0.35); color: var(--success); background: #ecfdf5; }
.chat-resolved-note { font-size: 13px; color: var(--success); align-self: center; }

/* rt-input (report/edit forms) */
.rt-input { width: 100%; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 46px; transition: border-color 0.15s, box-shadow 0.15s; resize: vertical; }
.rt-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }

/* Lost/Found tab toggles */
.report-tab, .edit-tab { color: var(--ink-soft); background: transparent; cursor: pointer; border: none; min-height: 42px; }
.report-tab-active, .edit-tab-active { color: #fff; background: var(--primary); }

/* Profile menu buttons */
.prof-btn { text-align: left; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; min-height: 50px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.prof-btn:hover { border-color: #cbd5e1; background: var(--surface); }
.prof-btn-danger { color: var(--danger); }
.prof-btn-danger:hover { border-color: rgba(225, 29, 72, 0.4); background: #fff1f2; }

/* Photo upload grid (report/edit) */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-slot { position: relative; height: 112px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f8fafc; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot .rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 999px; background: rgba(15,23,42,0.72); color: #fff; border: none; cursor: pointer; font-size: 15px; display: grid; place-content: center; }
.photo-slot .rm:hover { background: var(--danger); }
.photo-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 112px; color: var(--ink-soft); font-size: 13px; font-weight: 500;
  border: 2px dashed #cbd5e1; border-radius: 14px; background: #fff; cursor: pointer; transition: all 0.15s;
}
.photo-empty:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-050); }
.photo-empty .pe-plus { font-size: 26px; line-height: 1; }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo-act { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; min-height: 42px; }
.photo-act:hover { border-color: var(--primary); color: var(--primary); }
.drop-zone { margin-top: 10px; padding: 16px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; color: var(--ink-faint); font-size: 13px; transition: all 0.15s; }
.drop-zone.drag { border-color: var(--primary); background: var(--primary-050); color: var(--primary); }

/* Footer */
.foot { padding: 36px 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; text-align: center; }
.foot strong { color: var(--ink); font-weight: 600; }

[hidden] { display: none !important; }

/* ============ Notification bell ============ */
.bell-wrap { position: relative; }
.bell-btn { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; font-size: 18px; color: var(--ink); transition: border-color 0.15s; }
.bell-btn:hover { border-color: #cbd5e1; }
.bell-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-content: center; border: 2px solid #fff; }
.msg-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 16px; border-radius: 14px;
  background: var(--primary-050); border: 1px solid rgba(79, 70, 229, 0.18);
}
.msg-note-icon { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.msg-note p { font-size: 13px; line-height: 1.5; color: #3730a3; margin: 0; }
.msg-note strong { color: var(--primary-dark); font-weight: 700; }

.bell-list { display: grid; gap: 8px; }
.bell-item { display: grid; gap: 3px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.bell-item:hover { border-color: var(--primary); background: var(--surface); }
.bell-item .bi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bell-item .bi-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.bell-item .bi-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--danger); }
.bell-item .bi-prev { font-size: 13px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ Profile modal ============ */
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.profile-head img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; background: #f1f5f9; border: 2px solid var(--line); }

/* ============ Custom Google-only login card (Uiverse-inspired, widened) ============ */
.login-card { position: relative; width: min(420px, 100%); background: linear-gradient(0deg, #fff 0%, #f4f7fb 100%); border-radius: 32px; padding: 32px 36px; border: 5px solid #fff; box-shadow: rgba(99, 102, 241, 0.25) 0px 30px 40px -24px; }
.login-close { position: absolute; top: 16px; right: 20px; border: none; background: #eef2ff; width: 30px; height: 30px; border-radius: 999px; font-size: 18px; color: var(--primary); cursor: pointer; }
.login-card .heading { text-align: center; font-weight: 800; font-size: 28px; color: var(--ink); }
.login-card .subheading { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.login-card .login-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-weight: 700; font-size: 16px; background: var(--primary); color: #fff; padding: 15px; margin: 24px auto 8px; border-radius: 16px; border: none; cursor: pointer; box-shadow: rgba(79,70,229,0.3) 0px 14px 20px -10px; transition: background 0.15s, transform 0.1s; }
.login-card .login-google:hover { background: var(--primary-dark); }
.login-card .login-google:active { transform: scale(0.98); }
.login-card .login-google svg { fill: #fff; }
.login-card .agreement { display: block; text-align: center; margin-top: 14px; }
.login-card .agreement a { text-decoration: none; color: var(--primary); font-size: 11px; }

/* ============ Mobile ============ */
@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  .wordmark { font-size: 19px; }
  .nav { gap: 8px; }
  .btn, .btn.small { min-height: 46px; }
  .feed { grid-template-columns: 1fr; }
  .modal { width: 100%; }
  .board-head { align-items: flex-start; }
  .photo-actions { flex-direction: column; }
  .photo-act { width: 100%; justify-content: center; }
}

/* ============ Image lightbox (click any photo to zoom) ============ */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(3px); overflow: hidden;
  animation: fade 0.15s ease;
}
.lightbox img {
  max-width: 92vw; max-height: 86vh; border-radius: 10px; user-select: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transition: transform 0.08s ease-out;
  cursor: zoom-in; -webkit-user-drag: none;
}
.lightbox img.zoomed { cursor: grab; }
.lightbox img.zoomed:active { cursor: grabbing; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); color: #fff; border: none; font-size: 22px; cursor: pointer;
  display: grid; place-content: center; transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7); font-size: 12px; letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.3); padding: 6px 14px; border-radius: 999px;
}

/* ============ Admin dashboard ============ */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.admin-stat { text-align: center; padding: 12px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.admin-stat-n { font-family: var(--font); font-size: 22px; font-weight: 400; color: var(--primary); line-height: 1; }
.admin-stat-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-top: 5px; }
.admin-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
}
.admin-row-main { display: flex; align-items: center; gap: 12px; min-width: 200px; flex: 1; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-act {
  font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s; min-height: 38px;
}
.admin-act:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-050); }
.admin-act.danger { color: var(--danger); border-color: rgba(225, 29, 72, 0.25); }
.admin-act.danger:hover { background: #fff1f2; border-color: var(--danger); color: var(--danger); }

/* ============ Lenis smooth scroll (required base CSS) ============ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============ Toasts (Sonner-inspired) ============ */
.toaster {
  position: fixed; right: 18px; bottom: 18px; z-index: 3000;
  display: flex; flex-direction: column; gap: 10px; max-width: 92vw;
}
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 380px;
  padding: 13px 15px; border-radius: 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.3);
  font-size: 14px; cursor: pointer; opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast-ic { font-size: 16px; flex-shrink: 0; }
.toast-msg { line-height: 1.4; }
.toast-error { border-left: 3px solid var(--danger); }
.toast-success { border-left: 3px solid var(--success); }
.toast-info { border-left: 3px solid var(--primary); }
@media (max-width: 640px) {
  .toaster { right: 12px; left: 12px; bottom: 12px; }
  .toast { min-width: 0; max-width: none; }
}

/* ============ Tasteful entrance animations ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero { animation: fadeUp 0.6s ease both; }
.board { animation: fadeUp 0.6s 0.08s ease both; }
@media (prefers-reduced-motion: reduce) {
  .hero, .board { animation: none; }
  html.lenis { scroll-behavior: auto; }
}
