/* letture: rifinitura del 18/11/2026. Caricato dopo style.css: le regole qui vincono. */

/* Bacheca */
.feed-end { text-align: center; color: var(--ink-2); font-size: .9rem; margin: .4rem 0 1rem; }
.feed-end[hidden], .comments-none[hidden] { display: none; }
.comments-none { margin: .6rem 0 .9rem; font-size: .92rem; }
.composer:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
.ticker-item:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ticker-toggle { min-width: 44px; min-height: 44px; }

/* Modulo «Pubblica» */
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.field-head > span:first-child { font-size: .86rem; font-weight: 650; }
.field-count { font-size: .78rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--danger); font-weight: 650; }
/* il campo file è nascosto: il fuoco si vede sul pulsante che lo apre */
.new-post-grid > div:focus-within > label.btn { outline: 2px solid var(--forest); outline-offset: 2px; }
.book-option { min-height: 44px; }
.chip { min-height: 36px; }
@media (max-width: 720px) {
  .chip { min-height: 44px; }
  .comment-form input { min-height: 44px; }
}

/* Bacheca */
.feed-end { text-align: center; color: var(--ink-2); font-size: .9rem; margin: .4rem 0 1rem; }
.feed-end[hidden], .comments-none[hidden] { display: none; }
.comments-none { margin: .6rem 0 .9rem; font-size: .92rem; }
.composer:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
.ticker-item:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ticker-toggle { min-width: 44px; min-height: 44px; }

/* Modulo «Pubblica» */
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.field > .field-head { font-size: .86rem; font-weight: 650; }
.field-count { font-size: .78rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--danger); font-weight: 650; }
/* il campo file è nascosto: il fuoco si vede sul pulsante che lo apre */
.new-post-grid > div:focus-within > label.btn { outline: 2px solid var(--forest); outline-offset: 2px; }
.book-option { min-height: 44px; }
@media (max-width: 720px) {
  .chip { min-height: 44px; }
  .comment-form input { min-height: 44px; }
}

/* Schede della bacheca: Tutti / Seguiti */
.feed-tabs { margin: 0 0 4px; }
.feed-tabs button { flex: 1; max-width: 220px; min-height: 44px; }
.feed[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
@media (max-width: 720px) {
  .feed-tabs { padding: 0 16px; }
  .feed-tabs button { max-width: none; }
}

/* Bacheca «Per te»: perché vedi una lettura, e l'avviso dopo «Non mi interessa» */
.post-reason { display: flex; align-items: center; gap: .35rem; margin: 0; padding: .55rem 1rem 0; font-size: .8rem; font-weight: 600; color: var(--forest); }
.post-reason .icon { flex-shrink: 0; }
.feed-hidden-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; }
.feed-hidden-note p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.feed-tabs button { max-width: 200px; }
