/* Uporedni prikaz izmjena po članu (Staro vs. Novo) na /promjene i /promjene/<vijest> */
.pm-diff-box {
  margin-top: 14px;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 3px;
  background: rgba(255, 255, 255, .72);
}
.pm-diff-box > summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  font: 600 12px/1.4 Inter, sans-serif;
  color: #171512;
}
.pm-diff-box > summary::-webkit-details-marker { display: none; }
.pm-diff-box > summary .pm-diff-kicker {
  color: #7d6440;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.pm-diff-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  font: 600 10.5px/1.2 Inter, sans-serif;
}
.pm-diff-stat {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, .07);
  color: #2c2926;
}
.pm-diff-stat.is-add { background: rgba(28, 125, 67, .14); color: #165c32; }
.pm-diff-stat.is-del { background: rgba(176, 42, 55, .13); color: #8c1f29; }
.pm-diff-stat.is-chg { background: rgba(125, 100, 64, .16); color: #5e492b; }

.pm-diff-tijelo {
  padding: 0 15px 15px;
  border-top: 1px solid rgba(17, 17, 17, .09);
}
.pm-diff-alati {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 11px 0;
}
.pm-diff-mod {
  display: inline-flex;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 3px;
  overflow: hidden;
}
.pm-diff-mod button {
  appearance: none;
  cursor: pointer;
  border: 0;
  background: #fff;
  color: #2c2926;
  padding: 6px 11px;
  font: 600 10.5px/1.2 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pm-diff-mod button[aria-pressed="true"] {
  background: #171512;
  color: #fff;
}
.pm-diff-filter {
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 3px;
  padding: 6px 10px;
  font: 400 12.5px/1.3 Inter, sans-serif;
  min-width: 190px;
  background: #fff;
}
.pm-diff-clan {
  margin-top: 10px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 3px;
  background: #fff;
  padding: 12px 14px;
}
.pm-diff-clan-vrh {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.pm-diff-clan-vrh strong {
  font: 600 13px/1.3 Inter, sans-serif;
  color: #171512;
}
.pm-diff-clan-vrh a {
  font: 500 11.5px/1.3 Inter, sans-serif;
  color: #7d6440;
  text-decoration: none;
}
.pm-diff-clan-vrh a:hover { text-decoration: underline; }

.pm-diff-unified {
  font: 400 13px/1.75 Inter, sans-serif;
  color: #2c2926;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pm-diff-unified del {
  background: rgba(176, 42, 55, .14);
  color: #7f1b24;
  text-decoration: line-through;
  padding: 1px 2px;
  border-radius: 2px;
}
.pm-diff-unified ins {
  background: rgba(28, 125, 67, .16);
  color: #13542d;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 125, 67, .45);
  padding: 1px 2px;
  border-radius: 2px;
}
.pm-diff-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pm-diff-kol {
  padding: 10px 12px;
  border-radius: 3px;
  font: 400 12.5px/1.7 Inter, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pm-diff-kol.is-old {
  background: rgba(176, 42, 55, .05);
  border: 1px solid rgba(176, 42, 55, .18);
  color: #3a2224;
}
.pm-diff-kol.is-new {
  background: rgba(28, 125, 67, .05);
  border: 1px solid rgba(28, 125, 67, .2);
  color: #1a3324;
}
.pm-diff-kol b {
  display: block;
  margin-bottom: 6px;
  font: 600 10px/1.3 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .78;
}
.pm-diff-nap {
  margin: 12px 0 0;
  font: 400 11.5px/1.6 Inter, sans-serif;
  color: rgba(17, 17, 17, .62);
}

@media (max-width: 720px) {
  .pm-diff-split { grid-template-columns: minmax(0, 1fr); }
}
