/* UPLINK // sidebar.css — Left sidebar: channels, fingerprint, your profile; avatars. */

.side {
  grid-area: side;
  border-right: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.side-sec {
  padding: 18px 16px 8px;
}
.ch-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.ch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mute);
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  transition:
    color 0.15s,
    background 0.15s;
}
.ch .h {
  color: var(--accent);
}
.ch:hover {
  color: var(--fg);
  background: var(--panel);
}
.ch.on {
  color: var(--fg);
  background: var(--panel);
  border-left-color: var(--accent);
}
.ch .badge {
  margin-left: auto;
  background: var(--accent);
  color: #0b0b0c;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  min-width: 20px;
  text-align: center;
}
.ch.hit {
  animation: navhit 0.4s steps(1);
}
@keyframes navhit {
  0% {
    background: var(--accent);
    color: #0b0b0c;
  }
  25% {
    background: var(--fg);
    color: #0b0b0c;
  }
  50% {
    background: var(--accent);
    color: #0b0b0c;
  }
  75% {
    background: var(--panel);
  }
}
.key-box {
  margin-top: auto;
}
.fp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 10px;
}
.fp span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 6px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  letter-spacing: 0.06em;
}
.fp span:nth-child(odd) {
  color: var(--accent);
}
.hint {
  font-size: 12px;
  color: var(--mute);
  margin: 10px 0 6px;
  line-height: 1.45;
}
.me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.me-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}
.me-txt b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
}
.me-txt span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
}
.avatar {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  color: #0b0b0c;
  background: var(--c, var(--accent));
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

/* feed */
