/* Waku — the feedback board */
.bd{width:100%;max-width:820px;margin:0 auto;padding:40px 24px 80px}
.bd section{padding:0}
.bd-hero{margin-bottom:8px}
.bd-hero h1{font-size:clamp(34px,6vw,52px);line-height:1.05;letter-spacing:-.02em;margin:14px 0 12px}
.bd-hero .lede{color:var(--soft);font-size:17px;line-height:1.55;max-width:60ch;margin:0 0 22px}
.bd-compose{background:var(--raised);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:8px 0 26px;animation:bdIn .35s var(--ease) both}
.bd-kinds,.bd-seg{display:inline-flex;gap:4px;background:var(--sunken);border:1px solid var(--line);border-radius:12px;padding:4px}
.bd-kinds{margin-bottom:14px}
.bd-kinds button,.bd-seg button{font:inherit;font-size:14px;font-weight:600;color:var(--soft);background:none;border:0;border-radius:9px;padding:8px 14px;cursor:pointer}
.bd-kinds button[aria-pressed="true"],.bd-seg button[aria-pressed="true"]{background:var(--jade-soft);color:var(--ink);box-shadow:inset 0 0 0 1px rgba(95,191,156,.45)}
.bd-field{display:block;margin:0 0 12px}
.bd-field span{display:block;font-size:13px;font-weight:700;color:var(--soft);margin-bottom:6px}
.bd-field i{font-style:normal;font-weight:500;color:var(--faint)}
.bd input,.bd textarea,.bd select{width:100%;box-sizing:border-box;font:inherit;font-size:15px;color:var(--ink);background:var(--sunken);border:1px solid var(--strong);border-radius:10px;padding:10px 12px}
.bd textarea{resize:vertical;min-height:72px;line-height:1.5}
.bd input:focus,.bd textarea:focus,.bd select:focus{outline:none;border-color:var(--jade);box-shadow:0 0 0 3px rgba(95,191,156,.18)}
.bd-hint{font-size:13.5px;color:var(--soft);margin:-4px 0 12px;line-height:1.5}
.bd-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bd-send{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.bd-send input{flex:1;min-width:160px}
.bd-note{font-size:13px;color:var(--faint)}
.bd-msg{font-size:14px;color:var(--jade);margin:10px 0 0;min-height:1em}
.bd-bar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:22px 0 14px}
.bd-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bd-post{display:flex;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;animation:bdIn .4s var(--ease) both;animation-delay:calc(var(--i,0) * 35ms);transition:border-color .2s}
.bd-post:hover,.bd-post.open{border-color:var(--strong)}
.bd-vote{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:52px;height:58px;border-radius:12px;border:1px solid var(--strong);background:var(--sunken);color:var(--soft);font:inherit;cursor:pointer;transition:transform .2s var(--spring),border-color .2s,color .2s}
.bd-vote b{font-size:16px;color:var(--ink)}
.bd-vote .bd-arrow{font-size:12px}
.bd-vote:hover{border-color:var(--jade);color:var(--jade)}
.bd-vote.on{background:var(--jade-soft);border-color:var(--jade);color:var(--jade)}
.bd-vote.pop{animation:bdPop .35s var(--spring)}
.bd-main{flex:1;min-width:0}
.bd-tags{display:flex;gap:6px;margin-bottom:6px}
.bd-kind,.bd-status{font-size:11.5px;font-weight:700;letter-spacing:.03em;border-radius:99px;padding:3px 9px}
.bd-kind.idea{background:rgba(95,191,156,.14);color:var(--jade)}
.bd-kind.issue{background:rgba(240,96,63,.14);color:var(--persimmon-soft)}
.bd-status{background:var(--raised);color:var(--soft);border:1px solid var(--strong)}
.bd-status.s-done,.bd-status.s-fixed{color:var(--jade);border-color:rgba(95,191,156,.5)}
.bd-status.s-working,.bd-status.s-planned{color:#E8C468;border-color:rgba(232,196,104,.45)}
.bd-title{display:block;text-align:left;font:inherit;font-size:17px;font-weight:700;color:var(--ink);background:none;border:0;padding:0;cursor:pointer;line-height:1.35}
.bd-title:hover{color:var(--jade)}
.bd-body{margin:6px 0 8px;color:var(--soft);font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.bd-post.open .bd-body,.bd-body.full{-webkit-line-clamp:unset;display:block;color:var(--ink)}
.bd-meta{font-size:13px;color:var(--faint)}
.bd-thread{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);display:grid;gap:10px;animation:bdIn .3s var(--ease) both}
.bd-reply{background:var(--raised);border-radius:12px;padding:10px 12px}
.bd-reply p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.bd-reply.official{box-shadow:inset 3px 0 0 var(--jade)}
.bd-reply.official .bd-meta{color:var(--jade);font-weight:700}
.bd-replybox textarea{margin-bottom:8px}
.bd-empty{color:var(--faint);text-align:center;padding:30px 10px;list-style:none}
.ad-h{font-size:18px;margin:30px 0 12px}
.ad-status{width:auto}
.ad-del{color:var(--persimmon-soft)!important;border-color:rgba(240,96,63,.4)!important}
.bd-post.ad textarea{margin:8px 0 2px}
@keyframes bdIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes bdPop{40%{transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.bd-post,.bd-compose,.bd-thread,.bd-vote.pop{animation:none}}
@media (max-width:560px){.bd{padding:28px 16px 64px}.bd-post{padding:13px;gap:11px}.bd-vote{width:46px;height:52px}.bd-bar{flex-direction:column}.bd-seg{align-self:flex-start}}
