/* Pngoung Ads Commander — pastel Pinterest edition v2 🧁
   Direction: sweet but confident. One gradient hero, color-coded decision
   numbers, everything else calm so the sweetness never fights the data. */

:root {
  --bg: #fff6f1;
  --card: #ffffff;
  --ink: #43333c;
  --ink-soft: #77626d;          /* ≥4.5:1 on white */
  --ink-faint: #a08b96;         /* decorative only, never body text */

  --pink: #ff7fa5;
  --pink-deep: #e0447a;
  --pink-wash: #ffecf2;
  --lilac: #a685f0;
  --lilac-deep: #7a5cd6;
  --lilac-wash: #f1ebff;
  --mint: #3cb891;
  --mint-deep: #0f6b4d;
  --mint-wash: #e2f7ee;
  --peach: #ff9f68;
  --peach-deep: #9d4a10;
  --peach-wash: #ffefe2;
  --butter-wash: #fff6d9;
  --butter-deep: #8a6a12;
  --danger: #d6336c;

  --grad-hero: linear-gradient(115deg, #ffd1e1 0%, #ffdfd0 42%, #e7dcff 100%);
  --grad-cta: linear-gradient(120deg, var(--pink-deep), var(--lilac-deep));
  --grad-chip: linear-gradient(120deg, var(--pink), var(--lilac));

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(224, 68, 122, 0.08), 0 2px 8px rgba(166, 133, 240, 0.08);
  --shadow-pop: 0 16px 44px rgba(224, 68, 122, 0.18);
  --font-head: "Mali", "IBM Plex Sans Thai Looped", sans-serif;
  --font-body: "IBM Plex Sans Thai Looped", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;

  --z-sticky: 10;
  --z-backdrop: 40;
  --z-modal: 50;
  --z-toast: 60;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}
h1, h2, h3 { text-wrap: balance; }

/* dreamy background blobs */
.bg-blobs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg-blobs span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.bg-blobs span:nth-child(1) { width: 460px; height: 460px; background: #ffc9dc; top: -140px; left: -90px; }
.bg-blobs span:nth-child(2) { width: 400px; height: 400px; background: #ddccff; top: 28%; right: -140px; }
.bg-blobs span:nth-child(3) { width: 340px; height: 340px; background: #ffe0c2; bottom: -120px; left: 28%; }

header.topbar, main { position: relative; z-index: 1; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px 6px;
  max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-icon {
  font-size: 30px; background: var(--card); border-radius: 18px;
  width: 54px; height: 54px; display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
}
.brand h1 { font-family: var(--font-head); font-size: 22px; margin: 0; letter-spacing: .3px; }
.brand-sub { margin: 0; color: var(--ink-soft); font-size: 12.5px; }
.topbar-right { display: flex; gap: 10px; align-items: center; }

.pill {
  border-radius: 999px; padding: 7px 16px; font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-soft); background: var(--card);
}
.pill-mock { color: var(--butter-deep); background: var(--butter-wash); }
.pill-live { color: var(--mint-deep); background: var(--mint-wash); }
.pill-armed { color: #fff; background: var(--grad-cta); }

.icon-btn {
  border: none; background: var(--card); font-size: 18px; cursor: pointer;
  width: 42px; height: 42px; border-radius: 14px; box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.icon-btn:hover { transform: translateY(-2px) rotate(8deg); box-shadow: var(--shadow-pop); }
.icon-btn:active { transform: translateY(0) scale(.96); }

/* ---------- layout ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 12px 28px 80px; }
.card {
  background: var(--card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 22px;
}

/* ---------- hero ---------- */
.hello-row { display: grid; grid-template-columns: minmax(280px, 1.1fr) 2fr; gap: 18px; margin-top: 12px; }
.hello-card {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  padding: 26px 24px;
}
.hello-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.65), transparent 45%);
}
.hero-decor { position: absolute; top: 14px; right: 16px; display: flex; gap: 6px; font-size: 20px; }
.hero-decor span { display: inline-block; animation: bob 3.2s var(--ease-out) infinite; }
.hero-decor span:nth-child(2) { animation-delay: .5s; }
.hero-decor span:nth-child(3) { animation-delay: 1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.hello-card h2 { font-family: var(--font-head); margin: 0 0 6px; font-size: 27px; font-weight: 700; position: relative; padding-right: 86px; }
.hello-card p { margin: 0 0 16px; color: #5f4552; font-size: 13.5px; position: relative; }

.range-chips { display: flex; gap: 8px; position: relative; }
.chip {
  border: none; cursor: pointer; border-radius: 999px; padding: 9px 20px;
  background: rgba(255, 255, 255, .72); color: var(--pink-deep);
  font-weight: 600; font-family: var(--font-body); font-size: 13.5px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.chip:hover { transform: translateY(-1px); background: #fff; }
.chip-active { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 20px rgba(224, 68, 122, .35); }

/* ---------- stat tiles ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat-tile {
  border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px; justify-content: center; background: var(--card);
  transition: transform var(--dur) var(--ease-out);
}
.stat-tile:hover { transform: translateY(-3px); }
.stat-tile .icon-chip {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 19px;
}
.stat-pink .icon-chip { background: var(--pink-wash); }
.stat-lilac .icon-chip { background: var(--lilac-wash); }
.stat-mint .icon-chip { background: var(--mint-wash); }
.stat-peach .icon-chip { background: var(--peach-wash); }
.stat-tile .num { font-family: var(--font-head); font-size: 27px; font-weight: 700; line-height: 1.1; }
.stat-pink .num { color: var(--pink-deep); }
.stat-lilac .num { color: var(--lilac-deep); }
.stat-mint .num { color: var(--mint-deep); }
.stat-peach .num { color: var(--peach-deep); }
.stat-tile .label { color: var(--ink-soft); font-size: 12.5px; font-weight: 500; }

/* ---------- sections ---------- */
.section { margin-top: 38px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.section-head h3 {
  font-family: var(--font-head); font-size: 19px; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-head h3::after {
  content: ""; width: 34px; height: 4px; border-radius: 999px;
  background: var(--grad-chip); opacity: .7;
}
.section-hint { color: var(--ink-soft); font-size: 12.5px; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }

/* ---------- campaign masonry ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.camp-card {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-lg);
  background: var(--card); box-shadow: var(--shadow-soft); padding: 18px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.camp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.camp-card.is-paused { background: #fffbfd; }
.camp-card.is-paused .camp-name, .camp-card.is-paused .cpm-num { color: var(--ink-soft); }

.camp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.camp-name { font-weight: 600; font-size: 14.5px; margin: 0 0 2px; line-height: 1.4; }
.camp-kind { font-size: 12px; color: var(--ink-soft); }

.status-chip {
  font-size: 11.5px; border-radius: 999px; padding: 4px 11px; font-weight: 600;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
}
.status-on { background: var(--mint-wash); color: var(--mint-deep); }
.status-on .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(60, 184, 145, .5); } 50% { box-shadow: 0 0 0 5px rgba(60, 184, 145, 0); } }
.status-off { background: #f6eef2; color: var(--ink-soft); }

/* cost-per-message = the decision number */
.cpm-hero {
  display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px;
}
.cpm-num { font-family: var(--font-head); font-size: 32px; font-weight: 700; line-height: 1; }
.cpm-unit { font-size: 12px; color: var(--ink-soft); }
.cpm-good .cpm-num { color: var(--mint-deep); }
.cpm-ok .cpm-num { color: var(--peach-deep); }
.cpm-bad .cpm-num { color: var(--danger); }
.cpm-none .cpm-num { color: var(--ink-faint); font-size: 24px; }
.cpm-tag {
  font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 9px;
}
.cpm-good .cpm-tag { background: var(--mint-wash); color: var(--mint-deep); }
.cpm-ok .cpm-tag { background: var(--peach-wash); color: var(--peach-deep); }
.cpm-bad .cpm-tag { background: #fde5ee; color: var(--danger); }

.camp-substats { display: flex; gap: 14px; margin: 8px 0 4px; font-size: 12.5px; color: var(--ink-soft); flex-wrap: wrap; }
.camp-substats b { color: var(--ink); font-weight: 600; }

.sparkline { width: 100%; height: 46px; margin-top: 6px; }

.camp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.budget { font-size: 12px; color: var(--ink-soft); }

/* cute toggle */
.toggle { position: relative; width: 62px; height: 32px; cursor: pointer; flex: none; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle .track {
  position: absolute; inset: 0; border-radius: 999px; background: #f0dfe7;
  transition: background var(--dur) var(--ease-out); pointer-events: none;
}
.toggle .thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15);
  display: grid; place-items: center; font-size: 14px; pointer-events: none;
  transition: left 220ms cubic-bezier(.34,1.4,.64,1);
}
.toggle input:checked + .track { background: var(--grad-chip); }
.toggle input:checked ~ .thumb { left: 33px; }
.toggle input:focus-visible + .track { outline: 3px solid var(--lilac); outline-offset: 2px; }

/* ---------- rules ---------- */
.preset-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.preset-card {
  border: 2px dashed #f0c3d5; border-radius: var(--radius-md); background: rgba(255,255,255,.6);
  padding: 12px; cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.preset-card:hover { background: var(--pink-wash); border-color: var(--pink); transform: translateY(-2px); }
.preset-card .p-name { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.preset-card .p-desc { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }

.rule-list, .outbox-list, .log-list { display: flex; flex-direction: column; gap: 10px; }
.rule-item, .outbox-item, .log-item {
  background: var(--card); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.rule-item .r-main { flex: 1; }
.rule-item .r-name { font-weight: 600; font-size: 13.5px; }
.rule-item .r-desc { font-size: 12.5px; color: var(--ink-soft); }
.rule-item.disabled { opacity: .55; }

.outbox-item .o-main { flex: 1; }
.outbox-item .o-badge { font-size: 20px; }
.outbox-item .o-title { font-weight: 600; font-size: 13px; }
.outbox-item .o-sub { font-size: 11.5px; color: var(--ink-soft); }
.outbox-item.resolved { opacity: .5; }

.log-item { padding: 9px 14px; font-size: 12.5px; }
.log-item .l-time { color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.empty-note {
  color: var(--ink-soft); font-size: 13px; text-align: center; padding: 28px 20px;
  background: rgba(255, 255, 255, .65); border: 2px dashed #f0d7e2;
  border-radius: var(--radius-md);
}

/* ---------- buttons / modal / toast ---------- */
.btn {
  border: none; cursor: pointer; border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible, .chip:focus-visible, .icon-btn:focus-visible, .preset-card:focus-visible {
  outline: 3px solid var(--lilac); outline-offset: 2px;
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 22px rgba(224, 68, 122, .3); }
.btn-soft { background: var(--pink-wash); color: var(--pink-deep); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-mini { padding: 6px 12px; font-size: 12px; }
.btn-danger { background: #fde5ee; color: var(--danger); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.show-all-btn { display: block; width: 100%; margin-top: 4px; break-inside: avoid; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(67, 51, 60, .38); backdrop-filter: blur(4px);
  display: grid; place-items: center; z-index: var(--z-backdrop);
}
.modal { max-width: 400px; width: calc(100% - 40px); text-align: center; z-index: var(--z-modal); }
.modal-wide { max-width: 520px; text-align: left; }
.modal-emoji { font-size: 42px; }
.modal h3 { font-family: var(--font-head); margin: 8px 0 4px; }
.modal p { color: var(--ink-soft); font-size: 13.5px; white-space: pre-line; }
.modal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.modal-wide .modal-actions { justify-content: flex-end; }

.text-input {
  width: 100%; border: 2px solid #f0c3d5; border-radius: 14px; padding: 10px 14px;
  font-family: var(--font-body); font-size: 14px; margin-top: 10px; outline: none;
  color: var(--ink); background: #fff;
  transition: border-color var(--dur) var(--ease-out);
}
.text-input::placeholder { color: var(--ink-soft); }
.text-input:focus { border-color: var(--pink-deep); }

.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* scope mode radio chips */
.radio-chip { cursor: pointer; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span {
  display: inline-flex; align-items: center; gap: 5px;
  border: 2px solid #f0c3d5; background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  transition: all var(--dur) var(--ease-out);
}
.radio-chip:hover span { border-color: var(--pink); }
.radio-chip input:checked + span { background: var(--pink-wash); border-color: var(--pink-deep); color: var(--pink-deep); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }

/* rule builder */
.builder-sub { margin-top: -2px; }
.builder-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.b-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b-label { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.select-input {
  border: 2px solid #f0c3d5; border-radius: 12px; padding: 9px 12px;
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  background: #fff; outline: none; cursor: pointer;
  transition: border-color var(--dur) var(--ease-out);
}
.select-input:focus { border-color: var(--pink-deep); }
.select-narrow { min-width: 104px; }
.builder-form .text-input { margin-top: 0; width: auto; flex: 1; min-width: 120px; }
.input-narrow { max-width: 96px; flex: none !important; }
.builder-preview {
  background: var(--lilac-wash); border-radius: var(--radius-md);
  padding: 12px 16px; font-size: 13.5px; color: var(--lilac-deep); font-weight: 600;
  line-height: 1.6;
}

/* AI analyst */
.ai-card {
  background: linear-gradient(150deg, #fff, var(--lilac-wash));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 22px;
}
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.ai-title { display: flex; gap: 12px; align-items: center; }
.ai-avatar {
  font-size: 26px; background: #fff; border-radius: 16px; width: 52px; height: 52px;
  display: grid; place-items: center; box-shadow: var(--shadow-soft); flex: none;
}
.ai-title h3 { font-family: var(--font-head); font-size: 17px; margin: 0; }
.ai-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); max-width: 60ch; }
.ai-summary {
  background: rgba(255, 255, 255, .8); border-radius: var(--radius-md);
  padding: 14px 16px; margin-top: 14px; font-size: 13.5px; line-height: 1.7;
}
.ai-meta { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; }
.ai-recs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ai-rec {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border-radius: var(--radius-md); padding: 11px 14px; font-size: 13px;
}
.ai-rec .a-emoji { font-size: 18px; flex: none; }
.ai-rec .a-main { flex: 1; }
.ai-rec .a-action { font-weight: 600; }
.ai-rec .a-reason { color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }
.ai-chip {
  font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.ai-chip.queued { background: var(--peach-wash); color: var(--peach-deep); }
.ai-chip.watch { background: var(--lilac-wash); color: var(--lilac-deep); }
.ai-loading { display: inline-block; animation: bob 1s var(--ease-out) infinite; }

/* post leaderboard */
.board-list { display: flex; flex-direction: column; gap: 10px; }
.board-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 12px 16px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.board-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.board-rank { font-family: var(--font-head); font-size: 22px; font-weight: 700; width: 36px; text-align: center; flex: none; }
.board-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; flex: none; background: var(--lilac-wash); }
.board-main { flex: 1; min-width: 0; }
.board-msg { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.board-stats { display: flex; gap: 12px; font-size: 12px; color: var(--ink-soft); margin-top: 3px; flex-wrap: wrap; }
.board-stats b { color: var(--pink-deep); font-weight: 700; }

/* campaign launcher wizard */
.stepper { display: flex; gap: 8px; justify-content: flex-start; margin: 6px 0 14px; }
.step-dot {
  width: 34px; height: 6px; border-radius: 999px; background: #f0dfe7;
  transition: background var(--dur) var(--ease-out);
}
.step-dot.active { background: var(--grad-chip); }

.wiz-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wiz-tab {
  border: 2px solid #f0c3d5; background: #fff; border-radius: 999px;
  padding: 8px 16px; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  color: var(--ink-soft); cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.wiz-tab-active { background: var(--pink-wash); border-color: var(--pink); color: var(--pink-deep); }

.post-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.post-item {
  display: flex; gap: 10px; align-items: center; text-align: left;
  border: 2px solid #f6e3eb; border-radius: var(--radius-md); background: #fff;
  padding: 10px 12px; cursor: pointer; font-family: var(--font-body); width: 100%;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.post-item:hover { border-color: var(--pink); }
.post-item.selected { border-color: var(--pink-deep); background: var(--pink-wash); }
.post-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; background: var(--lilac-wash); }
.post-item .p-msg { font-size: 12.5px; color: var(--ink); line-height: 1.45; }
.post-item .p-date { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }

.textarea { width: 100%; resize: vertical; margin-top: 0; }
.safe-note {
  margin-top: 12px; background: var(--butter-wash); color: var(--butter-deep);
  border-radius: var(--radius-md); padding: 12px 16px; font-size: 13px; line-height: 1.6;
}

.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #f3dde6; }
.settings-row .s-label { font-weight: 600; font-size: 13.5px; }
.settings-row .s-sub { font-size: 12.5px; color: var(--ink-soft); }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px;
  font-size: 13.5px; z-index: var(--z-toast); box-shadow: var(--shadow-pop);
  animation: toast-in 250ms var(--ease-out);
}
@keyframes toast-in { from { transform: translate(-50%, 20px); opacity: 0; } }

.hidden { display: none !important; }

/* ---------- motion & a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hello-row, .two-col { grid-template-columns: 1fr; }
  main { padding: 10px 16px 60px; }
  .topbar { padding: 14px 16px 4px; }
  .hello-card h2 { font-size: 23px; }
}
