/* Catalog style "demo45" — tags add-on: tags as an index line of serif words with yellow counts; the visitor's own tag gets the yellow tick of the pinned row. Mirrors /demo45/. */
.tagcloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 14px 0 8px; }
.tagcloud__title { margin: 0; color: var(--yellow); font: 500 11px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; }
.tagcloud__list { display: flex; flex-wrap: wrap; gap: 4px 18px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.tagcloud__link { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 6px 0 4px; border-bottom: 2px solid transparent; color: var(--muted); font: 400 21px/1.1 var(--serif); text-decoration: none; transition: color 0.15s, border-color 0.15s; }
.tagcloud__link:hover { color: var(--white); }
.tagcloud__link.is-active { color: var(--white); border-color: var(--yellow); }
.tagcloud__count { color: var(--yellow); font: 500 10.5px/1 var(--label); }
.tagcloud__empty { margin: 0; color: var(--muted); font-size: 14px; }
.listing__tag strong { color: var(--yellow); }
.listing__tag a { color: var(--white); text-underline-offset: 3px; }

.post__fits { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 14px; padding: 0; list-style: none; }
.post__fit a { color: var(--muted); font: 400 italic 18px/1.3 var(--serif); text-decoration: none; }
.post__fit a::before { content: "— "; color: var(--yellow); font-style: normal; }
.post__fit a:hover { color: var(--white); }

.fits { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--hair); }
.fits__title { margin: 0 0 6px; font: 400 48px/0.95 var(--serif); }
.fits__intro { max-width: 62ch; margin: 0 0 20px; color: var(--muted); }
.fits__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.fits__vote { margin: 0; }
.fits__tag { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 14px; border: 1px solid var(--hair); border-radius: 999px; background: none; color: var(--white); font: 400 20px/1.1 var(--serif); text-align: left; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.fits__tag::before { content: "+"; font: 500 14px/1 var(--label); color: var(--yellow); }
.fits__tag:hover { border-color: var(--white); }
.fits__tag.is-mine { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.fits__tag.is-mine::before { content: "✓"; color: var(--bg); }
.fits__tag:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.fits__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgb(244 242 238 / 0.08); font: 500 11px/1 var(--label); }
.fits__tag.is-mine .fits__count { background: rgb(18 17 20 / 0.15); }
.fits__empty { margin: 0 0 22px; color: var(--muted); }
.fits-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--hair); }
.fits-form__label { width: 100%; color: var(--yellow); font: 500 11px/1.3 var(--label); letter-spacing: 0.18em; text-transform: uppercase; }
.fits-form__input { flex: 1 1 220px; min-width: 0; max-width: 360px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--hair); border-radius: 6px; background: rgb(0 0 0 / 0.35); color: var(--white); font: inherit; }
.fits-form__input::placeholder { color: #8b877f; }
.fits-form__input:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgb(255 181 0 / 0.3); }
.fits-form__submit { min-height: 44px; cursor: pointer; font-family: var(--label); }
