/* tags.css — content tags on feed posts (1.99iq, feedtags.js): post chips, the feed's tag bar, the composer's tag box */
.ftag { display: inline-flex; align-items: center; max-width: 100%; padding: 2px 9px; border-radius: 999px; border: 1px solid #2d4a33; background: #14231a;
        color: #a5d6a7 !important; font: 12.5px/1.5 var(--ds-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
a.ftag:hover, a.ftag:focus-visible, .ftag.sug:hover, .ftag.sug:focus-visible { border-color: var(--ds-green); color: #fff !important; background: #1b3322; }
.ftag.on { border-color: var(--ds-green); color: #fff !important; background: #1f3a26; }
.fp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; min-width: 0; }
.ftag-w { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.ftag-x { border: 0; background: none; color: var(--ds-text-muted); cursor: pointer; font-size: 11px; line-height: 1; padding: 3px 4px; border-radius: 4px; }
.ftag-x:hover, .ftag-x:focus-visible { color: #ff8a80; background: #2a1a1a; }
.ftg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 12px; font: 13px/1.5 var(--ds-font); color: #aaa; }
.ftg-k { color: var(--ds-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ftg-list { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ftg-on { display: inline-flex; align-items: center; gap: 6px; }
.ftg-clear { font-size: 13px; }
.fc-tags { display: grid; gap: 6px; margin: 6px 0; }
.fc-tagsug { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-tagsug[hidden] { display: none; }
.ftag.sug { cursor: pointer; font-size: 12px; }
.fp-editf input[name=tags] { margin-top: 6px; }
/* 1.99kk: #hashtags and @mentions inside post / comment text (feedmentions.js) + the @ autocomplete (mention-complete.js) */
a.tag-ref { color: #a5d6a7; text-decoration: none; }
a.tag-ref:hover, a.tag-ref:focus-visible { text-decoration: underline; }
a.user-ref.mention { color: #9fc6ee; text-decoration: none; }
a.user-ref.mention:hover, a.user-ref.mention:focus-visible { text-decoration: underline; }
.mc-pop { position: absolute; z-index: 60; min-width: 200px; max-width: min(320px, calc(100vw - 32px)); margin: 0; padding: 4px; list-style: none;
          background: #151515; border: 1px solid var(--ds-line-strong); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.5); font: 14px/1.4 var(--ds-font); }
.mc-pop[hidden] { display: none; }
.mc-pop li { display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 7px; cursor: pointer; color: #ddd; min-width: 0; }
.mc-pop li .mc-d { color: var(--ds-text-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-pop li[aria-selected="true"], .mc-pop li:hover { background: #1f3a26; color: #fff; }
