@import url('add-channel-compact.css');
@import url('sort-controls.css');

.card-grid > .card {
    width: 400px;
}
.card > .card-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card > .card-top .channel-header {
  width: 100%;
  height: 100px;
  background: #e3e3e3;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.card > .card-top .channel-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card > .card-top .channel-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  position: relative;
  margin-top: -50px;
  background: #eee;
  z-index: 2;
}
.card > .card-top .channel-name {
  margin: 0.5rem 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}
.card > .card-bottom .channel-id {
  font-family: monospace;
  font-size: 0.95em;
  color: #888;
  word-break: break-all;
  text-align: left;
}
.card > .card-bottom .channel-followed-at {
  font-family: monospace;
  font-size: 0.8em;
  color: #888;
  text-align: left;
  margin-bottom: 0.5rem;
}
.card > .card-bottom .channel-unfollow {
  margin-top: auto;
  width: 100%;
}
