/* ==================== COMMUNITY ==================== builds on lookup.css + mine.css */
.screen.screen-community { padding: 0; }
.cm.lk { display: block; width: 100%; min-width: 0; min-height: 100%; height: auto; overflow-x: hidden; }
.cm-page { padding: 16px 16px 110px; max-width: 760px; margin: 0 auto; }
.cm-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.cm-select { flex: 1; min-width: 150px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-primary); font: inherit; font-size: 14.5px; }
.cm-seg.lk-seg { margin: 0; flex: none; width: 150px; }
.cm-seg.lk-seg button { min-height: 32px; font-size: 13.5px; }
.cm-post { padding: 14px 16px; cursor: pointer; }
.cm-post.is-open { cursor: default; }
.cm-post + .cm-post { margin-top: 10px; }
.cm-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 13.5px; }
.cm-machine { padding: 2px 8px; border-radius: 6px; background: var(--lk-accent-soft); color: var(--accent); font-size: 12px; font-weight: 650; }
body.dark .cm-machine { color: var(--accent-light); }
.cm-vehicle { margin-top: 6px; font-size: 14px; font-weight: 700; }
.cm-body { margin-top: 6px; font-size: 15px; line-height: 1.5; white-space: pre-line; word-break: break-word; }
.cm-post:not(.is-open) .cm-body { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cm-held { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(245, 158, 11, 0.12); color: #b45309; font-size: 12.5px; font-weight: 650; }
body.dark .cm-held { color: #fbbf24; }
.cm-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cm-votes { display: flex; gap: 6px; }
.cm-vote { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; min-width: 0; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-secondary); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.cm-vote:disabled { opacity: 0.5; cursor: default; }
.cm-vote.is-up { background: var(--lk-ok-soft); border-color: transparent; color: var(--success); }
.cm-vote.is-down { background: rgba(220, 38, 38, 0.1); border-color: transparent; color: #dc2626; }
.cm-comments { font-size: 13.5px; color: var(--text-secondary); }
.cm-comment { padding: 12px 14px; }
.cm-comment + .cm-comment { margin-top: 8px; }
.cm-reply { margin-top: 12px; display: grid; gap: 10px; }
.cm-reply textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); font: inherit; font-size: 15px; }
@media (min-width: 640px) { .cm-page { padding-left: 24px; padding-right: 24px; } .cm-page .lk-topbar { margin-left: -24px; margin-right: -24px; } }
