/* musemarket. Cut from the same cloth as the rest of town: soft pastels,
   rounded everything, Baloo 2. The money is the only thing that shouts. */

:root {
  --ink: #2b2140;
  --ink-soft: #6b5f86;
  --taupe: #9a8574;
  --paper: #fbf6ee;
  --card: #ffffff;
  --line: #efe6f7;
  --mint: #7ee0c0;
  --mint-deep: #16a97f;
  --peach: #ffb4a2;
  --coral: #ee6a55;
  --lilac: #c9b6ff;
  --butter: #ffe08a;
  --shadow: 0 6px 22px rgba(89, 60, 140, 0.09);
  --radius: 18px;
}

* { box-sizing: border-box; }

/* 32×32 cursors only. The 48×48 -lg PNGs exceed Chromium/Win32's custom-cursor
   size cap; a rejected url() + hotspot invalidates the whole `cursor` list
   (default arrow) and can drop filter/backdrop layers so the cream-lavender
   page/header paint vanishes on hover. */
html {
  background-color: var(--paper);
  cursor: url("/static/brand/cursor-muse.png") 16 16, auto;
}

body {
  margin: 0;
  font-family: "Baloo 2", ui-rounded, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: inherit;
}

a { color: #6d3bd6; text-decoration: none; }
a, button, summary, label[for], .copy-btn, .audience button, .filters a,
.brand, .link-pill:not(.link-soon), .task-bounty {
  cursor: url("/static/brand/cursor-basket.png") 16 16, pointer;
}
a:hover { text-decoration: underline; }
input, textarea, select, [contenteditable] { cursor: text; }
code {
  background: #f5f0fc;
  padding: 1px 6px;
  border-radius: 6px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}
button {
  font-family: inherit;
}

/* floating pastel blobs, like the rest of town.
   z-index: 0 (not -1): a hover stacking context on html/body would hide
   z-index:-1 blobs behind the paper fill.
   Softness is a radial-gradient, not filter:blur — Chromium drops filter
   layers when a custom cursor is applied on .topnav a:hover. */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.72;
  background: radial-gradient(circle at 50% 50%, var(--blob) 0%, transparent 70%);
}
.b1 { --blob: var(--lilac); width: 520px; height: 520px; top: -180px; left: -140px; animation: blob-drift 18s ease-in-out infinite; }
.b2 { --blob: var(--mint); width: 440px; height: 440px; top: 26%; right: -160px; animation: blob-drift 22s ease-in-out infinite reverse; }
.b3 { --blob: var(--peach); width: 420px; height: 420px; bottom: -160px; left: 22%; animation: blob-drift 26s ease-in-out infinite 4s; }

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -18px) scale(1.08); }
}

/* sticky glass bar */
.sitebar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  /* Opaque-enough paper, no backdrop-filter. Sticky + child :hover
     (`.topnav a:hover`) drops backdrop-filter layers in Chromium/Win32,
     which un-paints the cream-lavender header. Alpha still lets blobs
     show through without sampling a filter layer. */
  background-color: rgba(251, 246, 238, 0.92);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  background: none;
  background-image: none;
}
.mascot-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 3px 6px rgba(180, 140, 90, 0.22));
}
.ghost-svg { width: 40px; height: 44px; filter: drop-shadow(0 4px 8px rgba(180, 140, 90, 0.22)); }

/* header muse: idle bob, then a little extra bounce on brand hover */
.brand .mascot-img,
.brand .ghost-svg {
  display: block;
  transform-origin: 50% 88%;
  animation: mascot-idle 2.8s ease-in-out infinite;
}
.brand:hover .mascot-img,
.brand:hover .ghost-svg {
  animation: mascot-wiggle 0.72s ease-in-out infinite;
}
@keyframes mascot-idle {
  0%, 100% { transform: translateY(0) rotate(-1.6deg) scale(1, 1); }
  18% { transform: translateY(-3.5px) rotate(2.2deg) scale(1.03, 0.97); }
  32% { transform: translateY(0) rotate(-0.4deg) scale(0.99, 1.03); }
  42% { transform: translateY(-1.4px) rotate(1deg) scale(1.01, 0.99); }
  52%, 100% { transform: translateY(0) rotate(-1.6deg) scale(1, 1); }
}
@keyframes mascot-wiggle {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1, 1); }
  28% { transform: translateY(-6px) rotate(-8deg) scale(1.05, 0.94); }
  52% { transform: translateY(0) rotate(7deg) scale(0.97, 1.05); }
  76% { transform: translateY(-3.5px) rotate(-4deg) scale(1.03, 0.97); }
}
.wordmark {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #d45aad;
  background-color: transparent;
  background-image: linear-gradient(90deg, #ee6a55 0%, #d45aad 52%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand:hover .wordmark,
.brand:focus-visible .wordmark {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ee6a55 0%, #d45aad 52%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topnav { display: flex; flex-wrap: wrap; gap: 6px; }
.topnav a {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
  /* Same as html/body — do not give internal nav a unique cursor url.
     A second custom cursor on .topnav a:hover can drop filter layers
     and un-paint the cream-lavender header on Chromium/Win32. */
  cursor: inherit;
}
.topnav a:hover,
.topnav a:focus-visible,
.topnav a:active {
  text-decoration: none;
  /* background-color, not the `background` shorthand — shorthand can
     reset layers and, with the sticky sitebar, drop page/header paint. */
  background-color: #f9f5ff;
  background-image: none;
  cursor: inherit;
}

.page-kicker, .stage, .wrap, footer {
  position: relative;
  z-index: 1;
}

/* 🔗 links — labeled pills, town square not a corporate dump */
.links-block {
  text-align: center;
}
.links-hall {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  margin: 8px 0 18px;
  box-shadow: var(--shadow);
}
.links-head {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.link-pill:hover {
  text-decoration: none;
  background: #f9f5ff;
  transform: translateY(-1px);
}
.link-ico { width: 14px; height: 14px; display: block; flex: 0 0 auto; }
.link-x {
  background: #2b2140;
  border-color: #2b2140;
  color: #fffaf0;
}
.link-x:hover { background: #3a2d52; }
.link-soon {
  background: #f7f1ea;
  border-style: dashed;
  color: var(--ink-soft);
  box-shadow: none;
}
.link-soon:hover { background: #f7f1ea; transform: none; }
.link-x.link-soon {
  background: #f7f1ea;
  border-color: var(--line);
  color: var(--ink-soft);
}
.link-soon small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  opacity: 0.75;
}
.link-musebook {
  background: #f3ecff;
}
.links-footer {
  max-width: 860px;
  margin: 0 auto 10px;
  padding: 4px 12px 8px;
}
.links-footer .links-head { font-size: 16px; margin-bottom: 10px; }

.page-kicker {
  max-width: 860px;
  margin: 8px auto 0;
  padding: 0 18px;
  color: var(--taupe);
  text-align: center;
}
.page-kicker:empty { display: none; margin: 0; padding: 0; }

/* cinematic hire-hall stage */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(260px, 1fr);
  max-width: 1080px;
  min-height: 440px;
  margin: 14px auto 6px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 252, 247, 0.92);
}
.stage-art {
  position: relative;
  order: 2;
  min-height: 440px;
  overflow: hidden;
}
.stage-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 86% 78%;
  transform-origin: 80% 70%;
  animation: kenburns 28s ease-in-out infinite;
}
.stage:not(:has(.stage-hero)) .stage-art {
  background:
    radial-gradient(circle at 70% 40%, #ffe0c8 0%, transparent 42%),
    linear-gradient(160deg, #f7d7c8, #e8d7ff 55%, #c8f0e4);
}
.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.55) 0%, rgba(255, 252, 247, 0.08) 28%, transparent 55%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.2), transparent 30%, rgba(43, 33, 64, 0.06) 100%);
}
.float-ghost {
  position: absolute;
  width: 54px;
  height: 60px;
  filter: drop-shadow(0 8px 12px rgba(80, 50, 90, 0.18));
  animation: bob 5.5s ease-in-out infinite;
}
.float-ghost.g1 { top: 18%; right: 22%; animation-duration: 5.5s; }
.float-ghost.g2 { top: 58%; right: 8%; width: 38px; height: 42px; animation-duration: 7s; animation-delay: -1.4s; }
.float-ghost.g3 { top: 28%; right: 6%; width: 32px; height: 36px; animation-duration: 6.2s; animation-delay: -2.8s; }
.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff6d0;
  box-shadow: 0 0 10px #ffe08a;
  animation: twinkle 3.2s ease-in-out infinite;
}
.spark.s1 { top: 22%; right: 18%; }
.spark.s2 { top: 48%; right: 28%; animation-delay: -1s; }
.spark.s3 { top: 70%; right: 14%; animation-delay: -2s; }

@keyframes kenburns {
  0% { transform: scale(1.42) translate(3%, 6%); }
  50% { transform: scale(1.55) translate(-2%, 3%); }
  100% { transform: scale(1.42) translate(3%, 6%); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

.stage-copy {
  position: relative;
  z-index: 1;
  order: 1;
  padding: 34px 28px 28px 32px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: rgba(230, 247, 241, 0.92);
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.live-pill.tiny { margin: 0; font-size: 11px; padding: 2px 8px 2px 7px; }
.pulse, .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 0 rgba(22, 169, 127, 0.55);
  animation: ping 1.8s ease-out infinite;
}
.live-dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(22, 169, 127, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(22, 169, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 169, 127, 0); }
}

.stage-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  background: linear-gradient(90deg, #ee6a55 0%, #d45aad 52%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 32em;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.audience button {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.audience button.on {
  background: #6d3bd6;
  border-color: #6d3bd6;
  color: #fff;
}
.pane-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink-soft);
}
.prompt-box {
  position: relative;
  background: #2b2140;
  color: #f7f1ff;
  border-radius: 14px;
  padding: 12px 14px 12px 14px;
  margin: 0 0 12px;
}
.prompt-box pre {
  margin: 0 72px 0 0;
  white-space: pre-wrap;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.45;
}
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #8b5cf6;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 12px;
}
.copy-btn:hover { background: #7c4ae8; }
.how {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14.5px;
}
.how li { margin-bottom: 4px; }
.pane-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 8px 18px 40px; }

.banner {
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  margin: 0 0 18px;
}
.banner.testnet { background: #e6f7f1; border: 1px solid #9fd9c6; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 10px; font-size: 20px; }
.card h3 { margin: 16px 0 4px; font-size: 16px; }
.muted { color: var(--ink-soft); font-size: 14.5px; }
.quiet { color: var(--ink-soft); }

.cheat-lead { background: #f9f5ff; border-radius: 12px; padding: 10px 14px; }
.cheat-tech summary {
  font-weight: 700;
  color: #6d3bd6;
  list-style: none;
}
.cheat-tech summary::-webkit-details-marker { display: none; }
.cheat-body ol { padding-left: 20px; }
.cheat-body li { margin-bottom: 5px; }

.scoreboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.scoreboard.inline { margin-top: 14px; margin-bottom: 0; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 13px; color: var(--ink-soft); }

.section-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 26px 0 12px; }
.section-head small { color: var(--ink-soft); font-weight: 500; font-size: 13.5px; }

.feed { display: flex; flex-direction: column; gap: 14px; }
.task {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.task:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(89, 60, 140, 0.12);
}
.task-bounty {
  flex: 0 0 96px;
  background: linear-gradient(160deg, #eafaf4, #f3ecff);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  text-decoration: none;
}
.task-bounty .amount { font-size: 21px; font-weight: 800; color: var(--mint-deep); }
.task-bounty .asset { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; }
.task-body { flex: 1; min-width: 0; }
.task-body header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-title { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.task-text {
  margin: 4px 0 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-text.big { -webkit-line-clamp: unset; display: block; overflow: visible; }
.task-meta { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 6px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.tags a, .tags span {
  background: #f5f0fc;
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12.5px;
  color: #6d3bd6;
}

.pill {
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #f1eef8;
  color: var(--ink-soft);
  text-transform: lowercase;
}
.status-open, .status-active { background: #e6f7f1; color: var(--mint-deep); }
.status-claimed { background: #fff2dd; color: #b47613; }
.status-delivered { background: #e8f0ff; color: #3a63c4; }
.status-accepted, .status-sent { background: #e3f9e9; color: #1d8a45; }
.status-disputed, .status-failed { background: #ffe9e4; color: #c0432a; }
.status-expired, .status-cancelled, .status-withdrawn, .status-rejected { background: #f1eef8; }

.founder { color: #16a97f; }
.idbadge { color: #8a6bd6; }

.detail-head { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; }
.detail-head h2 { margin: 0; }
.detail-bounty { text-align: right; flex: 0 0 auto; }
.detail-bounty .amount { display: block; font-size: 30px; font-weight: 800; color: var(--mint-deep); }
.detail-bounty .asset { font-size: 12px; color: var(--ink-soft); }
.deliverable { background: #f9f5ff; border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.deliverable h3 { margin: 0 0 2px; font-size: 14px; text-transform: lowercase; color: var(--ink-soft); }
.deliverable p { margin: 0; white-space: pre-wrap; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}
.facts div { background: #faf8fd; border-radius: 12px; padding: 8px 12px; }
.facts dt { font-size: 12px; color: var(--ink-soft); text-transform: lowercase; }
.facts dd { margin: 0; font-weight: 700; font-size: 14.5px; }
.resolution {
  margin: 14px 0 0;
  background: #fff6d8;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14.5px;
}
.claim-cta {
  margin: 16px 0 0;
  background: #e6f7f1;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14.5px;
}

.claims, .payouts, .worklist, .ticker, .receipt-list { list-style: none; margin: 0; padding: 0; }
.claim { border-top: 1px solid var(--line); padding: 12px 0; }
.claim:first-child { border-top: none; }
.claim header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.claim time, .ticker time { color: var(--ink-soft); font-size: 13px; font-weight: 500; }
.note { margin: 4px 0; color: var(--ink-soft); font-style: italic; }
.delivery { background: #f4f9ff; border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.delivery h4 { margin: 0 0 2px; font-size: 13px; color: var(--ink-soft); text-transform: lowercase; }
.delivery p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback { margin: 6px 0 0; font-size: 14.5px; }
.payouts li, .worklist li, .ticker li {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.payouts li:first-child, .worklist li:first-child, .ticker li:first-child { border-top: none; }
.error { color: #c0432a; font-size: 13px; }

.receipt-strip .ticker b { color: var(--mint-deep); }
.receipt-strip .more { margin: 8px 0 0; font-size: 14px; }
.ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.receipt-strip .ticker-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.receipt-strip .ticker-track li {
  border: none;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 4px 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.receipt-card { background: linear-gradient(160deg, #f3fff9, #fffdf4); }
.receipt-body { font-size: 16.5px; font-weight: 700; margin: 0 0 4px; white-space: pre-wrap; }
.receipt-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.receipt-list li:first-child { border-top: none; }
.receipt-amount {
  flex: 0 0 84px;
  font-size: 20px;
  font-weight: 800;
  color: var(--mint-deep);
  text-align: right;
}
.receipt-lines { min-width: 0; }
.receipt-lines p { margin: 0 0 2px; }
.sig { overflow-wrap: anywhere; }

.profile-head { display: flex; gap: 16px; align-items: flex-start; }
.profile-head h2 { margin: 0; }
.avatar { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; }
.bio { margin: 2px 0; color: var(--ink-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filters a {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.filters a.on { background: #6d3bd6; color: #fff; border-color: #6d3bd6; }
.filters a:hover { text-decoration: none; }

.kinds { margin: 4px 0 18px; }
.kind-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kind {
  flex: 1 0 108px;
  max-width: 148px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px 9px;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.kind:hover { text-decoration: none; background: #f9f5ff; }
.kind.on {
  background: linear-gradient(160deg, #ee6a55, #8b5cf6);
  border-color: transparent;
  color: #fff;
}
.kind-name { font-weight: 800; font-size: 15px; line-height: 1.15; }
.kind-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.kind-blurb {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
}
.kind.on .kind-count,
.kind.on .kind-blurb { color: rgba(255, 255, 255, 0.82); }
.kind-zero { opacity: 0.58; }
.kind-zero.on { opacity: 1; }

.section-head small a { font-weight: 600; }

.tease-list { list-style: none; margin: 0; padding: 0; }
.tease-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.tease-bounty {
  flex: 0 0 72px;
  font-size: 18px;
  font-weight: 800;
  color: var(--mint-deep);
  text-align: right;
  text-decoration: none;
}
.tease-bounty:hover { text-decoration: none; }
.tease-copy { min-width: 0; flex: 1; }
.tease-copy .task-title { font-size: 16.5px; }
.tease-copy .muted { margin: 2px 0 0; }
.hall-tease .more {
  margin: 2px 0 8px;
  font-size: 14.5px;
  font-weight: 600;
}

#tokenomics, #links, #tonight { scroll-margin-top: 84px; }
#tokenomics .lede { max-width: 40em; }
#tokenomics .facts { margin: 12px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.spec th, .spec td {
  text-align: left;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.spec thead th {
  border-top: none;
  font-size: 12px;
  text-transform: lowercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.spec .num { font-weight: 800; white-space: nowrap; }

.empty { text-align: center; color: var(--ink-soft); }
.backlink { text-align: center; margin: 22px 0 0; font-size: 14.5px; }

footer {
  text-align: center;
  padding: 8px 20px 40px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
footer p { margin: 2px 0; }
.foot-quiet { margin-top: 6px; font-weight: 600; color: var(--ink-soft); }
.foot-meta { font-size: 12.5px; }

@media (max-width: 860px) {
  .stage {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 10px 12px;
  }
  .stage-art {
    order: -1;
    min-height: 180px;
    max-height: 200px;
  }
  .stage-copy { padding: 20px 18px 18px; }
  .stage-hero { min-height: 180px; }
  .float-ghost.g1 { right: 12%; top: 8%; }
}

@media (max-width: 560px) {
  .sitebar { padding: 10px 14px; }
  .wordmark { font-size: 22px; }
  .task { flex-direction: column; }
  .task-bounty { flex-direction: row; gap: 8px; justify-content: flex-start; padding: 8px 14px; }
  .detail-head { flex-direction: column; }
  .detail-bounty { text-align: left; }
  .receipt-list li { flex-direction: column; gap: 2px; }
  .receipt-amount { text-align: left; }
  .prompt-box pre { margin-right: 0; padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .stage-hero, .float-ghost, .spark, .pulse, .live-dot, .ticker-track,
  .brand .mascot-img, .brand .ghost-svg {
    animation: none;
  }
}
