.contest-root { display: grid; gap: 14px; min-width: 0; max-width: 100%; }
.contest-card { border-radius: 16px; padding: 24px; min-width: 0; max-width: 100%; border: 1px solid #145c3a;
  background: linear-gradient(180deg, #0e2a20, #0c1210 40%); }
.contest-card.blue { border-color: #1e3a5f; background: linear-gradient(180deg, #0e1c30, #0c1014 42%); color: inherit; }
.contest-head { margin-bottom: 20px; }
.contest-card h2 { font-size: 20px; font-weight: 900; margin: 0; letter-spacing: -0.02em; }
.contest-card .blurb { color: #9aa3b5; font-size: 13px; margin: 6px 0 0; }
.contest-list { max-width: 672px; margin: 0 auto; }
.contest-tools { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 12px; }
.contest-q { color: #9aa3b5; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contest-complete, .contest-del, .contest-more { border: 1px solid #2e3444; background: #141820; color: inherit;
  border-radius: 999px; padding: 4px 10px; cursor: pointer; font: inherit; }
.contest-complete { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 6px; background: rgba(34, 38, 51, .8);
  color: #9aa3b5; font-size: 12px; font-weight: 500; padding: 4px 8px; }
.contest-complete:hover { background: #222633; color: #f4f6fb; }
.contest-complete svg { width: 12px; height: 12px; }
.contest-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 8px 0; min-width: 0; font-size: 14px; }
.contest-row.ineligible { opacity: .6; }
.contest-row.rank1 { background: linear-gradient(90deg, rgba(245, 197, 66, .22), rgba(245, 197, 66, .05));
  border-radius: 10px; padding: 8px 10px; }
.contest-badge { font-weight: 800; color: #9aa3b5; }
.contest-name { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
.contest-val { font-weight: 800; font-variant-numeric: tabular-nums; }
.contest-card .contest-val { color: #34d399; }
.contest-card.blue .contest-val { color: #60a5fa; }
.contest-card .rank1 .contest-name, .contest-card .rank1 .contest-val { color: #f0d060; }
.contest-track { height: 8px; background: #1c2030; border-radius: 99px; overflow: hidden; margin-top: 4px; }
.contest-fill { height: 100%; background: #34d399; border-radius: 99px; }
.contest-card.blue .contest-fill { background: #60a5fa; }
.contest-fill.gold, .contest-card.blue .contest-fill.gold { background: #f5c542; }
.contest-archive { background: #101218; border: 1px solid #2a2f3c; border-radius: 16px; padding: 12px; min-width: 0; }
.contest-archive > .mkt-toggle, .contest-archive > button { width: 100%; }
.contest-arch-title { display: flex; align-items: center; gap: 12px; }
.contest-arch-title > span:first-child { font-size: 20px; font-weight: 900; }
.contest-arch-count, .contest-arch-arrow { color: #9aa3b5; font-size: 14px; }
.contest-past { display: grid; gap: 10px; margin-top: 10px; }
.contest-past-card { border: 1px solid #2a2f3c; border-radius: 14px; padding: 10px 12px; min-width: 0; background: #0c1014; }
.contest-past-card .top { display: flex; justify-content: space-between; gap: 8px; align-items: start; background: none;
  border: 0; padding: 0; position: static; }
.contest-past-card h3 { font-size: 15px; margin: 0; }
.contest-winner { color: #f5c542; font-weight: 750; margin: 6px 0 0; }
.contest-date { color: #9aa3b5; font-size: 12px; }
.contest-del { width: 18px; height: 20px; padding: 0; border: 0; border-radius: 3px; position: relative; }
.contest-del::before, .contest-del::after { content: ""; position: absolute; left: 8px; top: 4px; width: 1px;
  height: 11px; background: #9aa3b5; transform: rotate(45deg); }
.contest-del::after { transform: rotate(-45deg); }
.contest-note { color: #9aa3b5; font-size: 12.5px; margin: 6px 0 0; }
.contest-empty { background: #101218; border: 1px solid #2a2f3c; border-radius: 16px; padding: 28px 16px; text-align: center; }
