/* Art bounties — hall colors, no motion unless the visitor asks for it. */
.ab-page {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(90, 40, 32, 0.35), transparent 70%),
    #0a0908;
  color: #c8b89a;
  font-family: "Fragment Mono", ui-monospace, monospace;
}
.ab-skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: #2a1814;
  color: #c8b89a;
  padding: 8px 12px;
  z-index: 5;
}
.ab-skip:focus { transform: none; }
.ab-page-header,
.ab-shell {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}
.ab-page-header { padding: 28px 0 8px; }
.ab-kicker,
.ab-card-kicker,
.ab-board-kicker,
.rb-bounty-kicker {
  margin: 0 0 6px;
  font-family: "DotGothic16", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a3a3a;
}
.ab-page-header h1,
.ab-section h2 {
  margin: 0 0 8px;
  font-family: "DotGothic16", monospace;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #c8b89a;
}
.ab-page-header h1 { font-size: 28px; }
.ab-section h2 { font-size: 18px; }
.ab-lede,
.ab-status,
.ab-card p,
.ab-empty {
  margin: 0;
  line-height: 1.45;
  color: #c8b89a;
}
.ab-lede { max-width: 62ch; color: #8a7a62; }
.ab-status { min-height: 1.4em; margin: 14px 0; color: #8a7a62; }
.ab-shell { padding-bottom: 48px; }
.ab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  align-items: start;
}
.ab-filter {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  color: #8a7a62;
}
.ab-filter input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(200, 184, 154, 0.35);
  background: #120e0b;
  color: #c8b89a;
  font: 16px/1.3 "Fragment Mono", ui-monospace, monospace;
}
.ab-filter input:focus-visible,
.ab-take:focus-visible,
.bounties-close:focus-visible,
.bounties-open:focus-visible {
  outline: 2px solid #c8b89a;
  outline-offset: 2px;
}
.ab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ab-count {
  margin-left: auto;
  color: #e8d19a;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.ab-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 160px;
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(200, 184, 154, 0.35);
  background: rgba(12, 10, 8, 0.92);
}
.ab-times {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 1.75em;
  padding: 2px 6px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  line-height: 1.3;
  color: #e8d19a;
  background: #1a120e;
  border: 1px solid rgba(200, 184, 154, 0.45);
}
.ab-card.is-done { border-color: rgba(154, 58, 58, 0.7); }
.ab-card h3 {
  margin: 0;
  padding-right: 2.6em;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  font-family: "DotGothic16", monospace;
  color: #c8b89a;
}
.ab-card p { color: #c8b89a; }
.ab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-tags li {
  padding: 2px 6px;
  border: 1px solid rgba(200, 184, 154, 0.28);
  color: #8a7a62;
  font-size: 12px;
}
.ab-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.ab-take {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  background: #2a1814;
  color: #c8b89a;
  border: 1px solid #c8b89a;
  text-decoration: none;
  font-family: "DotGothic16", monospace;
  letter-spacing: 0.06em;
}
.ab-take:hover { background: #9a3a3a; color: #fff; border-color: #fff; }
.ab-earned { color: #8a7a62; font-size: 13px; }
.ab-empty {
  padding: 14px;
  border: 1px dashed rgba(200, 184, 154, 0.35);
  color: #8a7a62;
}
.ab-board-wrap {
  position: sticky;
  top: 12px;
  padding: 14px;
  border: 1px solid rgba(200, 184, 154, 0.35);
  background: rgba(12, 10, 8, 0.92);
}
.ab-board {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ab-board li {
  display: grid;
  grid-template-columns: 1.6em minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
}
.ab-rank { color: #9a3a3a; }
.ab-name { color: #c8b89a; text-decoration: none; overflow-wrap: anywhere; }
.ab-name:hover { text-decoration: underline; }
.ab-score { color: #8a7a62; }
.ab-page-footer {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: 8px 0 28px;
  color: #8a7a62;
}
.ab-page-footer a { color: #c8b89a; }
.bounties-open {
  position: fixed;
  z-index: 50;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: max(14px, env(safe-area-inset-left, 0px));
  min-height: 44px;
  padding: 8px 12px;
  font-family: "DotGothic16", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #c8b89a;
  background: rgba(12, 10, 8, 0.92);
  border: 1px solid rgba(200, 184, 154, 0.35);
  cursor: pointer;
}
.bounties-dialog {
  width: min(920px, calc(100vw - 24px));
  max-height: min(85vh, 820px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(200, 184, 154, 0.45);
  background: #0a0908;
  color: #c8b89a;
}
.bounties-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.bounties-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(200, 184, 154, 0.28);
}
.bounties-dialog-bar h2 {
  margin: 0;
  font-family: "DotGothic16", monospace;
  font-size: 16px;
  font-weight: 400;
}
.bounties-close {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  background: #2a1814;
  color: #c8b89a;
  border: 1px solid rgba(200, 184, 154, 0.45);
  font-family: "DotGothic16", monospace;
  cursor: pointer;
}
.bounties-dialog .ab-shell {
  width: auto;
  max-height: calc(85vh - 72px);
  overflow: auto;
  padding: 14px;
}
.start-bounties { margin: 0.85rem 0 0; }
.start-bounties a { color: #c8b89a; }
.ab-embed {
  position: relative;
  z-index: 2;
  padding: 16px 0 8px;
  background: #0a0908;
  color: #c8b89a;
}
@media (max-width: 800px) {
  .ab-layout { grid-template-columns: 1fr; }
  .ab-list { grid-template-columns: 1fr; }
  .ab-board-wrap { position: static; }
  .ab-page-header h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-card,
  .ab-take,
  .bounties-open,
  .bounties-dialog {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
