/* pounty.social — bounties on Robinhood Chain.
   Layout DNA is poidh's; the palette is dark green and the detailing is tightened. */

@font-face { font-family: GeistMono; font-weight: 100 700; font-style: normal; font-display: swap; src: url(../fonts/GeistMono-Regular.woff2) format("woff2"); }
@font-face { font-family: PixeloidSans; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/PixeloidSans-Regular.ttf) format("truetype"); }

:root {
  /* ground */
  --bg-0: #06120c;
  --bg-1: #0d2718;
  --bg-2: #0a1e12;
  --surface: #0e2418;
  --surface-2: #123020;

  /* ink */
  --ink: #eaf6ee;
  --ink-2: rgba(234, 246, 238, .68);
  --ink-3: rgba(234, 246, 238, .44);
  --line: rgba(234, 246, 238, .14);
  --line-2: rgba(234, 246, 238, .28);

  /* accent */
  --green: #4ade80;
  --green-2: #16a34a;
  --green-3: #a7f3c4;
  --green-deep: #0b5a2e;
  --glow: rgba(74, 222, 128, .35);

  /* rhythm */
  --pad: clamp(16px, 4vw, 28px);
  --max: 1280px;
  --r: 12px;
  --r-lg: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-0);
  background-image: linear-gradient(var(--bg-0), var(--bg-1) 30%, var(--bg-2) 58%, var(--bg-0));
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* a soft green bloom behind the fold, so the hero is not flat */
body::before {
  content: "";
  position: fixed; inset: -20% 0 auto 0; height: 70vh;
  background: radial-gradient(60% 55% at 50% 40%, rgba(74, 222, 128, .10), transparent 70%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── header ─────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 18, 12, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.hdr .wrap { display: flex; align-items: center; gap: 14px; }

.icon-btn {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink-2);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); background: rgba(234, 246, 238, .05); }
.icon-btn svg { width: 20px; height: 20px; }

/* wordmark: p(o)unty — the o is the arcade button */
.mark { display: inline-flex; align-items: center; gap: 0; margin-right: auto; }
.mark-txt {
  font-size: 30px; line-height: 1; letter-spacing: -.04em; font-weight: 700;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-flex; align-items: center;
}
.mark-o { width: .78em; height: .78em; margin: 0 .015em; flex: none; position: relative; top: .02em; }
.mark-o svg { width: 100%; height: 100%; display: block; }
.mark:hover .mark-o { transform: translateY(1px) scale(.97); }
.mark-o { transition: transform .16s var(--ease); }
.mark-tld { color: var(--ink-3); font-size: 13px; letter-spacing: .02em; margin-left: 8px; align-self: flex-end; padding-bottom: 3px; }
@media (max-width: 640px) { .mark-txt { font-size: 25px; } .mark-tld { display: none; } }

.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 14px; letter-spacing: -.01em; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}
.btn:hover { border-color: var(--green); background: rgba(74, 222, 128, .1); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  border-color: transparent; color: #04180d; font-weight: 700;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 18px -8px var(--glow);
}
.btn-primary:hover { background: linear-gradient(180deg, #5fe792, #18b453); border-color: transparent; }
.btn[data-on] { border-color: var(--green); color: var(--green); background: rgba(74, 222, 128, .08); }

/* chain chip in the header */
.chainchip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); }
.chainchip img { width: 18px; height: 18px; }
.chainchip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
@media (max-width: 900px) { .chainchip span.nm { display: none; } }
/* Below 640 the header keeps only what a thumb needs: menu, mark, connect.
   Info, search and the chain chip all live in the drawer and the tab bar. */
@media (max-width: 640px) {
  .chainchip, .hdr-right .icon-btn { display: none; }
  .hdr .wrap { gap: 10px; }
  .hdr-right .btn { padding: 0 13px; }
}

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; z-index: 1; padding: clamp(38px, 7vw, 76px) 0 0; text-align: center; }
.hero h1 {
  margin: 0;
  font-size: clamp(26px, 5.2vw, 46px);
  line-height: 1.12; letter-spacing: -.045em; font-weight: 700;
}
.hero h1 .rot {
  display: inline-block; min-width: 6ch; text-align: left;
  background: linear-gradient(180deg, var(--green-3), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .rot::after { content: ""; display: inline-block; width: 2px; height: .84em; margin-left: 3px; vertical-align: -.09em; background: var(--green); animation: caret 1.05s steps(2, start) infinite; }
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero .sub { margin: 14px auto 0; max-width: 58ch; color: var(--ink-2); font-size: clamp(13px, 1.6vw, 15px); }

/* ── latest claims strip ────────────────────────────────── */
.strip { position: relative; z-index: 1; padding: clamp(28px, 5vw, 44px) 0 0; }
.strip-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.strip-hd h2 { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: lowercase; color: var(--ink-3); }
.link-q { font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color .18s var(--ease), border-color .18s var(--ease); }
.link-q:hover { color: var(--green); border-color: var(--green); }

.rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.claim {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(104px, 14vw, 168px); aspect-ratio: 1;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.claim img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.claim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 18, 12, .78), transparent 52%); opacity: 0; transition: opacity .22s var(--ease); }
.claim .cap { position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 2; font-size: 11px; line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .22s var(--ease), transform .22s var(--ease); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.claim:hover img { transform: scale(1.06); }
.claim:hover::after, .claim:hover .cap { opacity: 1; transform: none; }
.claim:focus-visible { border-color: var(--green); }

/* ── controls: segmented tabs + sort ────────────────────── */
.controls { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: clamp(26px, 4.5vw, 40px) 0 0; }
.seg {
  position: relative; display: flex; flex-wrap: nowrap;
  height: 42px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 99px;
  background: rgba(234, 246, 238, .03);
}
.seg-ind {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 4px 14px -6px var(--glow);
  transition: transform .32s var(--ease), width .32s var(--ease);
}
.seg button {
  position: relative; z-index: 1;
  padding: 0 clamp(12px, 2.4vw, 22px);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(12px, 1.5vw, 14px); white-space: nowrap;
  color: var(--ink-2); border-radius: 99px;
  transition: color .22s var(--ease);
}
.seg button[aria-selected="true"] { color: #04180d; font-weight: 700; }
.seg button:hover:not([aria-selected="true"]) { color: var(--ink); }
/* At 430 and under the three full labels cannot fit any phone, so the buttons
   carry a short label and keep the long one for screen readers. */
@media (max-width: 430px) {
  .controls { gap: 10px; }
  .seg { flex: 1 1 auto; min-width: 0; }
  .seg button { flex: 1 1 0; padding: 0 6px; min-width: 0; }
  .seg button .long { display: none; }
}
.seg button .short { display: none; }
@media (max-width: 430px) { .seg button .short { display: inline; } }

.sortwrap { position: relative; }
.sort {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 99px;
  font-size: 13px; color: var(--ink-2);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.sort:hover, .sort[aria-expanded="true"] { border-color: var(--green); color: var(--ink); }
.sort svg { width: 15px; height: 15px; }
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 190px; padding: 6px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.menu[hidden] { display: none !important; }
.menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); text-align: left; }
.menu button:hover { background: rgba(234, 246, 238, .06); color: var(--ink); }
.menu button[aria-checked="true"] { color: var(--green); }
.menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; }

/* ── bounty grid ────────────────────────────────────────── */
.grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(16px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  padding: clamp(24px, 4vw, 40px) 0 0;
}

.card {
  position: relative; display: flex; flex-direction: column;
  min-height: 260px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(74, 222, 128, .55); background: var(--surface-2); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(74, 222, 128, .12); }
.card:focus-visible { border-color: var(--green); }

/* poidh marks live bounties with a moving two-tone border; kept, in green/teal */
.card.is-live { border-color: transparent; background-clip: padding-box; }
.card.is-live::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, #2bb9a0, var(--green));
  transition: background .3s var(--ease);
}
.card.is-live:hover::before { background: linear-gradient(270deg, #2bb9a0, var(--green)); }

.card h3 {
  margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: -.02em; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .body {
  margin: 12px 0 0; flex: 1;
  font-size: 13px; line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.amt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.amt b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--green); }
.amt span { font-size: 11px; color: var(--ink-3); }
.card .tags { display: flex; align-items: center; gap: 8px; flex: none; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; color: var(--ink-3); }
.tag svg { width: 13px; height: 13px; }
.tag img { width: 15px; height: 15px; }
.tag.live { border-color: rgba(74, 222, 128, .45); color: var(--green); }
.tag.muted { border-color: var(--line); color: var(--ink-3); }
.tag.live .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* skeletons */
.sk { min-height: 260px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; position: relative; }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(234, 246, 238, .05) 50%, transparent 80%); animation: sweep 1.4s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── floating create button ─────────────────────────────── */
.fab {
  position: fixed; left: 50%; bottom: 22px; z-index: 55;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.fab .knob { width: clamp(88px, 12vw, 118px); height: clamp(88px, 12vw, 118px); transition: transform .16s var(--ease); }
.fab:hover .knob { transform: scale(1.04); }
.fab:active .knob { transform: scale(.93); }
.fab .lbl {
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(6, 18, 12, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; letter-spacing: -.01em; white-space: nowrap;
}
.fab:hover .lbl { border-color: var(--green); color: var(--green); }
@media (max-width: 760px) { .fab { bottom: 74px; } .fab .knob { width: 76px; height: 76px; } }

/* ── mobile bottom nav (poidh has one; kept) ────────────── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 54;
  display: none; align-items: center; justify-content: space-around;
  height: 64px; padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(6, 18, 12, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--ink-3); padding: 6px 10px; }
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a[aria-current="page"] { color: var(--green); }
@media (max-width: 760px) { .tabbar { display: flex; } body { padding-bottom: 64px; } }

/* ── footer ─────────────────────────────────────────────── */
.ftr { position: relative; z-index: 1; margin-top: clamp(70px, 12vw, 130px); border-top: 1px solid var(--line); background: rgba(6, 18, 12, .5); }
.ftr .wrap { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .ftr .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr .wrap { grid-template-columns: 1fr; } }
.ftr h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); font-weight: 400; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ftr a { font-size: 13px; color: var(--ink-2); transition: color .18s var(--ease); }
.ftr a:hover { color: var(--green); }
.ftr .blurb { font-size: 13px; color: var(--ink-3); max-width: 34ch; margin: 12px 0 0; }
.ftr .base { border-top: 1px solid var(--line); }
.ftr .base .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--ink-3); grid-template-columns: none; flex-wrap: wrap; }
@media (max-width: 760px) { .ftr { margin-bottom: 76px; } }

/* ── drawer (hamburger) ─────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(3, 10, 6, .66); backdrop-filter: blur(3px); opacity: 0; transition: opacity .24s var(--ease); }
.scrim[hidden] { display: none !important; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 71; width: min(88vw, 330px);
  padding: 22px var(--pad);
  border-right: 1px solid var(--line);
  background: var(--bg-0); background-image: linear-gradient(160deg, var(--bg-2), var(--bg-0));
  transform: translateX(-100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column; gap: 22px;
}
.drawer.on { transform: none; }
.drawer nav { display: grid; gap: 4px; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.drawer nav a:hover { background: rgba(234, 246, 238, .06); color: var(--ink); }
.drawer nav a svg { width: 19px; height: 19px; }
.drawer .top { display: flex; align-items: center; justify-content: space-between; }

/* ── page shells (explore / feed / bounty) ──────────────── */
.page { position: relative; z-index: 1; padding: clamp(30px, 5vw, 56px) 0 0; }
.page h1 { margin: 0 0 6px; font-size: clamp(22px, 3.6vw, 32px); letter-spacing: -.04em; }
.page .lede { margin: 0 0 26px; color: var(--ink-2); font-size: 14px; max-width: 62ch; }

.crumb { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumb:hover { color: var(--green); }
.crumb svg { width: 15px; height: 15px; }

.detail { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.panel { padding: clamp(18px, 2.6vw, 26px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.panel + .panel { margin-top: 18px; }
.panel h2 { margin: 0 0 14px; font-size: 14px; font-weight: 400; letter-spacing: .06em; color: var(--ink-3); }

.md { font-size: 14px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md h1, .md h2, .md h3 { color: var(--ink); letter-spacing: -.02em; line-height: 1.3; margin: 26px 0 10px; }
.md h1 { font-size: 19px; } .md h2 { font-size: 17px; } .md h3 { font-size: 15px; }
.md p { margin: 0 0 13px; }
.md ul, .md ol { margin: 0 0 13px; padding-left: 20px; }
.md li { margin: 0 0 6px; }
.md a { color: var(--green); border-bottom: 1px solid rgba(74, 222, 128, .35); }
.md a:hover { border-color: var(--green); }
.md strong { color: var(--ink); }
.md code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: rgba(234, 246, 238, .07); }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

.kv { display: grid; gap: 12px; }
.kv .row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13px; }
.kv .row dt { color: var(--ink-3); margin: 0; }
.kv .row dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.mono-a { font-size: 12px; color: var(--ink-2); }
.mono-a:hover { color: var(--green); }

.prize { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--r); background: linear-gradient(160deg, rgba(74, 222, 128, .14), rgba(74, 222, 128, .03)); border: 1px solid rgba(74, 222, 128, .3); margin-bottom: 18px; }
.prize b { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.04em; color: var(--green); line-height: 1.1; }
.prize span { font-size: 13px; color: var(--ink-3); }

.stack { display: grid; gap: 10px; }
.note { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* toast */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 8px; max-width: min(92vw, 380px); }
.toast { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: 13px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); animation: rise .26s var(--ease); }
.toast.err { border-color: rgba(248, 113, 113, .5); }
.toast.ok { border-color: rgba(74, 222, 128, .5); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) { .toasts { bottom: 146px; } }

/* ── claim feed grid ────────────────────────────────────── */
.feedgrid { display: grid; gap: clamp(10px, 1.6vw, 16px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.feedcard { width: 100%; }

/* ── form fields ────────────────────────────────────────── */
input, textarea, select { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, .14); }
input[type="search"]::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }

/* ── bounty detail — poidh's single column, tightened ──── */
.bounty { max-width: 900px; }
.bhead { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.bhead h1 { margin: 0; font-size: clamp(22px, 3.6vw, 34px); line-height: 1.2; letter-spacing: -.04em; }
.bhead .tag { flex: none; margin-top: 6px; }
.bbrief { max-width: 74ch; margin-bottom: 22px; }
.issuer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin: 0 0 20px; }

.potrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 20px; border: 1px solid rgba(74, 222, 128, .3); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(74, 222, 128, .13), rgba(74, 222, 128, .03)); }
.pot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pot b { font-size: clamp(21px, 3vw, 28px); letter-spacing: -.04em; color: var(--green); line-height: 1.1; }
.potacts { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 560px) { .potacts { margin-left: 0; width: 100%; } .potacts .btn { flex: 1; } }

.acc { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: var(--surface); overflow: hidden; }
.acc summary { display: flex; align-items: center; gap: 9px; padding: 13px 16px; font-size: 13px; color: var(--ink-2); cursor: pointer; list-style: none; transition: color .18s var(--ease); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "⌄"; margin-left: auto; opacity: .55; transition: transform .2s var(--ease); }
.acc[open] summary::after { transform: rotate(180deg); }
.acc summary:hover { color: var(--ink); }
.accbody { padding: 4px 16px 15px; border-top: 1px solid var(--line); }
.accrow { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.accrow:last-child { border-bottom: 0; }

.blinks { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0 34px; }
.blinks .link-q { cursor: pointer; }

.claims { margin-bottom: 40px; }
.claims-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.claims-hd h2 { margin: 0; font-size: 15px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }

.claimgrid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.claimcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.claimcard:hover { border-color: rgba(74, 222, 128, .45); transform: translateY(-2px); }
.claimcard .shot { aspect-ratio: 1; background: var(--bg-0); overflow: hidden; }
.claimcard .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.claimcard:hover .shot img { transform: scale(1.04); }
.claimcard .cbody { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.claimcard h3 { margin: 0; font-size: 14px; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.claimcard p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cmeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11px; flex-wrap: wrap; }

.simrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; transition: border-color .18s var(--ease); }
.simrow:hover { border-color: var(--green); }
.simrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.simrow b { color: var(--green); flex: none; }
.bmeta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); margin: 0 0 20px; }
.bmeta span { white-space: nowrap; }
