/* Deliverup community: landing page, discussions, polls, member pages. Loaded after store.css. */

.flash { margin: 0; padding: 12px var(--gutter); background: var(--accent-wash); border-bottom: 1px solid #F6C9A3; text-align: center; font-weight: 600; color: var(--ink); }
.flash--inline { border: 1px solid #F6C9A3; border-radius: var(--r-s); margin-bottom: 16px; text-align: left; }
.lead { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-2); }
.stack2 { display: grid; gap: 14px; }
.stack2 > .btn { justify-self: start; }
.card2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; margin: 0 0 20px; }
.card2--accent { background: var(--accent-wash); border-color: #F6C9A3; }
.card2 > :last-child { margin-bottom: 0; }
.side-h { font-size: 1.0625rem; margin: 0 0 12px; }
* + .side-h { margin-top: 28px; }
.inline { display: inline; }
.mpage { max-width: 720px; }
.mpage h1 { margin-bottom: 10px; }
.mpage h2 { font-size: 1.25rem; margin: 32px 0 6px; }
.mrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 8px; }
.empty--left { text-align: left; padding: 20px 0; }

/* Landing hero */
.hero--community .hero__in { align-items: start; }
.hero--community h1 { max-width: 12ch; }
.hero__ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.hero__ticks li { display: flex; align-items: center; gap: 10px; }
.hero__ticks .ico { color: var(--accent); }
.hero__stats { font-size: 0.9375rem; color: #C9CFCF; }
.hero__stats b { color: #fff; }
.joincard { position: relative; background: var(--surface); color: var(--ink); border-radius: 18px; padding: clamp(18px, 4vw, 28px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); --focus: var(--ink); }
.joincard h2 { font-size: 1.375rem; margin: 0 0 6px; }
.hero .joincard p { color: var(--ink-2); font-size: 0.9375rem; margin: 0 0 14px; }
.joincard__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .joincard .joincard__in { margin: 14px 0 0; text-align: center; }
.joinform { display: grid; gap: 12px; }
.joinform__row { display: grid; gap: 12px; }
@media (min-width: 520px) { .joinform--compact .joinform__row { grid-template-columns: 1fr 1fr; } }
.joinform .check { padding-top: 0; font-size: 0.875rem; }
.joinform__small, .hero .joincard .joinform__small { font-size: 0.8125rem; color: var(--ink-3); margin: 0; line-height: 1.45; }

/* How it works */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; }
.steps4 li > span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--accent); font-weight: 700; }
.steps4 h3 { margin: 12px 0 4px; font-size: 1.125rem; }
.steps4 p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }

/* Polls */
.polls { display: grid; gap: 16px; }
@media (min-width: 860px) { .polls:not(.polls--side) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.poll { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; scroll-margin-top: 90px; }
.poll h3 { font-size: 1.0625rem; margin: 0 0 6px; line-height: 1.35; }
.poll__intro { color: var(--ink-2); font-size: 0.9375rem; margin: 0 0 10px; }
.poll fieldset { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.poll__opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; font-weight: 500; }
.poll__opt:hover { border-color: var(--ink); }
.poll__opt:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.poll__opt input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.poll__other { display: grid; gap: 6px; font-size: 0.875rem; color: var(--ink-2); margin-top: 4px; }
.poll__results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.poll__results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 0.9375rem; }
.poll__results small { color: var(--ink-3); }
.poll__pc { font-weight: 700; font-variant-numeric: tabular-nums; }
.poll__bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--paper); overflow: hidden; }
.poll__bar i { display: block; height: 100%; min-width: 2px; border-radius: 5px; background: var(--line-2); }
.poll__results li.is-top .poll__bar i { background: var(--series-1); }
.poll__meta { margin: 12px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.poll__preview { margin: 0 0 14px; padding-left: 1.2em; color: var(--ink-2); }

/* Discussions */
.cgrid { display: grid; gap: 32px; }
@media (min-width: 960px) { .cgrid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } .cgrid--even { grid-template-columns: 1fr 1fr; } }
.cgrid--hub { padding-bottom: var(--section); }
.narrow2 { max-width: 1100px; }
.tlist { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.trow { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.trow.is-pinned { background: linear-gradient(to right, var(--accent-wash), transparent 70%); }
.trow__votes { flex: none; width: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border-radius: var(--r-s); background: var(--paper); text-align: center; }
.trow__votes b { font-size: 1.125rem; line-height: 1.1; }
.trow__votes span { font-size: 0.6875rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.trow__main { min-width: 0; flex: 1; }
.trow__title { display: block; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
.trow__title:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.trow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.stage { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.stage--considering { background: #DCEAF8; color: #1D4F86; }
.stage--sourcing { background: #FFF0C2; color: #6B5300; }
.stage--in_shop { background: var(--green-wash); color: #0E5A3A; }
.stage--not_possible { background: #ECEEEE; color: var(--ink-2); }
.wanted { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; }
.wanted a { font-weight: 600; color: var(--ink); }
.wanted span { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.8125rem; color: var(--ink-3); margin-top: 2px; }
.chips--store { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 6px; padding: 0; }
.chips--store a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 20px; color: var(--ink); text-decoration: none; font-size: 0.875rem; font-weight: 600; background: var(--surface); }
.chips--store a:hover { border-color: var(--ink); }
.chips--store a[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.stagekey { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stagekey a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; }
.ctop__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.ctop__row p { margin: 0; }
.bar input[type="search"] { flex: 1 1 220px; }
.bar select { width: auto; }
.pager2 { display: flex; gap: 10px; }
.delivered { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .delivered { grid-template-columns: repeat(2, 1fr); } }
.delivered li { background: var(--surface); border-radius: var(--r-m); padding: 18px; border-left: 4px solid var(--green); }
.delivered__ask { font-weight: 700; margin: 0 0 10px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; min-height: 48px; font-weight: 600; cursor: pointer; }
.faq p { margin: 0 0 14px; color: var(--ink-2); }

/* One discussion */
.thread { max-width: 860px; padding-top: 14px; padding-bottom: var(--section); }
.thread__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 8px; }
.thread__head h1 { font: 700 clamp(1.4rem, 4.6vw, 2rem)/1.2 var(--font); margin: 0 0 6px; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.thread__vote { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 92px; padding: 12px 6px; border-radius: var(--r-m); background: var(--paper); text-align: center; }
.thread__vote b { font-size: 1.5rem; line-height: 1; }
.thread__vote > span { font-size: 0.75rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; }
.thread__vote .linkbtn { margin-top: 6px; font-size: 0.8125rem; text-align: center; line-height: 1.25; }
@media (max-width: 559px) {
  .thread__head { grid-template-columns: 1fr; }
  .thread__vote { order: 2; flex-direction: row; width: auto; justify-content: flex-start; gap: 10px; padding: 8px 12px; }
  .thread__vote .linkbtn { margin: 0 0 0 auto; }
}
.post__by { margin: 0 0 8px; font-size: 0.875rem; color: var(--ink-2); }
.post__by span, .post__by time { color: var(--ink-3); }
.post__body { line-height: 1.65; overflow-wrap: anywhere; }
.post__body p { margin: 0 0 10px; }
.post__body a { color: var(--accent-deep); }
.post__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 4px 0 0; font-size: 0.8125rem; }
.linkbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; font: 600 0.8125rem var(--font); color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.linkbtn:hover { color: var(--ink); }
.linkbtn.is-on { color: var(--green); text-decoration: none; }
.thread__vote .linkbtn { background: var(--accent); color: var(--ink); text-decoration: none; border-radius: 8px; padding: 6px 10px; min-height: 40px; }
.thread__vote .linkbtn.is-on { background: var(--green-wash); color: #0E5A3A; }
.status-card { margin: 22px 0; padding: 16px 18px; border-radius: var(--r-m); background: var(--accent-wash); border-left: 4px solid var(--accent); }
.status-card--in_shop { background: var(--green-wash); border-left-color: var(--green); }
.status-card__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.thread__count { font-size: 1.125rem; margin: 30px 0 4px; }
.posts { list-style: none; margin: 0; padding: 0; }
.post { padding: 16px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.post--staff { padding: 16px; margin: 12px 0; border: 1px solid #F6C9A3; border-radius: var(--r-m); background: var(--accent-wash); }
.reply { margin-top: 26px; scroll-margin-top: 90px; }
.reply h2 { font-size: 1.125rem; }

/* Header while the shop is closed: a join / account button instead of search and basket */
.sh__join { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.sh__join:hover { background: var(--accent-strong); color: var(--ink); }
.sh__join.is-member { background: var(--paper); }
.sh__join span { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .sh__join { padding: 0 12px; font-size: 0.875rem; } .sh__join.is-member span { display: none; } }

/* ================= The drivers' forum ================= */
body.store:has(.forum), body.store:has(.topicpage) { background: #F3F4F2; }
main#main:has(.forum), main#main:has(.topicpage) { background: #F3F4F2; }
.forum, .topicpage { --card: #fff; --soft: #F7F7F5; }
.forum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; padding-bottom: var(--section); align-items: start; }
.forum__main, .forum__side, .forum__boards { min-width: 0; }
.forum__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .forum { grid-template-columns: minmax(0, 1fr) 290px; } .forum__boards { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .forum { grid-template-columns: 210px minmax(0, 700px) 290px; justify-content: center; } .forum__boards { grid-column: auto; position: sticky; top: 90px; } .forum__side { position: sticky; top: 90px; } }

/* Boards: chips on phones, a quiet list on wide screens */
.boards { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.boards::-webkit-scrollbar { display: none; }
.boards a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.boards a small { color: var(--ink-3); font-weight: 600; font-size: 0.75rem; }
.boards a[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.boards a[aria-current="page"] small { color: #C9CFCF; }
@media (min-width: 1180px) {
  .boards { flex-direction: column; gap: 2px; overflow: visible; }
  .boards a { border-radius: 10px; border-color: transparent; background: transparent; }
  .boards a small { margin-left: auto; }
  .boards a:hover { background: #fff; }
}

.forum__head h1 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin: 0; }
.forum__head p { margin: 4px 0 0; color: var(--ink-2); }

/* Today's question */
.qotd { position: relative; display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, #242829, #2E3640); color: #fff; overflow: hidden; text-decoration: none; }
.qotd::after { content: ""; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); opacity: 0.16; }
.qotd span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.qotd b { font-size: 1.0625rem; line-height: 1.35; }
.qotd em { font-style: normal; font-size: 0.875rem; color: #C9CFCF; }
.qotd:hover em { color: #fff; }

/* Start a topic */
.compose { background: var(--card); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 90px; }
.compose__sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.compose__sum::-webkit-details-marker { display: none; }
.compose__fake { flex: 1; min-height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-3); }
.compose[open] .compose__sum { border-bottom: 1px solid var(--line); }
.compose[open] .compose__sum .btn { display: none; }
.compose__form { display: grid; gap: 12px; padding: 14px; }
.compose--guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.compose--guest p { margin: 0; flex: 1 1 260px; }
.bpick { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bpick legend { font-weight: 700; font-size: 0.875rem; margin-bottom: 6px; padding: 0; }
.bpick__opt { position: relative; }
.bpick__opt input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.bpick__opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; cursor: pointer; background: #fff; }
.bpick__opt input:checked + span { background: var(--accent-wash); border-color: var(--accent); }
.bpick__opt input:focus-visible + span { outline: 3px solid var(--accent); }
.compose__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.compose__bar .btn--primary { margin-left: auto; }
.compose__photo { cursor: pointer; }
.compose__safe { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 0.8125rem; color: var(--ink-2); }
.compose__preview { position: relative; width: max-content; max-width: 100%; }
.compose__preview img { display: block; max-height: 200px; max-width: 100%; border-radius: 10px; }
.compose__x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1.25rem; cursor: pointer; }
.check--small { min-height: 36px; padding-top: 6px; font-size: 0.875rem; }
.privhint { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FFF6E5; border: 1px solid #F3D9A4; font-size: 0.8125rem; }

/* Sort tabs + search */
.sorts { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); }
.sorts nav { display: flex; overflow-x: auto; scrollbar-width: none; }
.sorts nav::-webkit-scrollbar { display: none; }
.sorts nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sorts nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.sorts__search { margin-left: auto; flex: 0 1 190px; min-width: 0; }
.sorts__search input { min-height: 36px; border-radius: 18px; padding: 4px 14px; font-size: 0.875rem; }
@media (max-width: 559px) { .sorts { flex-wrap: wrap; } .sorts__search { flex: 1 1 100%; order: -1; margin: 0 0 8px; } }

/* Topic list */
.topics { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.topic { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); align-items: start; }
.topic:first-child { border-top: 0; }
.topic.is-pinned { background: #FFFBF5; }
.topic--team .topic__by { color: var(--ink); }
.topic--poll { display: block; background: var(--soft); }
.topic--poll .poll { border: 0; padding: 0; background: transparent; margin-top: 6px; }
.topic--poll .poll__opt { min-height: 40px; }
.topic__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 0.8125rem; color: var(--ink-3); }
.topic__by { font-weight: 600; color: var(--ink-2); }
.topic__title { display: block; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.topic__title:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.15em; }
.topic__title:visited { color: #4A4F55; }
.topic__excerpt { margin: 4px 0 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.topic__foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.topic__foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.topic__foot a:hover { color: var(--ink); text-decoration: underline; }
.topic__new { color: var(--ink-3); }
.topic__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.topics--compact .topic__excerpt { display: none; }
.topic.is-new, .reply.is-new { animation: fpop 0.35s ease; }
@keyframes fpop { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
.dot { color: var(--ink-3); }
.pin { font-weight: 600; color: var(--accent-deep); }
.bchip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.75rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
a.bchip:hover { border-color: var(--ink-3); color: var(--ink); }
.bchip--wish { background: #FFF6E0; border-color: #F2DFA8; }
.bchip--help { background: #EEF4FB; border-color: #CFE0F2; }
.pager { display: flex; justify-content: center; gap: 10px; }

/* Upvote */
.up { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; min-height: 52px; padding: 4px 6px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--soft); color: var(--ink-2); font: 700 0.875rem var(--font); cursor: pointer; text-decoration: none; line-height: 1.1; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.up__arrow { font-size: 0.875rem; }
.up:hover { border-color: var(--accent); color: var(--ink); }
.up.is-on { background: var(--accent-wash); border-color: var(--accent); color: var(--accent-deep); }
.up--mine { cursor: default; opacity: 0.75; }
.up--mine:hover { border-color: var(--line); color: var(--ink-2); }
.reply .up { flex-direction: row; gap: 6px; min-height: 34px; min-width: 0; padding: 0 10px; border-radius: 17px; }

/* Avatars and badges */
.ava { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.02em; overflow: hidden; }
.ava--team { background: var(--dark); padding: 6px; }
.ava--team img { width: 100%; height: 100%; object-fit: contain; }
.ava--anon { background: #8A9096; }
.fbadge { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-deep); font-size: 0.6875rem; font-weight: 700; white-space: nowrap; }
.fbadge--team { background: var(--dark); color: #fff; }
.fbadge--op { background: #E3EEF9; color: #1D4F86; }
.flair { font-size: 0.75rem; color: var(--ink-3); font-weight: 500; }

/* One topic */
.topicpage { max-width: 760px; padding-top: 12px; padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.post { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.post--team { border-color: #F0CBA6; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.post__title { font-size: clamp(1.375rem, 3.2vw, 1.75rem); line-height: 1.25; margin: 0 0 10px; }
.post__by { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post__by p { margin: 0; font-size: 0.875rem; line-height: 1.4; }
.post__body { font-size: 1rem; }
.post__body p { margin: 0 0 0.8em; }
.post__img img { display: block; max-width: 100%; max-height: 520px; border-radius: 12px; margin: 6px 0 4px; }
.post__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 10px 0 0; }
.post__actions .linkbtn, .reply__actions .linkbtn { text-decoration: none; }
.post__actions .linkbtn:hover, .reply__actions .linkbtn:hover { color: var(--ink); text-decoration: underline; }
.fstatus { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-wash); font-size: 0.875rem; }
.fstatus--in_shop { background: var(--green-wash); }
.fstatus a { font-weight: 700; color: var(--ink); }

/* Replies */
.replies { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.replies__h { font-size: 1.0625rem; margin: 6px 0 0; }
.replies__list, .reply__kids { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reply { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.reply--team { border-color: #F0CBA6; }
.reply__kids:empty { display: none; }
.reply__kids { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line-2); }
.reply__kids .reply { background: var(--soft); border-color: transparent; }
.reply__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.875rem; }
.reply__head a.muted { color: var(--ink-3); text-decoration: none; font-size: 0.8125rem; }
.reply__body { margin: 6px 0 0; font-size: 0.9688rem; }
.reply__body p { margin: 0 0 0.6em; }
.reply__body p:last-child { margin-bottom: 0; }
.reply__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; }
.rr { flex: 1 1 100%; order: 5; }
.rr > summary { list-style: none; display: inline-flex; }
.rr > summary::-webkit-details-marker { display: none; }
.rr[open] > summary { color: var(--ink); }
.reply__actions .rr { flex: 0 1 auto; order: 0; }
.reply__actions .rr[open] { flex: 1 1 100%; order: 5; }
.rform { display: grid; gap: 8px; margin-top: 8px; }
.rform textarea { min-height: 72px; resize: vertical; }
.rform__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.replybox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.replybox .rform { margin: 0; }
.replybox--guest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.topicpage__more h2 { font-size: 1.0625rem; margin: 10px 0; }
.fempty { text-align: center; padding: 40px 16px; background: var(--card); border-radius: 14px; border: 1px dashed var(--line-2); }
.fempty__big { font-size: 2.5rem; margin: 0; }

/* Members-only gate and board cards */
.gate { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; }
.gate__lock { font-size: 2.25rem; margin: 0; }
.gate h1 { font-size: 1.5rem; margin: 6px 0; }
.gate .joinform { text-align: left; max-width: 520px; margin: 14px auto 0; }
.boardcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .boardcards { grid-template-columns: 1fr 1fr; } }
.boardcards li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.boardcards__ico { font-size: 1.5rem; grid-row: span 2; }
.boardcards b { font-size: 1rem; }
.boardcards p { margin: 2px 0 0; color: var(--ink-2); font-size: 0.875rem; line-height: 1.45; }
.boardcards__n { grid-column: 2; font-size: 0.75rem; color: var(--ink-3); font-weight: 600; }

/* Right column */
.sidecard { background: var(--card); border-radius: 14px; border: 1px solid var(--line); padding: 16px; margin-bottom: 14px; }
.sidecard h2 { font-size: 1rem; margin: 0 0 10px; }
.sidecard .poll { border: 0; padding: 0; }
.sidecard--brand { background: var(--dark); color: #fff; border-color: var(--dark); }
.sidecard--brand p { color: #C9CFCF; }
.sidecard--safe { background: #F5F8F4; border-color: #D9E6D5; }
.rules { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.45; }
.rules b { color: var(--ink); }
.wanted2 { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: 0.9375rem; }
.wanted2 a { font-weight: 600; color: var(--ink); }
.wanted2 span { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-3); margin-top: 2px; }

/* Landing */
.landgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.landgrid > * { min-width: 0; }
@media (min-width: 960px) { .landgrid { grid-template-columns: minmax(0, 1fr) 340px; } }
.vibes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.vibes li { padding: 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 0.875rem; }
.sec--tight { padding-top: 28px; padding-bottom: 28px; }
.safe4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .safe4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .safe4 { grid-template-columns: repeat(4, 1fr); } }
.safe4 li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: var(--soft, #F7F7F5); border: 1px solid var(--line); }
.safe4 span { font-size: 1.5rem; grid-row: span 2; line-height: 1.2; }
@media (min-width: 1024px) { .safe4 li { display: block; } .safe4 span { display: block; margin-bottom: 6px; } }
.safe4 b { display: block; font-size: 1rem; }
.safe4 p { margin: 2px 0 0; font-size: 0.875rem; color: var(--ink-2); line-height: 1.5; }
.mt { margin-top: 14px; }
.hint { margin: -6px 0 4px; font-size: 0.8125rem; color: var(--ink-3); }
