/* ============================================================
   HOODBLOX
   One quiet system: a green-cast dark ground, hairline borders, a
   single accent, one card style, one spacing scale. The only
   decoration on the page is the water behind the hero.

   Fonts   Pixelify Sans (brand, h1, item names)
           Barlow Semi Condensed (headings)
           Atkinson Hyperlegible Mono (everything else)
   ============================================================ */

/* ── tokens ─────────────────────────────────────────────── */
:root{
  --bg:      #060907;
  --bg-2:    #090d0a;
  --panel:   #0d120f;
  --panel-2: #121814;
  --line:    #1c2520;
  --line-2:  #26312a;

  --text:    #e9efeb;
  --text-2:  #c6cfc9;
  --muted:   #7f8d85;
  --dim:     #566159;

  --accent:      #00c805;
  --accent-2:    #2ee83c;
  --accent-ink:  #041206;
  --accent-dim:  rgba(0,200,5,.12);
  --accent-line: rgba(0,200,5,.40);

  --ok:         #00c805;
  --ok-dim:     rgba(0,200,5,.12);
  --warn:       #ffb020;
  --warn-dim:   rgba(255,176,32,.11);
  --danger:     #ff5a4a;
  --danger-dim: rgba(255,90,74,.11);

  /* the seven tiers, hues from the game's RARITY_COLORS, softened for dark */
  --rar-common:    #b9c2bc;
  --rar-uncommon:  #63ff7a;
  --rar-rare:      #00e5ff;
  --rar-epic:      #f45cff;
  --rar-legendary: #ffe14a;
  --rar-mythic:    #ff3b3f;
  --rar-secret:    #7c5cff;

  --f-mono:  "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-head:  "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-pixel: "Pixelify Sans", "Barlow Semi Condensed", system-ui, sans-serif;

  --r: 10px;
  --r-sm: 6px;
  --pill: 999px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 62px;

  --sec: clamp(60px, 8vw, 96px);
  --gap: 14px;
}

[data-tier="common"]   { --tier: var(--rar-common); }
[data-tier="uncommon"] { --tier: var(--rar-uncommon); }
[data-tier="rare"]     { --tier: var(--rar-rare); }
[data-tier="epic"]     { --tier: var(--rar-epic); }
[data-tier="legendary"]{ --tier: var(--rar-legendary); }
[data-tier="mythic"]   { --tier: var(--rar-mythic); }
[data-tier="secret"]   { --tier: var(--rar-secret); }

/* ── reset ──────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 24px); -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--f-mono); font-size:15px; line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg,canvas{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3{ margin:0; font-weight:400; }
p,ul,ol,dl,dd{ margin:0; padding:0; }
ul,ol{ list-style:none; }
code{ font-family:var(--f-mono); color:var(--accent); }
::selection{ background:var(--accent); color:var(--accent-ink); }
[hidden]{ display:none !important; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

.link{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; }

/* ── layout ─────────────────────────────────────────────── */
.wrap{ width:100%; max-width:1080px; margin-inline:auto; padding-inline:var(--gutter); }
.wrap--narrow{ max-width:760px; }

.sec{ padding:var(--sec) 0; }
.sec--alt{ background:var(--bg-2); border-block:1px solid var(--line); }
/* the feed leads the page, so it sits closer under the hero than the rest */
#drops{ padding-top:clamp(36px, 5vw, 56px); }
#drops .sec__head{ margin-bottom:18px; }

.sec__head{ margin-bottom:clamp(26px, 4vw, 40px); max-width:640px; }
.eyebrow{
  font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
  margin-bottom:12px;
}
.sec__title{
  font-family:var(--f-head); font-weight:300;
  font-size:clamp(28px, 4.2vw, 42px); line-height:1.1; color:#fff;
  text-wrap:balance;
}
.sec__lead{ margin-top:12px; font-size:14.5px; color:var(--muted); max-width:58ch; }
.sec__lead strong{ color:var(--text); font-weight:700; }

.note{ margin-top:12px; font-size:12px; color:var(--dim); max-width:70ch; }
.dim{ color:var(--dim); }

/* ── buttons ────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-size:11.5px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  padding:10px 18px; border-radius:var(--pill);
  border:1px solid var(--line-2); background:transparent; color:var(--text-2);
  white-space:nowrap;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{ background:var(--panel-2); border-color:#34423a; color:#fff; }
.btn[disabled]{ opacity:.45; pointer-events:none; }
.btn--accent{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); font-weight:700; }
.btn--accent:hover{ background:var(--accent-2); border-color:var(--accent-2); color:var(--accent-ink); }
.btn--ghost{ background:transparent; }
.btn--icon{ padding-inline:10px; aspect-ratio:1; }
.btn--icon svg{ display:block; }
.btn--lg{ font-size:12.5px; padding:14px 26px; }
.btn__arrow{ display:none; }

/* ── nav ────────────────────────────────────────────────── */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(6,9,7,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:border-color .2s ease;
}
.nav.is-stuck{ border-bottom-color:var(--line); }
.nav__in{ height:var(--nav-h); display:flex; align-items:center; gap:28px; }

.brand{ display:inline-flex; align-items:center; gap:10px; flex:none; }
.brand__mark{
  width:24px; height:24px; flex:none;
  border-radius:5px; object-fit:cover; display:block;
}
.brand__word{ font-family:var(--f-pixel); font-size:19px; font-weight:600; color:#fff; letter-spacing:.02em; }

.nav__links{ display:flex; gap:24px; margin-inline:auto; }
.nav__links a{ font-size:12.5px; color:var(--muted); transition:color .15s ease; }
.nav__links a:hover{ color:#fff; }
.nav__actions{ display:flex; align-items:center; gap:10px; flex:none; }

.nav__burger{ display:none; width:36px; height:36px; border:1px solid var(--line-2); border-radius:var(--pill); }
.nav__burger span{ display:block; width:14px; height:1px; background:var(--text); margin:3px auto; transition:transform .2s ease; }
.nav__burger[aria-expanded="true"] span:first-child{ transform:translateY(2px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child{ transform:translateY(-2px) rotate(-45deg); }
.nav__mobile{ display:none; flex-direction:column; border-top:1px solid var(--line); padding:6px var(--gutter) 14px; }
.nav__mobile a{ padding:12px 0; font-size:14px; color:var(--muted); border-bottom:1px solid var(--line); }
.nav__mobile a:last-child{ border-bottom:0; }

/* ── hero ───────────────────────────────────────────────── */
.hero{ position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.hero__water{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.8; }
.hero__in{
  position:relative; z-index:1;
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr); align-items:center; gap:clamp(28px, 5vw, 64px);
  padding:clamp(48px, 7vw, 88px) var(--gutter) clamp(44px, 6vw, 64px);
}
.hero__copy{ min-width:0; }
.hero .eyebrow{ margin-bottom:18px; }
.hero__title{
  font-family:var(--f-pixel); font-weight:600;
  font-size:clamp(30px, 4.4vw, 56px); line-height:1.06;
  display:flex; flex-direction:column; gap:.04em;
  margin:0 0 20px; max-width:16ch; text-wrap:balance;
}
.hero__title .is-accent{ color:var(--accent); }
.hero__sub{ max-width:460px; margin:0 0 28px; font-size:15px; color:var(--muted); }
.hero__cta{ display:flex; flex-wrap:wrap; gap:10px; }
.hero__art{ margin:0; min-width:0; }
.hero__art img{
  display:block; width:100%; height:auto;
  border:1px solid var(--line); border-radius:var(--r-lg, 14px);
  box-shadow:0 40px 90px -40px rgba(0,200,5,.45);
}

.stats{
  display:flex; flex-wrap:wrap; gap:8px 28px;
  margin-top:36px; font-size:12.5px; color:var(--muted);
}
.stats li{ display:inline-flex; align-items:center; gap:7px; }
.stats b{ font-family:var(--f-head); font-size:19px; font-weight:400; color:#fff; font-variant-numeric:tabular-nums; }
.stats b.is-live{ color:var(--accent); }
.stats b.is-off{ font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--dim); }
.live{ display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--accent); animation:pulse 2.2s infinite; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(0,200,5,.5); }
  70%{ box-shadow:0 0 0 7px rgba(0,200,5,0); }
  100%{ box-shadow:0 0 0 0 rgba(0,200,5,0); }
}

/* ── tier legend ────────────────────────────────────────── */
.tiers{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:var(--gap); }
.rar{
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:.06em; color:var(--text-2);
  border:1px solid var(--line); border-radius:var(--pill); padding:6px 12px 6px 10px;
  background:var(--panel);
}
.rar::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--tier); }
.rar.is-open::after{
  content:"bounty"; font-size:9px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); margin-left:2px;
}

/* ── drop feed panel ────────────────────────────────────── */
.pulls{ border:1px solid var(--line); border-radius:var(--r); background:var(--panel); overflow:hidden; }
.pulls__bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:11px 16px; border-bottom:1px solid var(--line); background:var(--bg-2);
}
.pulls__live{ display:inline-flex; align-items:center; gap:8px; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.pulls__count{ font-size:10.5px; color:var(--accent); border:1px solid var(--accent-line); border-radius:var(--pill); padding:2px 9px; }
.pulls__count:empty{ display:none; }

.pulls__body{ max-height:min(56vh, 420px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--line-2) transparent; }
.pulls__body::-webkit-scrollbar{ width:8px; }
.pulls__body::-webkit-scrollbar-thumb{ background:var(--line-2); border-radius:var(--pill); }

.pull{
  position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  padding:12px 16px 12px 20px; border-bottom:1px solid var(--line);
}
.pull:last-child{ border-bottom:0; }
.pull::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--tier); }
.pull__who{ font-family:var(--f-head); font-size:17px; color:#fff; }
.pull__verb{ font-size:11.5px; color:var(--dim); }
.pull__tier,.pull__mut{
  font-size:8.5px; letter-spacing:.14em; text-transform:uppercase;
  border:1px solid; border-radius:var(--pill); padding:3px 8px; white-space:nowrap;
}
.pull__tier{ color:var(--tier); border-color:var(--tier); background:color-mix(in srgb, var(--tier) 12%, transparent); }
.pull__mut{ color:var(--mut, var(--text-2)); border-color:var(--mut, var(--line-2)); }
[data-mut="golden"]   { --mut:#ffd23f; }
[data-mut="diamond"]  { --mut:#8fe9ff; }
[data-mut="celestial"]{ --mut:#c9b5ff; }
[data-mut="rainbow"] .pull__mut{
  color:transparent; border-color:#ff7ab8;
  background:linear-gradient(90deg,#ff5c7a,#ffd23f,#63ff7a,#00e5ff,#c9b5ff);
  -webkit-background-clip:text; background-clip:text;
}
.pull__item{ font-family:var(--f-pixel); font-size:18px; color:#fff; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pull[data-tier="secret"] .pull__item{ color:var(--rar-secret); }
.pull__worth{ font-family:var(--f-head); font-size:17px; color:var(--accent); font-variant-numeric:tabular-nums; white-space:nowrap; }
.pull__at{ margin-left:auto; font-size:10px; letter-spacing:.1em; color:var(--dim); white-space:nowrap; }
.pull.is-new{ animation:landed 1.4s ease; }
@keyframes landed{ from{ background:color-mix(in srgb, var(--tier) 14%, var(--panel)); } to{ background:transparent; } }

/* drops + leaderboard side by side, each its own scrolling card */
.duo{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--gap) 18px; align-items:start; }
.duo__col{ min-width:0; }
.duo .note{ margin-top:10px; }
.lb__body{ max-height:min(56vh, 420px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--line-2) transparent; }
.lb__body::-webkit-scrollbar{ width:8px; }
.lb__body::-webkit-scrollbar-thumb{ background:var(--line-2); border-radius:var(--pill); }
/* ── leaderboard ────────────────────────────────────────── */
.lb{ border:1px solid var(--line); border-radius:var(--r); background:var(--panel); overflow:hidden; }
.lb__tabs{
  display:flex; align-items:center; gap:4px; flex-wrap:wrap;
  padding:8px 10px; border-bottom:1px solid var(--line); background:var(--bg-2);
}
.lb__tab{
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); background:transparent; border:1px solid transparent; border-radius:var(--pill);
  padding:7px 13px; cursor:pointer; transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.lb__tab:hover{ color:#fff; }
.lb__tab.is-on{ color:var(--accent); border-color:var(--accent-line); background:var(--accent-dim); }
.lb__upd{ margin-left:auto; font-size:10px; letter-spacing:.1em; color:var(--dim); white-space:nowrap; }
.lb__upd:empty{ display:none; }

.lb__list{ list-style:none; margin:0; padding:0; }
.lb__row{
  display:grid; grid-template-columns:30px 36px minmax(0,1fr) auto; align-items:center; gap:12px;
  padding:10px 16px; border-bottom:1px solid var(--line);
}
.lb__row:last-child{ border-bottom:0; }
.lb__rank{ font-family:var(--f-head); font-size:15px; color:var(--dim); font-variant-numeric:tabular-nums; text-align:right; }
.lb__row:nth-child(1) .lb__rank{ color:var(--rar-legendary); }
.lb__row:nth-child(2) .lb__rank{ color:var(--text); }
.lb__row:nth-child(3) .lb__rank{ color:#d9a066; }
.lb__ava{
  width:36px; height:36px; border-radius:50%; overflow:hidden; display:grid; place-items:center;
  background:var(--bg-2); border:1px solid var(--line-2);
  font-family:var(--f-head); font-size:15px; color:var(--muted); text-transform:uppercase;
}
.lb__ava img{ width:100%; height:100%; object-fit:cover; display:block; }
.lb__name{
  font-family:var(--f-head); font-size:17px; color:#fff; min-width:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.lb__name:hover{ color:var(--accent); }
.lb__val{ font-family:var(--f-head); font-size:17px; color:var(--accent); font-variant-numeric:tabular-nums; white-space:nowrap; }
.lb .empty{ border:0; border-radius:0; background:transparent; }

/* ── shared: empty states, banners ──────────────────────── */
.empty{
  border:1px dashed var(--line-2); border-radius:var(--r); background:var(--panel);
  padding:30px 22px; display:grid; gap:6px;
}
.empty--sm{ padding:20px; }
.empty h3{ font-family:var(--f-head); font-size:20px; color:#fff; }
.empty p{ font-size:13px; color:var(--muted); }
.pulls .empty{ border:0; border-radius:0; background:transparent; }

.demo-banner, .notice{
  display:grid; gap:4px; margin-bottom:var(--gap); padding:13px 16px;
  border-radius:var(--r-sm); font-size:12.5px; color:var(--text-2);
}
.demo-banner{ border:1px solid var(--warn); background:var(--warn-dim); }
.demo-banner strong, .demo-banner code{ color:var(--warn); }
.notice{ border:1px solid var(--accent-line); background:var(--accent-dim); }
.notice strong{ color:var(--accent); }

/* ── bounty board ───────────────────────────────────────── */
.board{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:var(--gap); }
.board__loading, .board__error{ grid-column:1 / -1; }
.board__loading{ font-size:12px; color:var(--dim); }
.board__error{ border:1px solid var(--line); border-radius:var(--r); background:var(--panel); padding:24px; display:grid; gap:8px; }
.board__error h3{ font-family:var(--f-head); font-size:22px; color:#fff; }
.board__error p{ font-size:13px; color:var(--muted); }

.bty{
  display:flex; flex-direction:column;
  background:var(--panel); border:1px solid var(--line); border-top:2px solid var(--tier);
  border-radius:var(--r); padding:18px; cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.bty:hover{ background:var(--panel-2); border-color:var(--line-2); border-top-color:var(--tier); }
.bty__head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.bty__id{ font-size:10px; letter-spacing:.14em; color:var(--dim); }
.bty__status{ font-size:9px; letter-spacing:.14em; text-transform:uppercase; border:1px solid; border-radius:var(--pill); padding:3px 9px; }
.bty__status--open{ color:var(--ok); border-color:var(--accent-line); background:var(--ok-dim); }
.bty__status--closed{ color:var(--dim); border-color:var(--line-2); }
.lvl{
  font-size:9px; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  border:1px solid; border-radius:var(--pill); padding:3px 9px; margin-left:auto; margin-right:8px;
}
.lvl--easy{ color:var(--ok); border-color:var(--accent-line); }
.lvl--medium{ color:var(--text-2); border-color:var(--line-2); }
.lvl--hard{ color:var(--warn); border-color:color-mix(in srgb, var(--warn) 45%, transparent); }
.lvl--very-hard{ color:var(--danger); border-color:color-mix(in srgb, var(--danger) 45%, transparent); }
.bd__ids .lvl{ margin-left:0; margin-right:0; }
.bty__title{ font-family:var(--f-pixel); font-size:22px; font-weight:600; color:#fff; margin-bottom:8px; }
.bty__desc{ font-size:12.5px; color:var(--muted); margin-bottom:16px; }
.bty__desc b{ color:var(--tier); font-weight:400; }
.bty__meta{ display:grid; grid-template-columns:repeat(3, auto); gap:10px 18px; margin-top:auto; padding-top:14px; border-top:1px solid var(--line); }
.bty__meta dt{ font-size:9px; letter-spacing:.14em; color:var(--dim); margin-bottom:4px; }
.bty__meta dd{ font-family:var(--f-head); font-size:17px; color:#fff; font-variant-numeric:tabular-nums; }
.bty__tier{ color:var(--tier) !important; }
.bty__reward{ color:var(--accent) !important; }
.bty__foot{ display:flex; justify-content:space-between; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); font-size:10px; letter-spacing:.12em; color:var(--dim); }
.bty__time{ color:var(--text-2); font-variant-numeric:tabular-nums; }
.bty__time.is-forever{ color:var(--dim); }
.bty__time.is-over{ color:var(--danger); }
.bty__cta{ margin-top:14px; }

/* ── steps + rules ──────────────────────────────────────── */
.steps{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:var(--gap); margin-bottom:var(--gap); }
.step{ background:var(--panel); border:1px solid var(--line); border-radius:var(--r); padding:20px; }
.step__n{ display:block; font-family:var(--f-pixel); font-size:22px; color:var(--accent); margin-bottom:12px; }
.step h3{ font-family:var(--f-head); font-size:21px; color:#fff; margin-bottom:8px; }
.step p{ font-size:13px; color:var(--muted); }

.rules{ display:grid; gap:9px; border:1px solid var(--line); border-radius:var(--r); background:var(--panel); padding:18px 20px; }
.rules li{ position:relative; padding-left:16px; font-size:12.5px; color:var(--muted); }
.rules li::before{ content:""; position:absolute; left:0; top:.62em; width:5px; height:5px; border-radius:50%; background:var(--accent); }
.rules em{ font-style:normal; color:var(--text); }

/* ── form ───────────────────────────────────────────────── */
.form{ display:grid; gap:18px; background:var(--panel); border:1px solid var(--line); border-radius:var(--r); padding:clamp(18px, 3vw, 28px); }
.form.is-done > .field, .form.is-done > .form__foot{ display:none; }

.field{ display:grid; gap:7px; }
.field > label{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.req{ color:var(--accent); }
.field input[type="text"], .field input[type="url"], .field select{
  width:100%; font-family:var(--f-mono); font-size:13.5px; color:var(--text);
  background:var(--bg); border:1px solid var(--line-2); border-radius:var(--r-sm);
  padding:11px 13px; transition:border-color .15s ease;
}
.field input::placeholder{ color:#42504a; }
.field input:focus, .field select:focus{ outline:none; border-color:var(--accent); }
.field select{
  appearance:none; cursor:pointer; padding-right:36px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237f8d85' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center;
}
.field select option{ background:#121814; }
.field__hint{ font-size:11px; color:var(--dim); }
.field__hint strong{ color:var(--muted); font-weight:400; }
.field__err{ display:none; font-size:11px; color:var(--danger); }
.field.is-bad input, .field.is-bad select, .field.is-bad .drop{ border-color:var(--danger); }
.field.is-bad .field__err{ display:block; }

.check{ display:flex; gap:10px; align-items:flex-start; cursor:pointer; font-size:12.5px; color:var(--muted); }
.check input{ appearance:none; flex:none; width:16px; height:16px; margin-top:2px; border:1px solid var(--line-2); border-radius:3px; background:var(--bg); }
.check input:checked{ background:var(--accent); border-color:var(--accent); }
.check input:checked::after{ content:""; display:block; width:4px; height:8px; margin:1px auto 0; border:solid var(--accent-ink); border-width:0 1.8px 1.8px 0; transform:rotate(42deg); }

.form__foot{ display:grid; gap:10px; justify-items:start; padding-top:16px; border-top:1px solid var(--line); }
.form__note{ font-size:11px; color:var(--dim); }
.form__done{ display:grid; gap:10px; justify-items:start; }
.form__done h3{ font-family:var(--f-pixel); font-size:24px; color:var(--accent); }
.form__done p{ font-size:13px; color:var(--muted); }

/* ── claim composer ─────────────────────────────────────── */
/* Three boxes that only write a post. Nothing leaves the page. */
.compose{
  margin-top:var(--gap);
  background:var(--panel); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(18px, 3vw, 26px); display:grid; gap:18px;
}
.compose__fields{ display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:14px; }
.compose__fields .field > label{ text-transform:none; letter-spacing:.02em; font-size:11.5px; color:var(--muted); }

.compose__preview{ display:grid; gap:8px; }
.compose__label{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.compose__preview pre{
  margin:0; padding:15px 16px; white-space:pre-wrap; word-break:break-word;
  background:var(--bg); border:1px solid var(--line-2); border-radius:var(--r-sm);
  font-family:var(--f-mono); font-size:13px; line-height:1.7; color:var(--text-2);
}
.compose__actions{ display:flex; flex-wrap:wrap; gap:10px; }
.compose__note{ font-size:11px; color:var(--dim); }

.sub__rblx{
  font-size:10px; letter-spacing:.08em; color:var(--muted);
  border:1px solid var(--line-2); border-radius:var(--pill); padding:2px 8px;
}
.sub__post{
  justify-self:start; font-size:11.5px; color:var(--accent);
  text-decoration:underline; text-underline-offset:3px;
}
.sub__post:hover{ color:var(--accent-2); }

/* ── submission feed ────────────────────────────────────── */
.feed{ display:grid; gap:8px; }
.feed__more{ justify-self:start; margin-top:4px; }
.sub{ display:grid; gap:8px; background:var(--panel); border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; }
.sub__avatar{ display:none; }
.sub__main{ display:grid; gap:8px; min-width:0; }
.sub__top{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.sub__user{ font-family:var(--f-head); font-size:17px; color:#fff; }
.sub__time{ font-size:10px; letter-spacing:.1em; color:var(--dim); }
.sub__status{ margin-left:auto; font-size:9px; letter-spacing:.14em; text-transform:uppercase; border:1px solid var(--line-2); border-radius:var(--pill); padding:3px 9px; color:var(--dim); }
[data-status="pending"]  .sub__status{ color:var(--warn); border-color:var(--warn); background:var(--warn-dim); }
[data-status="verified"] .sub__status{ color:var(--ok); border-color:var(--accent-line); background:var(--ok-dim); }
[data-status="rejected"] .sub__status{ color:var(--danger); border-color:var(--danger); background:var(--danger-dim); }
.sub__bounty{ justify-self:start; font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line-2); border-radius:var(--pill); padding:4px 10px; }
.sub__bounty:hover{ color:var(--accent); border-color:var(--accent-line); }
.sub__msg{ font-size:12.5px; color:var(--muted); }
.sub__shot img{ max-height:160px; width:auto; border:1px solid var(--line); border-radius:4px; }
.sub__noshot{ justify-self:start; font-size:9.5px; letter-spacing:.12em; color:var(--dim); border:1px dashed var(--line-2); border-radius:4px; padding:7px 12px; }

/* ── faq ────────────────────────────────────────────────── */
.faq{ border:1px solid var(--line); border-radius:var(--r); background:var(--panel); overflow:hidden; }
.qa{ border-bottom:1px solid var(--line); }
.qa:last-child{ border-bottom:0; }
.qa summary{ list-style:none; cursor:pointer; padding:16px 18px; display:flex; justify-content:space-between; gap:14px; font-size:14px; color:var(--text-2); }
.qa summary::-webkit-details-marker{ display:none; }
.qa summary:hover{ color:#fff; background:var(--panel-2); }
.qa__i{ position:relative; width:10px; height:10px; flex:none; margin-top:6px; }
.qa__i::before,.qa__i::after{ content:""; position:absolute; inset:50% 0 auto; height:1px; background:var(--muted); transition:transform .2s ease; }
.qa__i::after{ transform:rotate(90deg); }
.qa[open] .qa__i::after{ transform:rotate(0); }
.qa__b{ padding:0 18px 16px; }
.qa__b p{ font-size:13px; color:var(--muted); max-width:62ch; }

/* ── footer ─────────────────────────────────────────────── */
.foot{ border-top:1px solid var(--line); padding:44px 0 32px; }
.foot__row{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px 24px; margin-bottom:24px; }
.foot__nav{ display:flex; flex-wrap:wrap; gap:18px; }
.foot__nav a{ font-size:12.5px; color:var(--muted); }
.foot__nav a:hover{ color:#fff; }
.foot__legal{ font-size:11px; line-height:1.8; color:var(--dim); max-width:88ch; margin-bottom:18px; }
.foot__copy{ font-size:11px; color:var(--dim); }

/* ── bounty detail sheet ────────────────────────────────── */
.sheet{ position:fixed; inset:0; z-index:80; display:flex; justify-content:flex-end; }
.sheet__scrim{ position:absolute; inset:0; background:rgba(3,5,4,.75); }
.sheet__panel{ position:relative; width:min(820px, 100%); height:100%; background:var(--bg); border-left:1px solid var(--line); overflow-y:auto; overscroll-behavior:contain; animation:slidein .22s ease; }
.sheet__panel:focus{ outline:none; }
@keyframes slidein{ from{ transform:translateX(24px); opacity:0; } to{ transform:none; opacity:1; } }
.sheet__bar{ position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; height:56px; padding:0 clamp(18px, 3vw, 32px); background:rgba(6,9,7,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.sheet__crumb{ font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); }
.sheet__close{ font-size:10px; letter-spacing:.12em; color:var(--muted); border:1px solid var(--line-2); border-radius:var(--pill); padding:6px 12px; }
.sheet__close:hover{ color:#fff; border-color:#34423a; }
.sheet__body{ padding:clamp(22px, 4vw, 36px) clamp(18px, 3vw, 32px) 64px; }

.bd__head{ padding-bottom:22px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.bd__ids{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.bd__id{ font-size:10px; letter-spacing:.16em; color:var(--dim); }
.bd__title{ font-family:var(--f-pixel); font-size:clamp(26px, 4.4vw, 40px); font-weight:600; color:var(--tier); margin-bottom:12px; line-height:1.1; }
.bd__desc{ font-size:14px; color:var(--muted); max-width:64ch; }
.bd__grid{ display:grid; grid-template-columns:minmax(0, 1fr) 270px; gap:22px; align-items:start; }
.bd__main{ order:1; display:grid; gap:22px; min-width:0; }
.bd__side{ order:2; display:grid; gap:10px; position:sticky; top:76px; }
.bd__pool{ border:1px solid var(--accent-line); border-radius:var(--r); background:var(--accent-dim); padding:18px; }
.bd__k{ font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.bd__reward{ font-family:var(--f-pixel); font-size:28px; font-weight:600; color:var(--accent); line-height:1; margin-bottom:8px; }
.bd__sub{ font-size:11px; color:var(--muted); }
.bd__facts{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.bd__facts > div{ display:flex; justify-content:space-between; align-items:center; gap:12px; background:var(--panel); padding:12px 14px; }
.bd__facts dt{ font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); }
.bd__facts dd{ font-family:var(--f-head); font-size:16px; color:#fff; font-variant-numeric:tabular-nums; }
.bd__tier{ color:var(--tier) !important; }
.bd__time.is-forever{ color:var(--dim) !important; font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; }
.bd__time.is-over{ color:var(--danger) !important; }
.bd__submit{ width:100%; }
.bd__closed{ border:1px solid var(--line); border-radius:var(--r-sm); padding:12px 14px; font-size:11.5px; color:var(--dim); background:var(--panel); }
.bd__block{ display:grid; gap:12px; }
.bd__h{ display:flex; align-items:center; gap:10px; font-family:var(--f-head); font-size:19px; color:#fff; }
.bd__count{ font-family:var(--f-mono); font-size:10px; color:var(--accent); border:1px solid var(--accent-line); border-radius:var(--pill); padding:2px 8px; }
.bd__deliv{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.bd__deliv li{ display:flex; gap:12px; background:var(--panel); padding:13px 14px; font-size:13px; color:var(--muted); }
.bd__deliv li span{ flex:none; width:18px; height:18px; display:grid; place-items:center; font-size:9.5px; color:var(--tier); border:1px solid var(--tier); border-radius:3px; }
.bd__subs{ display:grid; gap:8px; }

/* ── toast ──────────────────────────────────────────────── */
.toast{
  position:fixed; left:50%; bottom:24px; z-index:99; transform:translate(-50%, 12px); opacity:0; pointer-events:none;
  background:var(--panel-2); border:1px solid var(--accent-line); color:var(--text);
  border-radius:var(--pill); padding:10px 18px; font-size:12px; max-width:calc(100vw - 40px); text-align:center;
  transition:opacity .2s ease, transform .2s ease;
}
.toast.is-on{ opacity:1; transform:translate(-50%, 0); }

/* ── reveal ─────────────────────────────────────────────── */
.js .reveal{ opacity:0; transition:opacity .5s ease; }
.js .reveal.is-in{ opacity:1; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width:900px){
  .duo{ grid-template-columns:1fr; }
  .hero__in{ grid-template-columns:1fr; text-align:center; }
  .hero__title{ margin-inline:auto; }
  .hero__sub{ margin-inline:auto; }
  .hero__cta, .stats{ justify-content:center; }
  .hero__art{ margin-top:12px; }
  .nav__links{ display:none; }
  .nav__actions{ margin-left:auto; }
  .nav__burger{ display:block; }
  .nav.is-open .nav__mobile{ display:flex; }
  .bd__grid{ grid-template-columns:1fr; }
  .bd__side{ order:0; position:static; }
  .bd__main{ order:1; }
}
@media (max-width:600px){
  .hero__cta .btn{ width:100%; }
  .stats{ gap:6px 18px; }
  .pull{ padding:11px 14px 11px 17px; gap:6px 8px; }
  .pull__verb{ display:none; }
  .pull__who, .pull__item, .pull__worth{ font-size:15px; }
  .pull__at{ margin-left:0; width:100%; }
  .bty__meta{ grid-template-columns:repeat(2, auto); }
  .bty__cta{ width:100%; }
  .sub__status{ margin-left:0; }
  .form__foot .btn{ width:100%; }
  .foot__row{ flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1; }
}
