@charset "UTF-8";
/* Keep the improved window controls without changing the original layout. */
.controls button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  line-height: 1;
  font: 700 13px/1 var(--sans);
}

.controls button:first-child::before {
  content: "×";
  transform: translateY(-1px);
}

.controls button:nth-child(2)::before {
  content: "−";
  transform: translateY(-2px);
}

.controls button:nth-child(3)::before {
  content: "+";
  transform: translateY(-1px);
}

.controls button:hover {
  filter: brightness(.9);
  transform: scale(1.08);
}

/* Local brand marks for the social links. */
.socials .brand-icon {
  background: #111;
  border-color: #555;
}

.socials .brand-icon.xiaohongshu-icon {
  background: #ff2442;
  border-color: #ff2442;
}

.socials .brand-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.socials a:hover .brand-icon {
  border-color: #111;
}
