/* TOP and reciprocal list buttons: pale fills sampled from the existing list title backgrounds.
   Keep this file last; inherited supporter rules use !important. */
.feedback-list-entry {
  --entry-fill: #e5f7f4;
  --entry-border: #00ac97;
  --entry-ink: #005b50;
  --entry-hover: #00ac97;
}
.feedback-list-supporters {
  --entry-fill: #f1e8f5;
  --entry-border: #8f48ad;
  --entry-ink: #603076;
  --entry-hover: #8f48ad;
}
#wrap a.feedback-list-entry,
#wrap a.feedback-list-entry.revision-supporters-link {
  background-color: var(--entry-fill) !important;
  border-color: var(--entry-border) !important;
  color: var(--entry-ink) !important;
  --entry-current-ink: var(--entry-ink);
  opacity: 1;
}
#wrap a.feedback-list-entry:hover,
#wrap a.feedback-list-entry.revision-supporters-link:hover {
  background-color: var(--entry-hover) !important;
  border-color: var(--entry-border) !important;
  color: #fff !important;
  --entry-current-ink: #fff;
}
#wrap a.feedback-list-entry:after,
#wrap a.feedback-list-entry.revision-supporters-link:after {
  border-color: var(--entry-current-ink) !important;
}
#wrap a.feedback-list-entry:focus-visible {
  outline: 3px solid var(--entry-ink);
  outline-offset: 4px;
}
/* Use the same original icon silhouettes as masks, with readable dark colours. */
#wrap .toppage .revision-situation-pair a.feedback-list-entry,
#wrap .m-lbtn a.feedback-list-entry {
  background-image: none !important;
  text-align: center;
  padding-left: 55px !important;
  padding-right: 55px !important;
}
#wrap .toppage .revision-situation-pair a.feedback-list-entry:before,
#wrap .m-lbtn a.feedback-list-entry:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 30px;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--entry-current-ink);
  -webkit-mask: url("/img/ico_list.png") center / contain no-repeat;
  mask: url("/img/ico_list.png") center / contain no-repeat;
}
#wrap a.feedback-list-entry .ico,
#wrap a.feedback-list-entry:hover .ico {
  display: inline-block;
  width: 150px;
  background: var(--entry-current-ink) !important;
  -webkit-mask: url("/img/ico_list_l.png") center top / 150px auto no-repeat;
  mask: url("/img/ico_list_l.png") center top / 150px auto no-repeat;
}
#wrap a.feedback-list-entry .ico img,
#wrap a.feedback-list-entry:hover .ico img { opacity: 0 !important; }
#wrap .m-ibtn a.feedback-list-entry.revision-supporters-link:hover .ico {
  background: var(--entry-current-ink) !important;
}
.history-jump ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.history-jump li,
.history-jump li:nth-child(4n) {
  width: auto;
  margin: 0;
  border-right: 1px solid #00ac97;
  border-bottom: 0;
}
.history-jump li:last-child { border-right: 0; }
@media (max-width: 750px) {
  #wrap .toppage .revision-situation-pair a.feedback-list-entry,
  #wrap .m-lbtn a.feedback-list-entry {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  #wrap .toppage .revision-situation-pair a.feedback-list-entry:before,
  #wrap .m-lbtn a.feedback-list-entry:before {
    left: 10px;
    width: 16px;
    height: 24px;
  }
  #wrap a.feedback-list-entry .ico,
  #wrap a.feedback-list-entry:hover .ico {
    width: 20vw;
    -webkit-mask-size: 20vw auto;
    mask-size: 20vw auto;
  }
  .history-jump ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.06vw; }
  .history-jump li,
  .history-jump li:nth-child(4n),
  .history-jump li:last-child { width: auto; margin: 0; border: 1px solid #00ac97; }
}
