.defi-hero {
  background: linear-gradient(135deg, var(--surface) 60%, var(--amber-bg));
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px;
}
.defi-kicker { margin: 0; font-weight: 700; color: var(--red); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.defi-hero h1 { margin: 0; font-size: 32px; line-height: 1.1; }
.defi-hero > p { margin: 0; max-width: 65ch; }
.defi-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.defi-rules { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.defi-h2 { font-size: 19px; margin: 6px 0 12px; display: flex; align-items: center; gap: 8px; }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }

.dcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dcard .cover { aspect-ratio: 4 / 3; background: var(--surface-2); display: block; }
.dcard .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcard .in { padding: 10px 12px 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dcard h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.dcard h3 a { color: inherit; text-decoration: none; }
.dcard .by { font-size: 13px; color: var(--muted); }
.vote {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface-2);
  border-radius: 99px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; color: var(--text); flex: none;
}
.vote .h { color: var(--muted); font-size: 16px; line-height: 1; }
.vote.on { background: #fde3e4; border-color: transparent; }
.vote.on .h { color: var(--red); }
.vote:disabled { opacity: .6; cursor: default; }

.defi-palmares { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.palm { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 12px; padding: 10px; align-items: center; color: inherit; text-decoration: none; }
.palm img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.palm b { display: block; }
.palm span { font-size: 13px; color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vote.on { background: #3a1416; }
}
