.media-matrix-page {
  min-height: 100vh;
  background: var(--xlh-page-bg);
}

.media-matrix-page__body {
  padding: 32rpx 32rpx 48rpx;
}

.media-matrix-hero {
  margin-bottom: 24rpx;
  padding: 30rpx 32rpx;
  border-radius: 20rpx;
  border: 1rpx solid #d7e2f1;
  background: linear-gradient(135deg, #ffffff 0%, #edf5ff 58%, #eef8f2 100%);
}

.media-matrix-hero__title {
  display: block;
  color: #111827;
  font-size: 36rpx;
  font-weight: 800;
  line-height: 1.25;
}

.media-matrix-hero__desc {
  display: block;
  margin-top: 10rpx;
  color: #667085;
  font-size: 24rpx;
  line-height: 1.45;
}

.media-matrix-state {
  margin-bottom: 24rpx;
  padding: 28rpx 30rpx;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  background: #ffffff;
  color: #9ca3af;
  font-size: 24rpx;
  line-height: 1.5;
}

.media-matrix-state.is-error {
  color: #ef4444;
}

.media-matrix-groups {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.media-matrix-group {
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  background: #ffffff;
  padding: 24rpx;
  box-shadow: 0 10rpx 24rpx rgba(18, 62, 124, 0.05);
}

.media-matrix-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
}

.media-matrix-group__title {
  color: #111827;
  font-size: 28rpx;
  font-weight: 800;
}

.media-matrix-group__count {
  flex-shrink: 0;
  padding: 6rpx 14rpx;
  border-radius: 999rpx;
  background: #edf5ff;
  color: #123e7c;
  font-size: 21rpx;
  font-weight: 700;
}

.media-matrix-group__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18rpx;
  margin-top: 22rpx;
}

.media-matrix-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 184rpx;
  padding: 18rpx 8rpx 16rpx;
  border: 1rpx solid #e4e9f0;
  border-radius: 16rpx;
  background: #ffffff;
  transition: transform 120ms ease, background 120ms ease;
}

.media-matrix-account:active {
  transform: scale(0.985);
  background: #f7f9fb;
}

.media-matrix-account__logo-wrap {
  width: 92rpx;
  height: 92rpx;
  overflow: hidden;
  border-radius: 24rpx;
  background: #ffffff;
  border: 1rpx solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6rpx 16rpx rgba(18, 62, 124, 0.06);
}

.media-matrix-account__logo {
  width: 62rpx;
  height: 62rpx;
}

.media-matrix-account__name {
  width: 100%;
  margin-top: 12rpx;
  color: #111827;
  font-size: 23rpx;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-matrix-account__platform {
  margin-top: 6rpx;
  color: #667085;
  font-size: 20rpx;
  line-height: 1.3;
}
