body {
  margin: 0;
  background: #000;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#links-container {
  position: relative;
  top: 40px;
  z-index: 10;
  margin-left: 8px;
  padding: 8px 8px 16px 0;
  max-width: 920px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.friends-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
  max-width: 760px;
}
.friend-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 3px outset beige;
  background: rgba(245, 245, 220, 0.9);
  color: #111;
  text-decoration: none;
}
.friend-card:hover {
  background: rgba(255, 248, 220, 0.95);
}
.friend-card:visited {
  color: #111;
}
.friend-card img {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
}
.friend-title {
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.friend-desc {
  font-size: 0.8rem;
  line-height: 1.35;
}
@media screen and (max-width: 640px) {
  .friends-grid {
    grid-template-columns: 1fr;
    max-width: 92vw;
  }
}
.bounce-row {
  position: relative;
  overflow: hidden;
  min-height: 88px;
  height: 88px;
}
.bounce-link {
  position: absolute;
  top: 50%;
  display: inline-flex;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
}




.links-section-title {
  margin-top: 0;
  margin-bottom: 0;
}

.links-philosophy {
  height: 31px;
}

.links-bbc {
  height: 25px;
}

.guestbook-link {
  max-width: 150px;
}