/* ============ Golaço — football stats prototype ============ */
:root {
  --bg: oklch(0.16 0.008 60);
  --bg-1: oklch(0.19 0.008 60);
  --bg-2: oklch(0.22 0.008 60);
  --bg-3: oklch(0.26 0.008 60);
  --line: oklch(0.30 0.008 60);
  --line-strong: oklch(0.40 0.008 60);
  --fg: oklch(0.96 0.005 80);
  --fg-2: oklch(0.78 0.005 80);
  --fg-3: oklch(0.58 0.005 80);

  --accent: oklch(0.86 0.18 130);     /* lime-green pitch */
  --accent-ink: oklch(0.20 0.05 130);
  --live: oklch(0.68 0.22 25);        /* red */
  --gold: oklch(0.82 0.14 90);

  --r-card: 14px;
  --r-pill: 999px;

  --ff-sans: "Hanken Grotesk", system-ui, sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.45;
}

#root { min-height: 100vh; }

.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 80px;
}

/* ---------- TOPBAR ---------- */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 0 22px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  padding: 8px 6px;
  align-items: end;
}
.brand-mark span {
  background: var(--accent-ink);
  border-radius: 1px;
  width: 100%;
}
.brand-mark span:nth-child(1) { height: 60%; }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 75%; }
.brand-text h1 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.brand-text span {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  max-width: 460px;
  width: 100%;
  justify-self: center;
  color: var(--fg-3);
  transition: border-color .15s;
}
.search:focus-within { border-color: var(--line-strong); color: var(--fg-2); }
.search input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  color: var(--fg);
  font: inherit;
}
.search input::placeholder { color: var(--fg-3); }
.search-clear {
  background: none; border: 0; color: var(--fg-3);
  font-size: 18px; cursor: pointer; padding: 0;
}

.topbar-right { display: flex; align-items: center; gap: 12px; }
.now-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: 12px;
  color: var(--fg-2);
}
.now-pill b { color: var(--fg); font-weight: 600; }

/* ---------- TABS ---------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  overflow-x: auto;
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 18px;
  color: var(--fg-3);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.tab:hover { color: var(--fg-2); }
.tab.is-active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
.tab-logo {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-2);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-2);
  font-family: var(--ff-mono);
}
.tab-BR  { background: oklch(0.30 0.06 130); color: var(--accent); }
.tab-LIB { background: oklch(0.30 0.06 90); color: var(--gold); }
.tab-SUL { background: oklch(0.30 0.10 50); color: oklch(0.85 0.14 50); }
.tab-ALL { background: var(--bg-2); color: var(--fg-2); }
.tab-count {
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--ff-mono);
  background: var(--bg-1);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.tab.is-active .tab-count { color: var(--fg-2); border-color: var(--line-strong); }

/* sub views */
.subviews {
  display: flex; gap: 6px;
  margin-bottom: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--r-pill);
  width: fit-content;
}
.subviews button {
  background: transparent;
  border: 0;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  color: var(--fg-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.subviews button.is-active {
  background: var(--bg-3);
  color: var(--fg);
}

/* ---------- FILTERS ---------- */
.filters {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  transition: all .15s;
}
.pill:hover { border-color: var(--line-strong); color: var(--fg); }
.pill.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.pill.is-active.is-live {
  background: var(--live);
  color: white;
  border-color: var(--live);
}
.pill-count {
  font-family: var(--ff-mono);
  font-size: 11px;
  opacity: .7;
}
.pill.is-active .pill-count { opacity: 1; }
.filter-meta .hint { color: var(--fg-3); font-size: 12px; }

/* ---------- FOLLOWED STRIP ---------- */
.followed-strip, .followed-empty {
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 20px 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.followed-strip::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.followed-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.followed-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.count {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  font-size: 11px;
  font-family: var(--ff-mono);
  letter-spacing: 0;
}
.followed-head .hint {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.followed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.followed-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.followed-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.followed-card.is-live { border-color: oklch(0.40 0.12 25); }
.followed-card.is-live::after {
  content: "";
  position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 3px; background: var(--live);
  border-radius: 0 3px 3px 0;
}
.followed-top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.followed-top .comp-badge { flex: 0 0 auto; }
.unfollow {
  margin-left: auto;
  background: none; border: 0; color: var(--fg-3);
  font-size: 18px; cursor: pointer; padding: 0 4px;
  line-height: 1;
}
.unfollow:hover { color: var(--fg); }

.followed-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.fteam {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.fteam:last-child { justify-content: flex-end; }
.fteam:last-child { flex-direction: row-reverse; }
.fscore {
  font-family: var(--ff-mono);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}
.fscore i {
  font-style: normal;
  color: var(--fg-3);
  font-size: 18px;
}
.fscore .vs {
  font-family: var(--ff-sans);
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 500;
}
.fscore .pulse {
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { color: var(--fg); }
  50% { color: var(--accent); }
}

.mini-stats {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.mini-stats div { display: flex; flex-direction: column; }
.mini-stats b {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.mini-stats span {
  font-size: 10px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.followed-empty p {
  color: var(--fg-3);
  margin: 0;
  font-size: 13px;
  max-width: 540px;
}
.followed-empty h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-2);
}
.inline-star {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- SECTIONS / GRID ---------- */
.main { display: flex; flex-direction: column; gap: 32px; }
.section-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 14px;
}
.section h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-live h2::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  margin-right: 10px;
  vertical-align: middle;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 oklch(0.68 0.22 25 / 0.6); }
  50% { opacity: .4; box-shadow: 0 0 0 6px oklch(0.68 0.22 25 / 0); }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

/* ---------- MATCH CARD ---------- */
.match-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
  position: relative;
}
.match-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
  transform: translateY(-1px);
}
.match-card.is-live {
  border-color: oklch(0.40 0.12 25);
}
.match-card.is-live::before {
  content: "";
  position: absolute; left: -1px; top: 14px; bottom: 14px;
  width: 3px;
  background: var(--live);
  border-radius: 0 3px 3px 0;
}

.match-meta {
  display: flex; align-items: center; gap: 10px;
}
.match-stage {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 2px;
}
.follow-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-3);
  width: 28px; height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .15s;
}
.follow-btn:hover { color: var(--fg); border-color: var(--line-strong); }
.follow-btn.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.match-body { display: flex; flex-direction: column; gap: 8px; }
.team-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.team-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--fg);
}
.team-score {
  font-family: var(--ff-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  min-width: 24px; text-align: right;
}
.is-live .team-score { color: var(--accent); }

.match-foot {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.match-stadium {
  font-size: 11px;
  color: var(--fg-3);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- COMP BADGE ---------- */
.comp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 10px 3px 8px;
}
.comp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}

/* ---------- LIVE / TIME PILLS ---------- */
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: oklch(0.30 0.10 25);
  color: oklch(0.85 0.14 25);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.live-pill.compact { padding: 2px 8px; font-size: 10px; }
.live-dot {
  width: 6px; height: 6px;
  background: var(--live);
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
.time-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-2);
  padding: 2px 9px;
  border-radius: var(--r-pill);
}
.time-pill.compact { padding: 2px 8px; }
.time-pill.finished { color: var(--fg-3); }

/* ---------- TEAM LOGO ---------- */
.team-logo {
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-mono);
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  border: 1px solid oklch(0 0 0 / 0.4);
  text-shadow: 0 1px 1px oklch(0 0 0 / 0.4);
  font-size: 10px;
}

.team-shield {
  flex-shrink: 0;
  object-fit: contain;
  /* garante alinhamento idêntico ao .team-logo */
  display: block;
}

/* ---------- DRAWER ---------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: oklch(0 0 0 / 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  display: flex; justify-content: flex-end;
  animation: fadeIn .2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  width: min(560px, 100%);
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  height: 100%;
  overflow-y: auto;
  padding: 22px 26px 80px;
  animation: slideIn .25s ease-out;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.drawer-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.close-btn {
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg-2);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 6px;
}
.close-btn:hover { color: var(--fg); }
.drawer-stage {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.drawer-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-2);
  border-radius: var(--r-card);
  margin-bottom: 16px;
}
.dteam { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dteam h2 { font-size: 15px; margin: 0; font-weight: 600; }
.dteam span { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.dscore { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.dnumbers {
  font-family: var(--ff-mono);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.dnumbers i { font-style: normal; color: var(--fg-3); font-size: 28px; }
.dnumbers .vs { font-family: var(--ff-sans); font-size: 22px; color: var(--fg-3); font-weight: 500; }

.big-follow {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 24px;
  transition: all .15s;
}
.big-follow:hover { border-color: var(--line-strong); }
.big-follow.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.drawer-section { margin-bottom: 28px; }
.drawer-section h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin: 0 0 14px;
}

/* stat bar */
.stat-bar { margin-bottom: 12px; }
.stat-row {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  font-family: var(--ff-mono);
  font-size: 13px;
  margin-bottom: 4px;
  align-items: center;
}
.stat-row span:nth-child(1) { text-align: left; color: var(--accent); font-weight: 600; }
.stat-row span:nth-child(3) { text-align: right; color: var(--fg-2); font-weight: 600; }
.stat-row .stat-label {
  font-family: var(--ff-sans);
  text-align: center;
  color: var(--fg-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-track {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-2);
}
.stat-fill.h { background: var(--accent); }
.stat-fill.a { background: var(--bg-3); }

/* timeline */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.tl-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-2);
  font-size: 13px;
}
.tl-item.tl-home { border-left: 3px solid var(--accent); }
.tl-item.tl-away { border-left: 3px solid var(--bg-3); }
.tl-min {
  font-family: var(--ff-mono);
  font-weight: 600;
  color: var(--fg-2);
  font-size: 12px;
}

/* h2h */
.h2h { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.h2h li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: 8px;
  font-size: 13px;
  align-items: center;
}
.h2h span { font-family: var(--ff-mono); color: var(--fg-3); font-size: 12px; }
.h2h b { font-family: var(--ff-mono); font-weight: 600; }
.h2h i { font-style: normal; color: var(--fg-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- TABLE ---------- */
.table-wrap, .bracket {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
}
.table-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.table-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.table-head .hint { color: var(--fg-3); font-size: 12px; }
.standings {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.standings thead th {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.standings thead th:nth-child(2) { text-align: left; }
.standings tbody td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
}
.standings tbody td.team-cell {
  text-align: left;
  font-family: var(--ff-sans);
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.standings tbody td.pts { color: var(--accent); font-weight: 600; }
.standings tbody td.pos {
  color: var(--fg-2);
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 14px;
}
.standings tbody tr:hover { background: var(--bg-2); }
.zone-mark {
  width: 4px; height: 16px;
  border-radius: 2px;
  display: inline-block;
}
.zone-mark.zone-lib { background: var(--accent); }
.zone-mark.zone-pre { background: oklch(0.7 0.15 130 / 0.5); }
.zone-mark.zone-sul { background: oklch(0.75 0.14 50); }
.zone-mark.zone-rel { background: var(--live); }
.zone-legend {
  display: flex; gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.zone-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- BRACKET ---------- */
.bracket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.bracket-cell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.bteam { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }

/* ---------- EMPTY ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--fg-3);
}
.empty h3 { color: var(--fg-2); margin: 0 0 6px; }
.empty p { margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .app { padding: 16px; }
  .topbar { grid-template-columns: 1fr; gap: 12px; }
  .search { max-width: none; justify-self: stretch; }
  .topbar-right { justify-content: flex-start; }
}
