/* Scan titles quickly; post bodies and attachments remain on the detail page. */
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 28px 8px 0;
  min-height: 44px;
  border-bottom: 0;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmtxt,
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmimg_box,
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmimg_onebox,
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmimg,
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmico_bk {
  display: none;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmtit {
  display: block;
  min-width: 0;
  height: auto;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmfoot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > * {
  float: none;
  margin: 0;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmck { order: 10; margin-left: auto; }
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmpl { order: 11; }
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmck::before { content: '浏览 '; font: inherit; background: none; float: none; display: inline; width: auto; height: auto; }
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > .kmpl::before { content: '回复 '; font: inherit; background: none; float: none; display: inline; width: auto; height: auto; }
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .showcontent { position: absolute; right: 0; top: 10px; }
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .km_moderate {
  position: absolute;
  right: 0;
  top: 10px;
  margin: 0;
}
@media (min-width: 1000px) {
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    column-gap: 24px;
  }
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmtit { grid-column: 1; }
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmfoot { grid-column: 2; }
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .kmfoot > a:not([class]) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 999px) {
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmfoot { margin-top: 3px; }
  body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .kmtit { font-size: 15px; }
}

/* Reserve an independent selection gutter; never overlay title or counters. */
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist:has(> .km_moderate) {
  padding-left: 40px;
  min-height: 46px;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist > .km_moderate {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  right: auto;
  top: 0;
  width: 32px;
  height: 44px;
  margin: 0;
}
body.discuzx5.pg_forumdisplay #threadlisttableid > .kmlist .ml-mod-select {
  width: 32px;
  min-width: 32px;
  min-height: 44px;
}
