/* Shared list entry buttons, 2026-11-27.
   Load AFTER existing revision/supporter/feedback styles in every environment.
   TOP, reciprocal list buttons, the three body button pairs and #menu share
   the feedback-list-entry component. Existing page layout is retained. */
.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,
#menu a.feedback-list-entry,
#menu 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,
#menu a.feedback-list-entry:hover,
#menu 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,
#menu a.feedback-list-entry:after,
#menu a.feedback-list-entry.revision-supporters-link:after {
  border-color: var(--entry-current-ink) !important;
}
#wrap a.feedback-list-entry:focus-visible,
#menu 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,
#menu .btn .list 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,
#menu .btn .list 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;
}

#menu .btn .list a.feedback-list-entry {
  justify-content: center;
}
#menu .btn .list a.feedback-list-entry > .revision-menu-label {
  width: 100%;
  text-align: center !important;
  color: inherit;
}
@media (max-width: 750px) {
  #wrap .toppage .revision-situation-pair a.feedback-list-entry,
  #wrap .m-lbtn a.feedback-list-entry,
  #menu .btn .list 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,
  #menu .btn .list 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;
  }
}
