/* =============================================================
   PickBits.AI — Experimenters community pages, editorial dual-theme
   Covers the .hub-* (experimenters-hub / calls / roadmap) and
   .bounty-* (bounties) component vocabularies. Authored against the
   editorial tokens in pb-chrome.css (var(--ink/paper/accent/...)),
   so it follows the paper(light) / cyber(dark) prefers-color-scheme
   system via [data-theme]. Replaces the legacy cyberpunk page CSS
   (styles/pages/experimenters-hub.css + bounties.css), which is no
   longer loaded by these pages.
   ============================================================= */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ============ shared three-state scaffold ============ */
.hub-main {
  max-width: var(--wrap);
  margin: 2.5rem auto 4rem;
  padding: 0 var(--gutter);
}

.hub-loading,
.hub-state {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  min-height: 45vh;
}

.hub-loading-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--accent);
  animation: hub-spin 0.8s linear infinite;
}
@keyframes hub-spin { to { transform: rotate(360deg); } }
.hub-loading-text {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Unauth / upgrade card */
.hub-card {
  width: 100%;
  max-width: 560px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 24px 60px -40px rgba(0,0,0,0.35);
}
.hub-card i.hub-card-icon,
.hub-card-icon {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hub-card h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.75rem;
  color: var(--ink);
  margin: 0.25rem 0 0.4rem;
}
.hub-card .hub-card-sub {
  font-family: var(--ff-mono);
  color: var(--accent);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
  letter-spacing: 0.06em;
}
.hub-card p {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 auto 1rem;
  max-width: 520px;
}

.hub-perk-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  max-width: 420px;
  text-align: left;
  font-family: var(--ff-body);
}
.hub-perk-list li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}
.hub-perk-list li::before {
  content: "▸";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-family: var(--ff-mono);
}

/* Buttons */
.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.hub-btn.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.hub-btn.primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.hub-btn.secondary {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.hub-btn.secondary:hover {
  border-color: var(--ink);
  color: var(--accent);
}
.hub-btn-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============ subscriber hero + section heads ============ */
.hub-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.85rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hub-hero-title {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0;
}
.hub-hero-title .hub-tier-badge,
.hub-tier-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: 3px;
  vertical-align: middle;
}
.hub-hero-sub {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0.3rem 0 0;
}
.hub-hero-meta {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.45rem;
}
.hub-hero-meta a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted color-mix(in oklab, var(--accent) 50%, transparent);
  margin-left: 0.5rem;
}
.hub-hero-meta a:hover { color: var(--accent-deep); }

.hub-section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}
.hub-section-sub {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.hub-empty {
  font-family: var(--ff-mono);
  color: var(--muted);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

/* ============ Calls page ============ */
.hub-call-next {
  padding: 1.5rem 1.75rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.hub-call-label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.hub-call-topic {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.hub-call-when {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.hub-call-archive {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hub-call-archive li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
  border-radius: var(--radius);
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hub-call-archive .hub-call-meta { flex: 1 1 260px; min-width: 0; }
.hub-call-archive .hub-call-title {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.97rem;
  margin: 0;
}
.hub-call-archive .hub-call-date {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.hub-call-archive .hub-call-link {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line-2);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
}
.hub-call-archive .hub-call-link:hover { border-color: var(--accent); }

/* ============ Roadmap — kanban + timeline ============ */
.hub-roadmap-main { max-width: 1400px; }

.hub-rm-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.hub-rm-filter {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.hub-rm-filter:hover { color: var(--accent); border-color: var(--accent); }
.hub-rm-filter.active {
  color: var(--on-accent);
  border-color: var(--accent);
  background: var(--accent);
}

.hub-rm-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.hub-rm-col {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.9rem 0.9rem 1rem;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hub-rm-col[data-state="shipped"]  { border-top-color: var(--accent); }
.hub-rm-col[data-state="beta"]     { border-top-color: var(--accent); }
.hub-rm-col[data-state="building"] { border-top-color: var(--accent); }
.hub-rm-col[data-state="ideating"] { border-top-color: var(--line-2); }
.hub-rm-col[data-state="sunset"]   { opacity: 0.6; }

.hub-rm-col-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
}
.hub-rm-col-head h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hub-rm-col-head h3 i { color: var(--accent); }
.hub-rm-col-count {
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--paper-3);
  border-radius: 10px;
  padding: 0.1rem 0.45rem;
}
.hub-rm-col-sub {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}
.hub-rm-col-body { display: flex; flex-direction: column; gap: 0.55rem; }

.hub-rm-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.8rem;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.hub-rm-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.hub-rm-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}
.hub-rm-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.hub-rm-card h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
  flex: 1;
  min-width: 0;
}
.hub-rm-card-body {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0 0 0.45rem;
}
.hub-rm-card-meta {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.hub-rm-tag {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.hub-rm-tag-project,
.hub-rm-tag-game,
.hub-rm-tag-platform { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); }
.hub-rm-product {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hub-rm-new-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hub-rm-empty {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--faint);
  padding: 0.75rem 0;
  text-align: center;
  margin: 0;
}
.hub-rm-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.hub-rm-hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}
.hub-rm-views {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.hub-rm-view {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s, color 0.15s;
}
.hub-rm-view:hover { color: var(--accent); }
.hub-rm-view.active {
  background: var(--accent);
  color: var(--on-accent);
}

.hub-rm-timeline { display: flex; flex-direction: column; gap: 1.75rem; }
.hub-rm-tl-month {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.2rem;
}
.hub-rm-tl-month-head {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.hub-rm-tl-month ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hub-rm-tl-row {
  display: grid;
  grid-template-columns: 84px 180px 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--ff-body);
  font-size: 0.9rem;
}
.hub-rm-tl-row:last-child { border-bottom: 0; }
.hub-rm-tl-date {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.hub-rm-tl-product {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
a.hub-rm-tl-product:hover { color: var(--accent-deep); }
.hub-rm-tl-title {
  color: var(--ink-soft);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-rm-tl-sha {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .hub-rm-board { grid-template-columns: repeat(5, 280px); overflow-x: auto; }
}
@media (max-width: 768px) {
  .hub-rm-hero-right { align-items: flex-start; width: 100%; }
  .hub-rm-tl-row { grid-template-columns: 68px 1fr; row-gap: 0.15rem; }
  .hub-rm-tl-product { grid-column: 2 / span 1; }
  .hub-rm-tl-title   { grid-column: 2 / span 1; font-size: 0.82rem; }
  .hub-rm-tl-sha     { grid-column: 2 / span 1; justify-self: start; }
}
@media (max-width: 600px) {
  .hub-hero { flex-direction: column; align-items: flex-start; }
  .hub-card { padding: 1.5rem 1.25rem; }
  .hub-rm-board { grid-template-columns: 1fr; overflow-x: visible; }
}

/* =============================================================
   Bounty board — /bounties
   ============================================================= */
.bounty-main {
  max-width: var(--wrap);
  margin: 2.5rem auto 4rem;
  padding: 0 var(--gutter);
}
.bounty-hero {
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.bounty-hero-title {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 2rem;
  margin: 0 0 0.3rem;
}
.bounty-hero-sub {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
}
.bounty-hero-meta { color: var(--ink-soft); font-size: 0.9rem; }
.bounty-hero-meta a { color: var(--accent); text-decoration: none; margin: 0 0.15rem; }
.bounty-hero-meta a:hover { color: var(--accent-deep); }

.bounty-section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.2rem;
}
.bounty-section-sub {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}

/* Active claim panel */
.bounty-active {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.bounty-active-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.bounty-active-head i { font-size: 1.8rem; color: var(--accent); }
.bounty-active-head h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-size: 1.25rem;
}
.bounty-active-sub {
  font-family: var(--ff-mono);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0;
}
.bounty-active-title {
  font-family: var(--ff-display);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.bounty-active-meta { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 0.75rem; }
.bounty-state-claimed    { color: var(--accent); }
.bounty-state-submitted  { color: var(--accent); }
.bounty-state-accepted   { color: var(--accent-deep); }

.bounty-submit-form { display: grid; gap: 0.5rem; margin-top: 1rem; }
.bounty-submit-form label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bounty-submit-form label small {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.4rem;
  font-size: 0.8em;
}
.bounty-submit-form input,
.bounty-submit-form textarea {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.6rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}
.bounty-submit-form input:focus,
.bounty-submit-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.bounty-submit-form button { justify-self: start; }
.bounty-submit-error { color: var(--accent); font-size: 0.85rem; min-height: 1.2em; margin: 0; }

/* Filters */
.bounty-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.bounty-filter {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.bounty-filter:hover { border-color: var(--accent); color: var(--accent); }
.bounty-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.bounty-filter i { margin-right: 0.3rem; }

/* Cards */
.bounty-list { display: grid; gap: 1rem; }
.bounty-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.bounty-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.bounty-card.expanded { border-color: var(--accent); }
.bounty-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.bounty-card-title {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}
.bounty-card-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; flex-shrink: 0; }
.bounty-badge {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  text-transform: uppercase;
}
.bounty-badge.cat     { background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--accent); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.bounty-badge.payout  { background: var(--paper-3); color: var(--ink); border-color: var(--line-2); }
.bounty-badge.effort  { background: var(--paper-3); color: var(--ink-soft); border-color: var(--line-2); }
.bounty-badge.ttl     { background: color-mix(in oklab, var(--accent) 8%, transparent); color: var(--accent-deep); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }

.bounty-card-summary { color: var(--ink-soft); margin: 0.25rem 0 0; line-height: 1.5; }

.bounty-card-expand {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.55;
}
.bounty-card.expanded .bounty-card-expand { display: block; }
.bounty-card-expand h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 1rem 0 0.35rem;
}
.bounty-card-expand h4 {
  font-family: var(--ff-mono);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.2rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
}
.bounty-card-expand p  { margin: 0.4rem 0; }
.bounty-card-expand ul { margin: 0.5rem 0; padding-left: 1.25rem; }
.bounty-card-expand li { margin: 0.25rem 0; }
.bounty-card-expand code {
  font-family: var(--ff-mono);
  background: var(--paper-3);
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  font-size: 0.9em;
  color: var(--accent);
}
.bounty-md-code {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin: 0.75rem 0;
  overflow-x: auto;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.bounty-card-actions { margin-top: 1.25rem; display: flex; gap: 0.5rem; }

.bounty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.bounty-btn.primary   { background: var(--accent); color: var(--on-accent); }
.bounty-btn.primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.bounty-btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.bounty-btn.secondary:hover { border-color: var(--accent); color: var(--accent); }
.bounty-btn.locked {
  background: var(--paper-3);
  color: var(--faint);
  cursor: not-allowed;
  border-color: var(--line);
}

.bounty-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.bounty-empty i { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; color: var(--faint); }

.bounty-footnote { color: var(--muted); font-size: 0.85rem; margin-top: 2rem; line-height: 1.55; }
.bounty-footnote a { color: var(--accent); text-decoration: none; }
.bounty-footnote a:hover { color: var(--accent-deep); }

/* Claim confirm modal */
.bounty-modal {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.bounty-modal-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.bounty-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.bounty-modal-close:hover { color: var(--accent); }
.bounty-modal-card h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.bounty-modal-title { font-weight: 600; color: var(--accent); margin: 0 0 1rem; }
.bounty-modal-rules { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.25rem; }
.bounty-modal-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.bounty-modal-error { color: var(--accent); font-size: 0.85rem; min-height: 1.2em; margin: 0.75rem 0 0; }
